Created
October 1, 2018 03:54
-
-
Save shin-/9642f6858590dfabf348032a1a3ce602 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version : '1.0' | |
# publish artifact gets pushed automatically if tests pass | |
repository: internal.dtr.net:8080/v2/ | |
stages; | |
build: | |
dockerfile: ./Dockerfile | |
stage: build | |
artifact: namespace/name | |
test: | |
dockerfile: ./Dockerfile | |
stage: unit | |
artifact: namespace/name | |
command: py.test -v tests/unit | |
publish: | |
dockerfile: ./Dockerfile | |
stage: publish | |
artifact: namespace/name | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment