summaryrefslogtreecommitdiff
path: root/lib/quality
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-04-18 16:05:21 +0200
committerRémy Coutable <remy@rymai.me>2019-04-19 10:50:43 +0200
commitd0efb430ce43953d659b1f62bf58a9ac41804bc3 (patch)
tree28ab2f96f6cf2b7899d644afdff912f37e24f1d5 /lib/quality
parent5572b168e6bf59725f84b28820fcfdc81d3ac7e8 (diff)
downloadgitlab-ce-d0efb430ce43953d659b1f62bf58a9ac41804bc3.tar.gz
Make the Review App cleanup more efficientretry-review-deploy-twice
Ensure that the cleanup starts right away. Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib/quality')
-rw-r--r--lib/quality/kubernetes_client.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/quality/kubernetes_client.rb b/lib/quality/kubernetes_client.rb
index 2ff9e811425..190b48ba7cb 100644
--- a/lib/quality/kubernetes_client.rb
+++ b/lib/quality/kubernetes_client.rb
@@ -18,6 +18,8 @@ module Quality
'delete',
'ingress,svc,pdb,hpa,deploy,statefulset,job,pod,secret,configmap,pvc,secret,clusterrole,clusterrolebinding,role,rolebinding,sa',
'--now',
+ '--ignore-not-found',
+ '--include-uninitialized',
%(-l release="#{release_name}")
]