Commit 4453abd8 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

Merge branch 'beta' into 'master'

namespaced kuctl get pods

See merge request !5
parents 7631a304 d55c0ed5
Pipeline #22474 waiting for manual action with stages
in 17 seconds
......@@ -11,14 +11,13 @@ stages:
.docker-login: &docker-login
before_script:
- echo -n $CI_REGISTRY_PASSWORD | docker login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
# - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
.kube-deploy:
script: &kube-deploy
- sed -i "s^__IMAGE__^${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA}^" ./k8s/deployment.yml
- sed -i "s^__NAMESPACE__^${NAMESPACE}^" ./k8s/deployment.yml ./k8s/service.yml
- kubectl version
- kubectl get pods -n cbio-on-demand
- kubectl get pods -n ${NAMESPACE}
- 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