Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Queue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
Queue
Commits
b3e9197c
Commit
b3e9197c
authored
Mar 18, 2024
by
Ruben Backx
Browse files
Options
Downloads
Plain Diff
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
Branches containing commit
Tags
Tags containing commit
2 merge requests
!774
Deploy
,
!762
Wait for server to be started for e2e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
scripts/e2e.sh
+10
-0
10 additions, 0 deletions
scripts/e2e.sh
with
11 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
b3e9197c
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
scripts/e2e.sh
+
10
−
0
View file @
b3e9197c
#!/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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment