Commit ae865c2d authored by mohoff's avatar mohoff

chore(deployments): retry deployment once in case of failure

parent 3c787180
Pipeline #23304 passed with stages
in 19 seconds
......@@ -35,6 +35,7 @@ production:
JQ_FIRST_INGRESS: '.ingresses[0] | (.host + .path)'
DEPLOYMENT_NAME: ${CI_PROJECT_PATH_SLUG}
extends: .use-gcloud
retry: 1
script:
- jq "${JQ_TRANSFORMATION}" brickblock.json > terraform.tfvars.json
- export FIRST_INGRESS=$(jq "${JQ_FIRST_INGRESS}" terraform.tfvars.json)
......
......@@ -25,6 +25,7 @@ review:
- tags
- master
interruptible: true
retry: 1
script:
- jq "${JQ_TRANSFORMATION}" brickblock.json > terraform.tfvars.json
- export FIRST_INGRESS=$(jq "${JQ_FIRST_INGRESS}" terraform.tfvars.json)
......@@ -91,6 +92,7 @@ stop_review:
- .use-gcloud
- .skip-artifacts
interruptible: true
retry: 1
# Overwrites .except-ci-release.refs
except:
refs:
......
......@@ -19,6 +19,7 @@ staging:
- .skip-artifacts
only:
- master
retry: 1
script:
- jq "${JQ_TRANSFORMATION}" brickblock.json > terraform.tfvars.json
- export FIRST_INGRESS=$(jq "${JQ_FIRST_INGRESS}" terraform.tfvars.json)
......
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