Update .gitlab-ci.yml file
This commit is contained in:
parent
d0de69a1c8
commit
d652d656ba
1 changed files with 5 additions and 3 deletions
|
@ -23,12 +23,14 @@ stages: # List of stages for jobs, and their order of execution
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
variables:
|
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.
|
validate-authentik: # This job runs in the build stage, which runs first.
|
||||||
stage: validate
|
stage: validate
|
||||||
before_script:
|
before_script:
|
||||||
-
|
- 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
|
||||||
- cd authentik/
|
- apk add --allow-untrusted '/tmp/tofu_1.7.2_amd64.apk'
|
||||||
|
- echo "${KUBECONFIG_BASE64}" | base64 -d > ${KUBE_CONFIG_PATH}
|
||||||
script:
|
script:
|
||||||
|
- cd authentik/
|
||||||
- tofu validate
|
- tofu validate
|
Loading…
Add table
Reference in a new issue