summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergej <kinolaev@gmail.com>2019-02-19 10:36:45 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2019-02-19 10:36:45 +0000
commit106e5051c41a6110428bcded19b149f4214b97f2 (patch)
tree4196bd17848d232114870e468aa72980b72effe3 /lib
parentb166398307a2faf114bbaf5e039601371a6cf1e9 (diff)
downloadgitlab-ce-106e5051c41a6110428bcded19b149f4214b97f2.tar.gz
Fix rollout status for statefulsets and daemonsets
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml b/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
index e369d26f22f..527a432d72d 100644
--- a/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
+++ b/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
@@ -54,6 +54,8 @@ variables:
DOCKER_DRIVER: overlay2
+ ROLLOUT_RESOURCE_TYPE: deployment
+
stages:
- build
- test
@@ -740,7 +742,7 @@ rollout 100%:
chart/
fi
- kubectl rollout status -n "$KUBE_NAMESPACE" -w "deployment/$name"
+ kubectl rollout status -n "$KUBE_NAMESPACE" -w "$ROLLOUT_RESOURCE_TYPE/$name"
}
function scale() {