fix: preserve staging compose images
Deploy staging to test server / deploy (push) Successful in 5m38s
Deploy staging to test server / deploy (push) Successful in 5m38s
This commit is contained in:
@@ -475,6 +475,8 @@ test("Gitea staging push builds ACR images and deploys them on the test server",
|
||||
assert.match(workflow, /docker push "\$IMAGE_REPOSITORY:web-\$GITEA_SHA"/);
|
||||
assert.match(workflow, /scp \$SCP_OPTIONS/);
|
||||
assert.match(workflow, /sudo tar -xf '\$REMOTE_ARCHIVE' -C '\$DEPLOY_PATH'/);
|
||||
assert.match(workflow, /sudo env/);
|
||||
assert.match(workflow, /API_IMAGE='\$IMAGE_REPOSITORY:api-\$GITEA_SHA'/);
|
||||
assert.match(workflow, /pull api web/);
|
||||
assert.match(workflow, /up -d --no-build --remove-orphans/);
|
||||
assert.match(workflow, /curl --fail.*"\$STAGING_URL\/api\/health"/);
|
||||
|
||||
Reference in New Issue
Block a user