Update .gitlab-ci.yml

This commit is contained in:
2022-11-06 10:30:30 +00:00
parent 0f40239ce4
commit 5b2f75f017

View File

@@ -13,7 +13,7 @@ include:
format: format:
stage: lint stage: lint
#image: docker.durp.info/hashicorp/terraform:light image: docker.durp.info/hashicorp/terraform:light
variables: variables:
WORKDIR: $CI_PROJECT_DIR/terraform WORKDIR: $CI_PROJECT_DIR/terraform
allow_failure: false allow_failure: false
@@ -29,7 +29,7 @@ format:
validate: validate:
stage: lint stage: lint
#image: docker.durp.info/hashicorp/terraform:light image: docker.durp.info/hashicorp/terraform:light
variables: variables:
WORKDIR: $CI_PROJECT_DIR/terraform WORKDIR: $CI_PROJECT_DIR/terraform
allow_failure: false allow_failure: false
@@ -45,7 +45,7 @@ validate:
plan: plan:
stage: lint stage: lint
#image: docker.durp.info/hashicorp/terraform:light image: docker.durp.info/hashicorp/terraform:light
variables: variables:
WORKDIR: $CI_PROJECT_DIR/terraform WORKDIR: $CI_PROJECT_DIR/terraform
ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url -var-file=terraform.tfvars ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url -var-file=terraform.tfvars
@@ -63,7 +63,7 @@ plan:
k3s: k3s:
stage: terraform stage: terraform
#image: docker.durp.info/hashicorp/terraform:light image: docker.durp.info/hashicorp/terraform:light
variables: variables:
WORKDIR: $CI_PROJECT_DIR/terraform WORKDIR: $CI_PROJECT_DIR/terraform
ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url -var-file=terraform.tfvars ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url -var-file=terraform.tfvars
@@ -114,7 +114,7 @@ k3s-ansible:
k3s-dns: k3s-dns:
stage: ansible stage: ansible
#image: docker.durp.info/hashicorp/terraform:light image: docker.durp.info/hashicorp/terraform:light
variables: variables:
WORKDIR: $CI_PROJECT_DIR/ansible WORKDIR: $CI_PROJECT_DIR/ansible
FILE: dns.yml FILE: dns.yml
@@ -148,7 +148,7 @@ k3s-update:
k3s-destroy: k3s-destroy:
stage: destroy stage: destroy
#image: docker.durp.info/hashicorp/terraform:light image: docker.durp.info/hashicorp/terraform:light
variables: variables:
WORKDIR: $CI_PROJECT_DIR/terraform WORKDIR: $CI_PROJECT_DIR/terraform
ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url -var-file=terraform.tfvars ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url -var-file=terraform.tfvars