This commit is contained in:
parent
873d8dcad3
commit
a75699103e
1 changed files with 5 additions and 1 deletions
|
|
@ -26,16 +26,20 @@ jobs:
|
||||||
uses: opentofu/setup-opentofu@v1
|
uses: opentofu/setup-opentofu@v1
|
||||||
|
|
||||||
- name: Tofu Format Check
|
- name: Tofu Format Check
|
||||||
run: tofu fmt -check -recursive
|
working-directory: pve01.wheatley.in/k8s-wheatley
|
||||||
|
run: tofu fmt -check
|
||||||
|
|
||||||
- name: Tofu Init
|
- name: Tofu Init
|
||||||
|
working-directory: pve01.wheatley.in/k8s-wheatley
|
||||||
run: tofu init -backend=false
|
run: tofu init -backend=false
|
||||||
|
|
||||||
- name: Tofu Validate
|
- name: Tofu Validate
|
||||||
|
working-directory: pve01.wheatley.in/k8s-wheatley
|
||||||
run: tofu validate
|
run: tofu validate
|
||||||
|
|
||||||
- name: Tofu Plan
|
- name: Tofu Plan
|
||||||
env:
|
env:
|
||||||
TF_VAR_proxmox_endpoint: ${{ secrets.PROXMOX_ENDPOINT }}
|
TF_VAR_proxmox_endpoint: ${{ secrets.PROXMOX_ENDPOINT }}
|
||||||
TF_VAR_proxmox_api_token: ${{ secrets.PROXMOX_API_TOKEN }}
|
TF_VAR_proxmox_api_token: ${{ secrets.PROXMOX_API_TOKEN }}
|
||||||
|
working-directory: pve01.wheatley.in/k8s-wheatley
|
||||||
run: tofu plan -out=tfplan
|
run: tofu plan -out=tfplan
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue