# ci/.env — Default environment variables for the local CI pipeline
#
# Override any of these via shell environment or .env.local (not committed)
#
# Multi-version: set PG_VERSION to test against a specific PG major.
# The Containerfile uses this as --build-arg PG_MAJOR.
# Supported versions: see .github/copilot-instructions.md § 0.5

# Container runtime: auto-detected if empty (podman preferred over docker)
CONTAINER_RT=

# PostgreSQL version (override to test against PG 17, 18, etc.)
# Example: PG_VERSION=17 make ci-regress
PG_VERSION=18

# All PG versions to test in multi-version runs (space-separated)
PG_SUPPORTED_VERSIONS="17 18 19"

# Container image names
PG_TEST_IMAGE=pg-tde-test
VAULT_MOCK_IMAGE=vault-mock

# Vault mock configuration
VAULT_MOCK_PORT=8200
VAULT_MOCK_TOKEN=test-token
VAULT_MOCK_MOUNT=transit
VAULT_MOCK_KEY_NAME=pg-tde-dek

# PostgreSQL test ports (host-side, avoid conflicts with local PG)
PG_TEST_PORT=15432
PG_CHECKSUMS_PORT=15433
PG_VAULT_PORT=15434
PG_BENCH_PORT=15435

# Benchmark parameters
BENCH_ROWS=100000
BENCH_WARMUP=10000
BENCH_ITERATIONS=3

# Test timeouts (seconds)
PG_STARTUP_TIMEOUT=30
VAULT_STARTUP_TIMEOUT=10
