fix(staging): bound trusted main fetch retries
This commit is contained in:
@@ -488,7 +488,10 @@ test("Gitea deploy and migration consume the exact successful gate artifact", ()
|
||||
assert.match(workflow, /actions\/artifacts\/\$artifact_id\/zip/);
|
||||
assert.match(workflow, /node frontend\/scripts\/staging-image-manifest\.mjs/);
|
||||
assert.match(workflow, /name: Checkout trusted main controller/);
|
||||
assert.match(workflow, /git fetch --no-tags origin main "\$DEPLOY_SHA"/);
|
||||
assert.match(workflow, /for attempt in 1 2 3/);
|
||||
assert.match(workflow, /timeout 120 git fetch --no-tags origin main "\$DEPLOY_SHA"/);
|
||||
assert.match(workflow, /trusted main fetch failed after \$attempt bounded attempts/);
|
||||
assert.match(workflow, /\[\[ "\$fetch_succeeded" == true \]\]/);
|
||||
assert.match(workflow, /git checkout --detach --force origin\/main/);
|
||||
assert.match(workflow, /git merge-base --is-ancestor "\$DEPLOY_SHA" HEAD/);
|
||||
assert.doesNotMatch(workflow, /docker manifest inspect/);
|
||||
|
||||
Reference in New Issue
Block a user