Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
fresh
Commits
eede4396b71c
Commit
cda2af68
authored
May 19, 2022
by
Simon Chabot
Browse files
ci: restore deploy and use an intra runner
parent
38517e771720
Pipeline
#130170
failed with stages
in 6 minutes and 14 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
eede4396
...
...
@@ -20,3 +20,19 @@ stages:
-
tests
-
release
-
publish
-
deploy
deploy
:
image
:
name
:
registry.logilab.fr/logilab/infra/dockerfiles/kubectl
tags
:
-
intra
stage
:
deploy
rules
:
-
if
:
'
$CI_COMMIT_REF_NAME
==
"branch/default"'
script
:
-
kubectl version
-
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
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