fix(deploy): match arm64 Buzz rollout
CI / Verify (push) Successful in 55s
CI / Build immutable images and deploy (push) Has been skipped

This commit is contained in:
2026-08-29 07:01:02 +00:00 Unverified
parent 50dce9eaf7
commit 6fe6d8fd95
8 changed files with 17 additions and 2 deletions
+5
View File
@@ -15,6 +15,7 @@ describe("production deployment contract", () => {
expect(deployment).toContain("maxUnavailable: 0");
expect(deployment).toContain("path: /api/health?ready=1");
expect(deployment).toContain("path: /api/health");
expect(deployment).toContain("kubernetes.io/arch: arm64");
expect(deployment).toMatch(
/requests:\s+cpu: 500m\s+memory: 512Mi\s+limits:\s+cpu: "1"\s+memory: 1Gi/u,
);
@@ -36,6 +37,9 @@ describe("production deployment contract", () => {
expect(service).toContain("targetPort: http");
expect(ingress).toContain("ingressClassName: traefik");
expect(ingress).toContain("host: sheet.sudloh.com");
expect(ingress).toContain(
'traefik.ingress.kubernetes.io/read-timeout: "200"',
);
expect(ingress).not.toContain("secretName:");
expect(ingress).not.toContain("router.tls");
});
@@ -96,6 +100,7 @@ describe("production deployment contract", () => {
expect(workflow).toContain("kubectl kustomize k8s/");
expect(workflow).toContain("target: app");
expect(workflow).toContain("target: migration");
expect(workflow.match(/platforms: linux\/arm64/gmu)).toHaveLength(2);
expect(workflow).toContain(
"registry.neko-piranha.ts.net/astral/buzz-sheet",
);