Skip to content

Commit e9d222a

Browse files
committed
[red] Preserve qualified installer without beta evidence
Signed-off-by: Viwat Vchirawongkwin <viwat.v@chula.ac.th>
1 parent ab6a293 commit e9d222a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎tools/web/src/test/vps-deployment-contract.test.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ describe("Cloudflare-fronted VPS deployment", () => {
174174
expect(script).toContain("PYBLE_FIRMWARE_LICENSE_EVIDENCE_DIR");
175175
expect(script).toContain("PYBLE_FIRMWARE_LICENSE_BUILD_ROOT");
176176
expect(script).toContain("PYBLE_FIRMWARE_SOURCE_ROOT");
177+
expect(script).toMatch(
178+
/if \[\[ "\$\{firmware_deployment\}" == public-beta \]\]; then\s+require_firmware_release_inputs\s+fi/,
179+
);
177180
expect(script).toContain("local_firmware_tag_object_before_build");
178181
expect(script).not.toMatch(
179182
/public-beta[\s\S]{0,180}(?:skip|does not require)[\s\S]{0,180}annotated tag/i,

0 commit comments

Comments
 (0)