From 737c6b557d044d81fc8302df3a1f520e14fa02ba Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Tue, 21 Jun 2022 13:07:25 +0200
Subject: [PATCH] getting available contexts

---
 .gitlab-ci.yml        | 3 ---
 .gitlab/ci/deploy.yml | 2 ++
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 99ad1d002..5805d751b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,9 +7,6 @@ variables:
   DOCKER_NODE_IMAGE_NAME: node
   KUBE_NAMESPACE: metager-2
 
-include:
-  - template: Auto-DevOps.gitlab-ci.yml
-
 workflow:
   rules:
     - if: $CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development" &&  ($CI_COMMIT_TAG || $CI_COMMIT_BRANCH)
diff --git a/.gitlab/ci/deploy.yml b/.gitlab/ci/deploy.yml
index 1028c34d0..eca7a063f 100644
--- a/.gitlab/ci/deploy.yml
+++ b/.gitlab/ci/deploy.yml
@@ -9,6 +9,8 @@
     DEPLOYMENT_CHART_NAME: ${CI_COMMIT_REF_SLUG}
     BRANCH_NAME: $CI_COMMIT_REF_NAME
     COMMIT_NAME: $CI_COMMIT_REF_SLUG
+  before_script:
+    - kubectl config get-contexts
   script:
     - .gitlab/deployment_scripts/update_secret.sh
     - .gitlab/deployment_scripts/update_deployment.sh
-- 
GitLab