try testing

This commit is contained in:
ducoterra
2020-04-24 19:39:30 -04:00
parent 7136453073
commit 6631529a06
15 changed files with 186 additions and 5 deletions

View File

@@ -6,9 +6,10 @@ variables:
stages:
- build
- test
- deploy
push:
build:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
@@ -16,7 +17,15 @@ push:
script:
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
launch:
test:
stage: test
image:
name: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
entrypoint: [""]
script:
- python manage.py test
deploy:
stage: deploy
image:
name: debian:latest