File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,6 +114,16 @@ printf "\n"
114114echo -e " ${ORANGE} Send a PUSH in Manage, which pushes the entities to EngineBlock and OIDCNG ${VINKJE} "
115115docker compose exec managegui curl -q -s -k -u sysadmin:secret $manageurl /push > /dev/null
116116
117+ printf " \n"
118+ echo -e " ${ORANGE} Restarting managegui to reload Shibboleth SP metadata${NOCOLOR} "
119+ docker compose restart managegui
120+ echo -ne " Waiting for managegui to be ready..."
121+ until docker compose exec managegui curl -s -o /dev/null -w ' %{http_code}' http://localhost/ 2> /dev/null | grep -qE ' ^[^5]' ; do
122+ echo -n " ."
123+ sleep 1
124+ done
125+ echo -e " ${VINKJE} "
126+
117127printf " \n"
118128echo -e " ${BLUE} Please add the following line to your /etc/hosts: ${VINKJE} "
119129printf " \n"
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ docker_compose_options=() # Array to hold the options for docker compose
3434docker_compose_options+=(" -f" )
3535docker_compose_options+=(" ${SCRIPT_DIR} /docker-compose.yml" )
3636docker_compose_options+=(" --profile" " oidc" )
37+ docker_compose_options+=(" --profile" " test" )
3738
3839# Show help hint if no arguments are given
3940if [ $# -eq 0 ]; then
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- # Use docker compose to start the environment but with the modified override file(s)
3+ # Use docker compose to stop the environment.
44echo -e " Stopping the dev environment with the following command:\n"
55
6- command=' docker compose --profile oidc --profile extras --profile invite --profile php --profile dashboard --profile sbs -f docker-compose.yml down'
6+ command=" docker compose --profile oidc --profile test --profile extras --profile invite --profile php --profile dashboard --profile sbs -f docker-compose.yml down --remove-orphans $* "
77echo " $command "
88exec $command
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- # Use docker compose to start the environment but with the modified override file(s)
4- echo -e " Starting the dev environment with the following command:\n"
3+ # Use docker compose to stop the environment.
4+ echo -e " Stopping the dev environment with the following command:\n"
55
6- echo -e " docker compose --profile smoketest -f docker-compose.yml down\n"
7- docker compose --profile smoketest -f docker-compose.yml down
6+ echo -e " docker compose --profile smoketest -f docker-compose.yml down --remove-orphans $* \n"
7+ docker compose --profile smoketest -f docker-compose.yml down --remove-orphans $*
You can’t perform that action at this time.
0 commit comments