From 06c49d551dcd0d6fc0e48561572f7e6a694612e1 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Mon, 8 Jun 2020 15:18:29 -0400 Subject: [PATCH] add postgres service to test --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ede3da2..dd9e254 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: [""]