Update .gitlab-ci.yml file

This commit is contained in:
Chris Cowley 2024-06-27 09:07:21 +00:00
parent 032e367b53
commit 2f55612d40

View file

@ -24,6 +24,7 @@ stages: # List of stages for jobs, and their order of execution
variables: variables:
KUBE_CONFIG_PATH: "/root/.kube/config" KUBE_CONFIG_PATH: "/root/.kube/config"
AUTHENTIK_URL: "https://auth.lab.cowley.tech"
validate-authentik: # This job runs in the build stage, which runs first. validate-authentik: # This job runs in the build stage, which runs first.
stage: validate stage: validate
@ -34,4 +35,5 @@ validate-authentik: # This job runs in the build stage, which runs first.
- echo "${KUBECONFIG_BASE64}" | base64 -d > ${KUBE_CONFIG_PATH} - echo "${KUBECONFIG_BASE64}" | base64 -d > ${KUBE_CONFIG_PATH}
script: script:
- cd authentik/ - cd authentik/
- tofu init
- tofu validate - tofu validate