Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hub
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
thomasDOTwtf
hub
Commits
9a8053f8
Commit
9a8053f8
authored
5 months ago
by
Roang
Browse files
Options
Downloads
Patches
Plain Diff
Add verbose output to curl commands in CI
parent
13afdf00
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-6
6 additions, 6 deletions
.gitlab-ci.yml
with
6 additions
and
6 deletions
.gitlab-ci.yml
+
6
−
6
View file @
9a8053f8
...
@@ -348,8 +348,8 @@ build_test:
...
@@ -348,8 +348,8 @@ build_test:
before_script
:
before_script
:
-
pip3 install requests
-
pip3 install requests
-
echo "testing on $BASE_URL"
-
echo "testing on $BASE_URL"
-
curl --max-time 8 --retry 3 --fail ${BASE_URL}/.well-known/version
-
curl
-v
--max-time 8 --retry 3 --fail ${BASE_URL}/.well-known/version
-
curl --max-time 3 --retry 3 --fail ${BASE_URL}/.well-known/health
-
curl
-v
--max-time 3 --retry 3 --fail ${BASE_URL}/.well-known/health
test_image_api
:
test_image_api
:
extends
:
.test_image
extends
:
.test_image
...
@@ -358,9 +358,9 @@ test_image_api:
...
@@ -358,9 +358,9 @@ test_image_api:
SERVE_BACKOFFICE
:
"
yes"
SERVE_BACKOFFICE
:
"
yes"
script
:
script
:
# check that the profile can be queried
# check that the profile can be queried
-
curl --max-time 3 --retry 3 --fail ${BASE_URL}/api/me
-
curl
-v
--max-time 3 --retry 3 --fail ${BASE_URL}/api/me
# get a list of all conferences
# get a list of all conferences
-
curl --max-time 3 --retry 3 --fail ${BASE_URL}/api/info
-
curl
-v
--max-time 3 --retry 3 --fail ${BASE_URL}/api/info
# run integration tests
# run integration tests
-
cd tests
-
cd tests
-
python3 -m unittest -v
-
python3 -m unittest -v
...
@@ -374,7 +374,7 @@ test_image_frontend:
...
@@ -374,7 +374,7 @@ test_image_frontend:
SELECTED_CONFERENCE_ID
:
"
017c0749-a2ea-4f86-92cd-e60b4508dd98"
SELECTED_CONFERENCE_ID
:
"
017c0749-a2ea-4f86-92cd-e60b4508dd98"
script
:
script
:
# check that something is being served at all
# check that something is being served at all
-
curl --max-time 3 --retry 3 --fail ${BASE_URL}/en/index
-
curl
-v
--max-time 3 --retry 3 --fail ${BASE_URL}/en/index
# run integration tests
# run integration tests
-
cd tests
-
cd tests
-
python3 -m unittest -v
-
python3 -m unittest -v
...
@@ -394,7 +394,7 @@ test_nginx_static:
...
@@ -394,7 +394,7 @@ test_nginx_static:
alias
:
nginx
alias
:
nginx
script
:
script
:
# ensure the CSS got generated and is being served
# ensure the CSS got generated and is being served
-
curl --max-time 3 --retry 3 --fail ${BASE_URL}/static/plainui/hub.css > /dev/null
-
curl
-v
--max-time 3 --retry 3 --fail ${BASE_URL}/static/plainui/hub.css > /dev/null
.publish-image
:
.publish-image
:
stage
:
publish
stage
:
publish
...
...
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
register
or
sign in
to comment