Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
europdx
k8s
cbio-on-demand
API
Commits
9a0d8fbe
Commit
9a0d8fbe
authored
Jul 29, 2019
by
Ľuboslav Pivarč
Browse files
Update .gitlab-ci.yml
parent
f9fc391c
Pipeline
#21113
failed with stages
in 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9a0d8fbe
...
...
@@ -29,8 +29,8 @@ API Kube deploy:
variables
:
NAMESPACE
:
cbio-on-demand
script
:
-
sed -i "s
/
__IMAGE__
/
${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}
/
" ./k8s/deployment.yml
-
sed -i "s
/
__NAMESPACE__
/
${NAMESPACE}
/
" ./k8s/deployment.yml ./k8s/identifier.yml ./k8s/service.yml
-
sed -i "s
^
__IMAGE__
^
${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}
^
" ./k8s/deployment.yml
-
sed -i "s
^
__NAMESPACE__
^
${NAMESPACE}
^
" ./k8s/deployment.yml ./k8s/identifier.yml ./k8s/service.yml
-
kubectl get pods -n cbio-on-demand
-
kubectl apply -f ./k8s
-
kubectl rollout status -f ./k8s/deployment.yml
...
...
Write
Preview
Supports
Markdown
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