From 2223f4fe92113d7adc8acf717a1cf4f057c686eb Mon Sep 17 00:00:00 2001 From: Dobromir Palushev <dobromir@peaksandpies.com> Date: Fri, 2 Sep 2022 23:15:07 +0200 Subject: [PATCH] pipeline change --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b14447a..4baaec8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,7 @@ variables: MONGO_VERSION: '4.4' K8S_NAMESPACE: 'todoapp-devops' GOOGLE_CLOUD_SDK_IMAGE_VERSION: '400.0.0' + GCP_PROJECT_ID: ss22-devops-app GCP_COMPUTE_REGION: 'europe-west4a' CONTAINER_TAG: '${CI_REGISTRY_IMAGE}:${CI_PIPELINE_IID}-${CI_COMMIT_SHORT_SHA}' @@ -113,7 +114,7 @@ deploy-image: extends: .gke-initialization stage: deploy needs: - - 'build-image' + - 'release-image' rules: - if: $CI_COMMIT_REF_NAME =~ /staging/ when: 'always' -- GitLab