feat : upa
CI / Verify (push) Successful in 1m39s
CI / Build immutable images and deploy (push) Successful in 2m46s

This commit is contained in:
2026-10-07 19:24:45 +07:00 Unverified
parent 6d0feb11ca
commit 90ba91b784
4 changed files with 20 additions and 45 deletions
+1 -4
View File
@@ -162,18 +162,15 @@ describe("production deployment contract", () => {
expect(route).toContain('"deployment-status"');
});
it("announces deployment lifecycle results without blocking releases", async () => {
it("announces incoming deployments without blocking releases", async () => {
const [workflow, deployment] = await Promise.all([
repositoryFile(".gitea/workflows/ci.yml"),
repositoryFile("k8s/base/deployment.yaml"),
]);
expect(workflow).toContain("Announce incoming deployment");
expect(workflow).toContain("Publish deployment result");
expect(workflow).toContain("if: always()");
expect(workflow).toContain("continue-on-error: true");
expect(workflow).toContain('status\\":\\"deploying');
expect(workflow).toContain("DEPLOYMENT_JOB_STATUS");
expect(workflow).toContain("/api/deployments/status");
expect(deployment).toContain("DEPLOYMENT_WEBHOOK_SECRET");
expect(deployment).toContain("optional: true");