Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
DevOps
Project Templates
Commits
ba9443dc
Commit
ba9443dc
authored
Apr 16, 2021
by
Georgi Petkov
Browse files
fix: use deploy:upgrade instead of deploy:latest image
parent
1ac80b18
Pipeline
#29797
passed with stages
in 20 seconds
Changes
5
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ba9443dc
...
...
@@ -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"
gitlab-ci/production.yml
View file @
ba9443dc
...
...
@@ -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
...
...
gitlab-ci/review.yml
View file @
ba9443dc
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
...
...
gitlab-ci/shared.yml
View file @
ba9443dc
...
...
@@ -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
...
...
gitlab-ci/staging.yml
View file @
ba9443dc
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment