Refactor repo for standalone portable provider workflow

This commit is contained in:
beatz174-bit
2026-04-21 13:10:19 +10:00
parent bf179254b5
commit 3b6d62ba07
9 changed files with 171 additions and 203 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
if [[ "${TF_ACC:-}" != "1" ]]; then
echo "[testacc][error] TF_ACC must be set to 1" >&2
exit 1
fi
if [[ -z "${DYNU_API_KEY:-}" ]]; then
echo "[testacc][error] DYNU_API_KEY must be set" >&2
exit 1
fi
if [[ -z "${DYNU_DOMAIN:-}" ]]; then
echo "[testacc][info] DYNU_DOMAIN is not set; running baseline acceptance scaffolding"
fi
echo "[testacc] Running acceptance tests"
go test ./internal/provider -run TestAcc -count=1