Commit 622a62f4 authored by Mike Shoup's avatar Mike Shoup

Add CI steps for node app

parent 36e74002
......@@ -93,3 +93,17 @@ test_dotnet:
- docker run -d -p 8000:8000 $IMAGE_PATH:dotnet
- sleep 5
- wget -qO- http://docker:8000/hello | grep world
build_node:
stage: build
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
- docker build --pull -t $IMAGE_PATH:node -f node/Dockerfile node/
- docker push $IMAGE_PATH:node
test_node:
stage: test
script:
- docker run -d -p 8000:8000 $IMAGE_PATH:node
- sleep 5
- wget -qO- http://docker:8000/hello | grep world
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment