feat(infra): add debug

This commit is contained in:
2026-08-07 17:28:12 +02:00
parent 42f5647a9e
commit d75897960f
+5 -5
View File
@@ -29,8 +29,8 @@ jobs:
env:
# Proxmox Auth (Endpoint from inputs)
PROXMOX_VE_ENDPOINT: ${{ inputs.proxmox_endpoint }}
PROXMOX_VE_INSECURE: "true"
PROXMOX_VE_INSECURE: "true"
# Gitea Remote State Backend (Dynamic per-repository package/workspace)
TF_HTTP_ADDRESS: "https://git.itlab-ffeks.dnu.edu.ua/api/packages/${{ gitea.repository_owner }}/terraform/state/${{ gitea.event.repository.name }}-${{ gitea.ref_name }}"
TF_HTTP_LOCK_ADDRESS: "https://git.itlab-ffeks.dnu.edu.ua/api/packages/${{ gitea.repository_owner }}/terraform/state/${{ gitea.event.repository.name }}-${{ gitea.ref_name }}/lock"
@@ -125,7 +125,7 @@ jobs:
- name: Configure Git for private modules
run: git config --global url."https://oauth2:$INFRASTRUCTURE_TOKEN@git.itlab-ffeks.dnu.edu.ua".insteadOf "https://git.itlab-ffeks.dnu.edu.ua"
- name: Setup OpenTofu
uses: opentofu/setup-opentofu@v1
@@ -137,7 +137,7 @@ jobs:
# For debugging.
- name: OpenTofu Plan
run: tofu plan
run: TF_LOG=DEBUG SOCKETIO_LOG_LEVEL=DEBUG tofu plan
- name: OpenTofu Apply
run: tofu apply -auto-approve
run: tofu apply -auto-approve