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
acaec31f
Commit
acaec31f
authored
Sep 18, 2020
by
Nane Kratzke
Browse files
Aktualisieren .gitlab-ci.yml
parent
fe85625b
Changes
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
acaec31f
...
...
@@ -9,9 +9,9 @@ build-to-test:
stage
:
test
script
:
-
docker build -t web:test .
-
docker run -d -p
80
80:80 web:test
-
wget http://docker:80
80
--output-document fetched.html
-
cmp fetched.html web/index.html
-
docker run -d -p 80:80 web:test
-
wget http://docker:80 --output-document fetched.html
-
cmp fetched.html web/index.html
|| echo "Wrong HTML document"
publish
:
stage
:
build
...
...
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