include gateway smoke test in release
This commit is contained in:
1 parent
a332add96f
commit
4c8b42da03
1 file changed
+1
-1
@@ -30,7 +30,7 @@ New-Item -ItemType Directory -Force -Path $artifactRoot | Out-Null
|
|||||||
$staging = Join-Path $artifactRoot ('moyi-test-' + $releaseId)
|
$staging = Join-Path $artifactRoot ('moyi-test-' + $releaseId)
|
||||||
New-Item -ItemType Directory -Path $staging | Out-Null
|
New-Item -ItemType Directory -Path $staging | Out-Null
|
||||||
# Copy tracked deployment files only, never .env, certificates or .git.
|
# Copy tracked deployment files only, never .env, certificates or .git.
|
||||||
$tracked = @(git ls-files infra/moyi docs/11-server-test-deployment.md docs/13-model-groups-registration-credit.md docs/14-lifecycle-usage-credit-adjustments.md docs/15-relay-onboarding.md docs/16-streaming-chat-billing.md docs/17-catalog-and-key-selection.md)
|
$tracked = @(git ls-files infra/moyi scripts/live-gateway-smoke.py docs/11-server-test-deployment.md docs/13-model-groups-registration-credit.md docs/14-lifecycle-usage-credit-adjustments.md docs/15-relay-onboarding.md docs/16-streaming-chat-billing.md docs/17-catalog-and-key-selection.md)
|
||||||
foreach ($relative in $tracked) {
|
foreach ($relative in $tracked) {
|
||||||
if ($relative -match '(^|/)(\.env\.cloud|\.deploy-mode|certs)(/|$)') { throw 'Sensitive path in release allowlist.' }
|
if ($relative -match '(^|/)(\.env\.cloud|\.deploy-mode|certs)(/|$)') { throw 'Sensitive path in release allowlist.' }
|
||||||
$destination = Join-Path $staging $relative
|
$destination = Join-Path $staging $relative
|
||||||
|
|||||||
Reference in new issue
Block a user