mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 19:29:13 +08:00
feat(ql3): make release evidence replay deterministic
This commit is contained in:
@@ -121,6 +121,10 @@ test('plans deterministic Local, Cluster and All OCI catalog entries', () => {
|
||||
`ghcr.io/qinglong-release/qinglong3-release-catalog:v${version}-${scope}`,
|
||||
);
|
||||
assert.equal(plan.catalog.artifactType, ARTIFACT_TYPE);
|
||||
assert.equal(
|
||||
plan.publicationPolicy.recovery,
|
||||
'republish_deterministic_content_then_verify_digest',
|
||||
);
|
||||
assert.equal(
|
||||
plan.releaseSet.bytes,
|
||||
Buffer.byteLength(`${JSON.stringify(set)}\n`),
|
||||
|
||||
Reference in New Issue
Block a user