Squashed 'spiffworkflow-backend/' changes from 4d7e5e531..32e0c6c1a

32e0c6c1a use script dir so you can run this script from anywhere

git-subtree-dir: spiffworkflow-backend
git-subtree-split: 32e0c6c1a18e8d188bd4d6023354640ca008721a
This commit is contained in:
burnettk 2022-10-28 13:42:21 -04:00
parent c24cc56fb0
commit e958ec3e79
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ docker run \
-Dkeycloak.profile.feature.token_exchange=enabled \
-Dkeycloak.profile.feature.admin_fine_grained_authz=enabled
cp bin/spiffworkflow-realm.json /tmp/spiffworkflow-realm.json
script_dir="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cp "${script_dir}/spiffworkflow-realm.json" /tmp/spiffworkflow-realm.json
spiff_subdomain="unused-for-local-dev"
perl -pi -e "s/{{SPIFF_SUBDOMAIN}}/${spiff_subdomain}/g" /tmp/spiffworkflow-realm.json
docker cp /tmp/spiffworkflow-realm.json keycloak:/tmp