diff options
author | Sergej <kinolaev@gmail.com> | 2019-02-19 10:36:45 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-02-19 10:36:45 +0000 |
commit | 106e5051c41a6110428bcded19b149f4214b97f2 (patch) | |
tree | 4196bd17848d232114870e468aa72980b72effe3 /lib | |
parent | b166398307a2faf114bbaf5e039601371a6cf1e9 (diff) | |
download | gitlab-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.yml | 4 |
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() { |