fix: target registered Windows runner
Match staging validation and deployment jobs to the runner label registered in Gitea.
This commit is contained in:
@@ -22,7 +22,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: runner-win
|
||||
runs-on: manman-win
|
||||
timeout-minutes: 30
|
||||
defaults:
|
||||
run:
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
publish-and-deploy:
|
||||
if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/staging'
|
||||
needs: validate
|
||||
runs-on: runner-win
|
||||
runs-on: manman-win
|
||||
timeout-minutes: 45
|
||||
defaults:
|
||||
run:
|
||||
|
||||
@@ -382,7 +382,7 @@ test("production remains manual-only and separate from staging database automati
|
||||
|
||||
test("Gitea staging push uses the Windows runner and immutable ACR images", () => {
|
||||
const workflow = read(giteaQualityWorkflow);
|
||||
assert.match(workflow, /runs-on: runner-win/);
|
||||
assert.match(workflow, /runs-on: manman-win/);
|
||||
assert.match(workflow, /shell: powershell/);
|
||||
assert.match(workflow, /crpi-d1feco6itet73spp\.cn-hongkong\.personal\.cr\.aliyuncs\.com\/copse\/jyotisha/);
|
||||
assert.match(workflow, /secrets\.REGISTRY_USERNAME/);
|
||||
|
||||
Reference in New Issue
Block a user