fix(ci): provision integration fixtures
This commit is contained in:
@@ -142,10 +142,12 @@ try {
|
||||
|
||||
$piAuth = Join-Path $fixtureRoot "Pi Auth/pi-auth.json"
|
||||
$secrets = Join-Path $fixtureRoot "Secrets/thothii.secrets"
|
||||
$authConfigRoot = Join-Path $fixtureRoot "Auth Config"
|
||||
$secretValue = "windows-contract-$runId"
|
||||
$script:SensitiveValues.Add($secretValue)
|
||||
Write-Utf8File $piAuth "{}`n"
|
||||
Write-Utf8File $secrets "THT_MODEL_API_KEY=$secretValue`n"
|
||||
[System.IO.Directory]::CreateDirectory($authConfigRoot) | Out-Null
|
||||
|
||||
$remote = Join-Path $fixtureRoot "Workspace Remote/remote.git"
|
||||
$seed = Join-Path $fixtureRoot "Workspace Seed"
|
||||
@@ -190,6 +192,7 @@ THOTH_HTTP_PORT=0
|
||||
THOTH_CORE_HTTP_PORT=0
|
||||
PI_AUTH_FILE=$piAuth
|
||||
THT_SECRETS_FILE=$secrets
|
||||
THT_AUTH_CONFIG_ROOT=$authConfigRoot
|
||||
THT_WORKSPACE_GIT_REMOTE=/fixtures/remote.git
|
||||
THT_WORKSPACE_GIT_BRANCH=main
|
||||
THT_WORKSPACE_INSTALLATION_ID=task13-windows
|
||||
|
||||
Reference in New Issue
Block a user