From 2ca7f04e75c3752684efb06e0797a1aecb9e4410 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Fri, 10 Jun 2022 13:12:45 +0200
Subject: [PATCH] Use custom image for Helm tests

---
 .gitlab-ci.yml | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b096482c6..a1aefe7f9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -142,20 +142,13 @@ test-helm:
   needs:
     - lint-helm
     # - deploy-theodolite
+  image: ghcr.io/cau-se/theodolite-build-k3d-helm:20.10.12
   variables:
-    KUBECTL: v1.21.3
     CLUSTERNAME: "$CI_PROJECT_NAME-$CI_PIPELINE_ID"
   cache:
     paths:
       - helm/charts
   before_script:
-    - apk add -U wget bash openssl
-    # install kubectl
-    - wget -q -O /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL}/bin/linux/amd64/kubectl
-    - chmod +x /usr/local/bin/kubectl
-    # install k3d
-    - wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash
-    - wget -q -O - https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
     - k3d help
     - k3d version
     #- k3d cluster create testgitlabci --agents 1 --wait -p "30000:30000@agent[0]"
-- 
GitLab