test: align release gates with installation config

This commit is contained in:
Codex
2026-08-31 15:59:39 +02:00
parent b4b97436e1
commit e82fe8d322
7 changed files with 28 additions and 15 deletions
+2
View File
@@ -5,6 +5,7 @@ cd "$(dirname "$0")/.."
tmp=$(mktemp -d)
trap 'rm -rf "$tmp"' EXIT HUP INT TERM
printf 'schema_version: 1\n' >"$tmp/thothii-installation.yaml"
render_profile() {
local profile=$1
@@ -164,6 +165,7 @@ assert_remote_required() {
THT_WORKSPACE_GIT_REMOTE=https://git.example.invalid/platform/thoth-workspaces.git \
PI_AUTH_FILE=/dev/null \
THT_SECRETS_FILE=/dev/null \
THT_INSTALLATION_CONFIG_SOURCE="$tmp/thothii-installation.yaml" \
THT_AUTH_CONFIG_ROOT=/tmp/thothii-auth \
docker compose -f compose.yaml config --format json >"$tmp/base.json"
node - "$tmp/base.json" <<'NODE'