Files
PSProxmoxVE/tests/.env.test.example
T
Clint Branham d3f05187dd 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.
2026-08-23 09:06:11 -05:00

29 lines
1.3 KiB
Bash

# PSProxmoxVE integration test configuration.
# Copy to .env.test and fill in values. This file is gitignored.
#
# These credentials point to the PARENT PVE host where nested test VMs
# will be provisioned. Integration tests run against the nested VMs,
# not against this host directly.
#
# Provisioned resources:
# - 2x PVE 9 nodes (pve9a, pve9b) for cluster testing
# - 2x PVE 8 nodes (pve8a, pve8b) for cluster testing
# - Shared storage provided by Docker containers on the runner host (iSCSI + NFS)
# ── Required: parent PVE for provisioning ─────────────────────────────
PVE_ENDPOINT=https://pve.example.com:8006
PVE_API_TOKEN=user@realm!tokenid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
PVE_TARGET_NODE=pve1
PVE_PASSWORD=<root-password-for-nested-pve>
# ── Optional overrides ────────────────────────────────────────────────
# CACHE_DIR=/opt/pve-isos
# WORK_DIR=/tmp/pve-integration
# PVE_VERSIONS=9 8
#
# ── VMID overrides ───────────────────────────────────────────────────
# PVE9A_VMID=5091
# PVE9B_VMID=5092
# PVE8A_VMID=5081
# PVE8B_VMID=5082