From e9d52db9f88f1f699e848fd5509a828b80e4447c Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Thu, 15 Sep 2022 12:00:47 +0200
Subject: [PATCH] Add debug ouput to helm install

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c5d62d1e..7abc3397 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -65,8 +65,8 @@ install-helmrelease:
       echo -e "    commitInfo:\n      branch: \"$CI_COMMIT_REF_SLUG\"\n      message: \"$message\"\n      author: \"$CI_COMMIT_AUTHOR\"\n      sha: \"$CI_COMMIT_SHORT_SHA\"" \
         >> values-ci.yaml
     - cat values-ci.yaml
-    - time kubectl delete namespace "nc$CI_MERGE_REQUEST_IID" || true
-    - time helm install --timeout 20m --create-namespace -n nc$CI_MERGE_REQUEST_IID --wait "nc$CI_MERGE_REQUEST_IID" . -f values-ci.yaml
+    - time kubectl delete --wait=true namespace "nc$CI_MERGE_REQUEST_IID" || true
+    - time helm --debug install --timeout 20m --create-namespace -n nc$CI_MERGE_REQUEST_IID --wait "nc$CI_MERGE_REQUEST_IID" . -f values-ci.yaml
   environment:
     name: helmrelease/nc$CI_MERGE_REQUEST_IID
     url: https://files-nc$CI_MERGE_REQUEST_IID.gitlab.stackspin.net
-- 
GitLab