test: align release gates with installation config
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user