mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-08-25 20:06:56 +00:00
ci: nested PVE guests land in the ci pool with VMIDs 5081-5092
The runner token is pool-scoped (PVEVMAdmin on /pool/ci only), so VM.Allocate succeeds only with pool_id set; VMIDs move into the 5000-5999 CI range.
This commit is contained in:
@@ -137,6 +137,7 @@ jobs:
|
||||
TF_VAR_disk_storage: ${{ vars.DISK_STORAGE }}
|
||||
TF_VAR_iso_storage: ${{ vars.ISO_STORAGE }}
|
||||
TF_VAR_network_bridge: ${{ vars.NETWORK_BRIDGE }}
|
||||
TF_VAR_pool_id: ${{ vars.POOL_ID }}
|
||||
run: bash ${SCRIPTS_DIR}/run-integration.sh provision
|
||||
|
||||
# ── Integration tests (self-hosted, per PVE version) ────────────────
|
||||
@@ -215,6 +216,7 @@ jobs:
|
||||
TF_VAR_disk_storage: ${{ vars.DISK_STORAGE }}
|
||||
TF_VAR_iso_storage: ${{ vars.ISO_STORAGE }}
|
||||
TF_VAR_network_bridge: ${{ vars.NETWORK_BRIDGE }}
|
||||
TF_VAR_pool_id: ${{ vars.POOL_ID }}
|
||||
# Always use force-cleanup in CI — handles corrupted state from
|
||||
# cancelled runs, timeouts, or partial provisioning failures.
|
||||
run: bash ${SCRIPTS_DIR}/run-integration.sh force-cleanup
|
||||
|
||||
Reference in New Issue
Block a user