Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hübner, Jan-Ole
lab-containerization
Commits
14079d3d
Commit
14079d3d
authored
Sep 18, 2020
by
Nane Kratzke
Browse files
Aktualisieren .gitlab-ci.yml
parent
acaec31f
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
14079d3d
...
...
@@ -9,8 +9,9 @@ build-to-test:
stage
:
test
script
:
-
docker build -t web:test .
-
docker run -d -p 80:80 web:test
-
wget http://docker:80 --output-document fetched.html
-
docker run -d -p 8888:80 web:test
-
sleep
5
-
wget http://docker:8888 --output-document fetched.html
-
cmp fetched.html web/index.html || echo "Wrong HTML document"
publish
:
...
...
Write
Preview
Markdown
is supported
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