Commit 8c222d1f authored by Mike Shoup's avatar Mike Shoup

Add gitlab CI

parent c3b5fe61
......@@ -65,3 +65,17 @@ test_pyflask_uwsgi:
- docker run -d -p 8000:8000 $IMAGE_PATH:pyflask-uwsgi
- sleep 5
- wget -qO- http://docker:8000/hello | grep world
build_golang:
stage: build
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
- docker build --pull -t $IMAGE_PATH:golang -f golang/Dockerfile.uwsgi golang/
- docker push $IMAGE_PATH:golang
test_golang:
stage: test
script:
- docker run -d -p 8000:8000 $IMAGE_PATH:golang
- 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