Commit ba9443dc authored by Georgi Petkov's avatar Georgi Petkov
Browse files

fix: use deploy:upgrade instead of deploy:latest image

parent 1ac80b18
Pipeline #29797 passed with stages
in 20 seconds
......@@ -5,6 +5,6 @@ stages:
- test
include:
- "https://git.brickblock.sh/devops/project-templates/raw/feat/gitlab-runner-new/gitlab-ci/shared.yml"
- "https://git.brickblock.sh/devops/project-templates/raw/feat/gitlab-runner-new/gitlab-ci/setup.yml"
- "https://git.brickblock.sh/devops/project-templates/raw/feat/gitlab-runner-new/gitlab-ci/lint.yml"
- "https://git.brickblock.sh/devops/project-templates/raw/upgrade/gitlab-ci/shared.yml"
- "https://git.brickblock.sh/devops/project-templates/raw/upgrade/gitlab-ci/setup.yml"
- "https://git.brickblock.sh/devops/project-templates/raw/upgrade/gitlab-ci/lint.yml"
......@@ -24,7 +24,7 @@ tag:
production:
stage: deploy
image: registry.brickblock.sh/devops/deploy:latest
image: registry.brickblock.sh/devops/deploy:upgrade
variables:
NODE_ENV: production
GOOGLE_PROJECT: bbk-production
......
review:
stage: review
image: registry.brickblock.sh/devops/deploy:latest
image: registry.brickblock.sh/devops/deploy:upgrade
variables:
NODE_ENV: review
GOOGLE_PROJECT: bbk-review
......@@ -77,7 +77,7 @@ review:
stop_review:
stage: review
image: registry.brickblock.sh/devops/deploy:latest
image: registry.brickblock.sh/devops/deploy:upgrade
variables:
GIT_STRATEGY: fetch
NODE_ENV: review
......@@ -151,7 +151,7 @@ stop_review:
master_deploy_to_review:
stage: deploy
image: registry.brickblock.sh/devops/deploy:latest
image: registry.brickblock.sh/devops/deploy:upgrade
variables:
NODE_ENV: review
GOOGLE_PROJECT: bbk-review
......
......@@ -70,7 +70,7 @@ variables:
.restart-deployment:
stage: post-deploy
image: registry.brickblock.sh/devops/deploy:latest
image: registry.brickblock.sh/devops/deploy:upgrade
allow_failure: true
when: delayed
start_in: 2 minutes
......
staging:
stage: deploy
image: registry.brickblock.sh/devops/deploy:latest
image: registry.brickblock.sh/devops/deploy:upgrade
variables:
NODE_ENV: staging
GOOGLE_PROJECT: bbk-staging
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment