Skip to content

Instantly share code, notes, and snippets.

@shin-
Created October 1, 2018 03:54
Show Gist options
  • Save shin-/9642f6858590dfabf348032a1a3ce602 to your computer and use it in GitHub Desktop.
Save shin-/9642f6858590dfabf348032a1a3ce602 to your computer and use it in GitHub Desktop.
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