fix(deploy): match arm64 Buzz rollout
This commit is contained in:
@@ -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",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user