Commit 9a0d8fbe authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

Update .gitlab-ci.yml

parent f9fc391c
Pipeline #21113 failed with stages
in 28 seconds
......@@ -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
......
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