Update .gitlab-ci.yml
This commit is contained in:
@@ -13,7 +13,7 @@ include:
|
||||
|
||||
format:
|
||||
stage: lint
|
||||
#image: docker.durp.info/hashicorp/terraform:light
|
||||
image: docker.durp.info/hashicorp/terraform:light
|
||||
variables:
|
||||
WORKDIR: $CI_PROJECT_DIR/terraform
|
||||
allow_failure: false
|
||||
@@ -29,7 +29,7 @@ format:
|
||||
|
||||
validate:
|
||||
stage: lint
|
||||
#image: docker.durp.info/hashicorp/terraform:light
|
||||
image: docker.durp.info/hashicorp/terraform:light
|
||||
variables:
|
||||
WORKDIR: $CI_PROJECT_DIR/terraform
|
||||
allow_failure: false
|
||||
@@ -45,7 +45,7 @@ validate:
|
||||
|
||||
plan:
|
||||
stage: lint
|
||||
#image: docker.durp.info/hashicorp/terraform:light
|
||||
image: docker.durp.info/hashicorp/terraform:light
|
||||
variables:
|
||||
WORKDIR: $CI_PROJECT_DIR/terraform
|
||||
ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url -var-file=terraform.tfvars
|
||||
@@ -63,7 +63,7 @@ plan:
|
||||
|
||||
k3s:
|
||||
stage: terraform
|
||||
#image: docker.durp.info/hashicorp/terraform:light
|
||||
image: docker.durp.info/hashicorp/terraform:light
|
||||
variables:
|
||||
WORKDIR: $CI_PROJECT_DIR/terraform
|
||||
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:
|
||||
stage: ansible
|
||||
#image: docker.durp.info/hashicorp/terraform:light
|
||||
image: docker.durp.info/hashicorp/terraform:light
|
||||
variables:
|
||||
WORKDIR: $CI_PROJECT_DIR/ansible
|
||||
FILE: dns.yml
|
||||
@@ -148,7 +148,7 @@ k3s-update:
|
||||
|
||||
k3s-destroy:
|
||||
stage: destroy
|
||||
#image: docker.durp.info/hashicorp/terraform:light
|
||||
image: docker.durp.info/hashicorp/terraform:light
|
||||
variables:
|
||||
WORKDIR: $CI_PROJECT_DIR/terraform
|
||||
ARGUMENTS: -var=pm_password=$pm_password -var=pm_api_url=$pm_api_url -var-file=terraform.tfvars
|
||||
|
||||
Reference in New Issue
Block a user