add postgres service to test

This commit is contained in:
ducoterra
2020-06-08 15:18:29 -04:00
parent 8c9389ba1f
commit 06c49d551d

View File

@@ -17,7 +17,6 @@ build:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo $DEPLOY
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
test:
@@ -25,6 +24,9 @@ test:
only:
variables:
- $CI_COMMIT_TAG
services:
- name: postgres:12
alias: postgres
image:
name: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
entrypoint: [""]