Skip to content

Commit da6f2b3

Browse files
committed
indentation
1 parent 7a02ccf commit da6f2b3

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

core/scripts/init.sh

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ printf "\n"
1616
# Check that engine and mariadb are already running; containers must be started via ./start-dev-env.sh first
1717
engine_running=$(docker compose ps -q --status running engine mariadb | wc -l)
1818
if [[ "$engine_running" -lt 2 ]]; then
19-
if [[ "${GITHUB_ACTIONS}" == "true" ]]; then
20-
docker compose up -d engine mariadb
21-
echo -e "${ORANGE}Bringing up the EB production container for migrations${NOCOLOR}"
22-
else
23-
echo -e "${RED}ERROR: engine and/or mariadb are not running.${NOCOLOR}"
24-
echo -e "${ORANGE}Please start the environment first by running:${NOCOLOR}"
25-
echo -e " ${GREEN}./start-dev-env.sh${NOCOLOR}"
26-
echo -e "Then re-run this script once the containers are up."
27-
exit 1
28-
fi
19+
if [[ "${GITHUB_ACTIONS}" == "true" ]]; then
20+
docker compose up -d engine mariadb
21+
echo -e "${ORANGE}Bringing up the EB production container for migrations${NOCOLOR}"
22+
else
23+
echo -e "${RED}ERROR: engine and/or mariadb are not running.${NOCOLOR}"
24+
echo -e "${ORANGE}Please start the environment first by running:${NOCOLOR}"
25+
echo -e " ${GREEN}./start-dev-env.sh${NOCOLOR}"
26+
echo -e "Then re-run this script once the containers are up."
27+
exit 1
28+
fi
2929
fi
3030
echo -e "${ORANGE}Using the currently running engine container for migrations${NOCOLOR}"
3131
docker compose exec engine timeout 300 bash -c 'while [[ "$(curl -k -s -o /dev/null -w ''%{http_code}'' localhost/internal/info)" != "200" ]]; do sleep 5; done' || false
@@ -78,11 +78,11 @@ done
7878
echo -e " ${VINKJE}"
7979

8080
if [[ "${GITHUB_ACTIONS}" == "true" ]]; then
81-
echo
82-
echo -e "${ORANGE}Bring up the core containers${NOCOLOR} ${VINKJE}"
83-
echo
84-
docker compose --profile oidc up -d --wait
85-
echo
81+
echo
82+
echo -e "${ORANGE}Bring up the core containers${NOCOLOR} ${VINKJE}"
83+
echo
84+
docker compose --profile oidc up -d --wait
85+
echo
8686
fi
8787

8888
echo -e "${ORANGE}Adding the manage entities${NOCOLOR} ${VINKJE}"

0 commit comments

Comments
 (0)