Skip to content
Snippets Groups Projects
Commit b3e9197c authored by Ruben Backx's avatar Ruben Backx :coffee:
Browse files

Merge branch 'fix-e2e-testing' into 'development'

Wait for server to be started for e2e

Closes #696

See merge request !762
parents f0c23d62 60c5bff9
Branches
Tags
2 merge requests!774Deploy,!762Wait for server to be started for e2e
......@@ -477,7 +477,7 @@ e2e-testing:
- deploy_staging
stage: live checks
before_script:
- chmod +x ./scripts/e2e.sh
- apt-get install python
script:
- ./scripts/e2e.sh
rules:
......
#!/bin/bash
export URL=queue.ewi.tudelft.nl
printf "%s" "waiting for ${URL}"
while ! ping -c 1 -n -w 1 ${URL} &> /dev/null
do
printf "%c" "."
done
printf "\n%s\n" "Server is back online"
if ./gradlew e2eTest -x sassCompile --build-cache; then
exit 0
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment