From d652d656ba4dce66ad921a0c976326b2901c6a3a Mon Sep 17 00:00:00 2001 From: Chris Cowley Date: Thu, 27 Jun 2024 09:02:29 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80fa769..1c951c2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,12 +23,14 @@ stages: # List of stages for jobs, and their order of execution - deploy variables: - - KUBE_CONFIG_PATH: "${HOME}/.kube/config" + KUBE_CONFIG_PATH: "${HOME}/.kube/config" validate-authentik: # This job runs in the build stage, which runs first. stage: validate before_script: - - - - cd authentik/ + - wget https://github.com/opentofu/opentofu/releases/download/v1.7.2/tofu_1.7.2_amd64.apk -O /tmp/tofu_1.7.2_amd64.apk + - apk add --allow-untrusted '/tmp/tofu_1.7.2_amd64.apk' + - echo "${KUBECONFIG_BASE64}" | base64 -d > ${KUBE_CONFIG_PATH} script: + - cd authentik/ - tofu validate \ No newline at end of file