Commit be436908 authored by Simon Chabot's avatar Simon Chabot
Browse files

ci: deploy latest image

parent 9e24fe013351
......@@ -73,7 +73,7 @@ deploy_review:
# - if: '$CI_COMMIT_REF_NAME == "branch/default"'
script:
- kubectl version
- sed "s@r.intra.logilab.fr/intranet/fresh@$CI_REGISTRY_IMAGE@" deploy/deployment.yaml | kubectl -n intranet apply -f -
- sed "s@r.intra.logilab.fr/intranet/fresh@$CI_REGISTRY_IMAGE:latest@" deploy/deployment.yaml | kubectl -n intranet apply -f -
- kubectl -n intranet rollout restart deployment/fresh deployment/fresh-scheduler
- kubectl -n intranet rollout status --timeout=180s deployment/fresh
- kubectl -n intranet rollout status --timeout=180s deployment/fresh-scheduler
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