Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
saibotk.de
saiblog
Commits
84187546
Commit
84187546
authored
Aug 06, 2020
by
Saibotk
💬
Browse files
Update .gitlab-ci.yml
parent
e0146485
Pipeline
#97
failed with stages
in 9 minutes and 40 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
84187546
...
...
@@ -71,10 +71,10 @@ test:
before_script
:
-
dnf install curl
script
:
-
podman run -d -p 80:80 --name testing $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
-
podman run -d -p
80
80:80 --name testing $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
-
sleep
5
-
podman exec testing nginx -c /etc/nginx/nginx.conf -t
-
curl http://localhost/status.txt | grep -q 'OK'
-
curl http://localhost
:8080
/status.txt | grep -q 'OK'
-
podman stop testing
-
podman rm testing
except
:
...
...
@@ -88,10 +88,10 @@ test-deploy:
before_script
:
-
dnf install curl
script
:
-
podman run -d -p 80:80 --name testing $CI_REGISTRY_IMAGE:latest
-
podman run -d -p
80
80:80 --name testing $CI_REGISTRY_IMAGE:latest
-
sleep
5
-
podman exec testing nginx -c /etc/nginx/nginx.conf -t
-
curl http://localhost/status.txt | grep -q 'OK'
-
curl http://localhost
:8080
/status.txt | grep -q 'OK'
-
podman stop testing
-
podman rm testing
only
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment