Files
PSProxmoxVE/tests/.env.test.example
T
Clint Branham fc092ea5b3 feat: add dev container for local build, test, and provisioning
- Dockerfile.test: multi-stage build with dev (ARM+x86) and dev-infra
  (x86 only, adds Terraform + PVE provisioning tools) targets
- docker-compose.test.yml: services for both targets, .env.test support
- dev.sh: helper script wrapping container lifecycle and run-integration.sh
- .env.test.example: template for integration test configuration
- .gitignore: exclude .env.test, whitelist .env.*.example

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 09:21:52 -05:00

22 lines
939 B
Bash

# PSProxmoxVE integration test configuration.
# Copy to .env.test and fill in values. This file is gitignored.
# ── For testing against a pre-existing PVE (./tests/dev.sh integration) ──
PVETEST_HOST=pve.example.com
PVETEST_PORT=8006
PVETEST_APITOKEN=user@realm!tokenid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
PVETEST_NODE=pve1
PVETEST_STORAGE=local
PVETEST_PASSWORD=<your-test-password>
# ── For full provisioning (./tests/dev.sh provision, x86 only) ───────────
# 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