Commit 3b915b3a authored by mohoff's avatar mohoff

fix: delay restart-deployment job to avoid race-condition

parent ae865c2d
Pipeline #23330 passed with stages
in 19 seconds
......@@ -64,6 +64,8 @@ variables:
stage: post-deploy
image: registry.brickblock.sh/devops/deploy
allow_failure: true
when: delayed
start_in: 2 minutes
# ${DEPLOYMENT} and ${NAME} must be set in the extending job
script: kubectl rollout restart deployment ${DEPLOYMENT} -n ${NAMESPACE}
......
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