Sync public tree to 13dc821

This commit is contained in:
Michel Paulissen 2026-07-04 13:10:21 +02:00
parent e2bc145f60
commit 1dad0df5c4
6 changed files with 101 additions and 21 deletions

View file

@ -110,6 +110,13 @@ function expectedSourceCommit() {
);
}
function publicTreeAlreadyPushed(manifest) {
return (
(manifest.public_tree_publish && manifest.public_tree_publish.pushed === true) ||
process.env.DISASMER_PUBLIC_TREE_ALREADY_PUSHED === "1"
);
}
function sha256File(file) {
return crypto.createHash("sha256").update(fs.readFileSync(file)).digest("hex");
}
@ -844,7 +851,7 @@ async function main() {
"public release e2e must use release assets prepared from the current acceptance commit"
);
assert.strictEqual(manifest.default_operator_endpoint, serviceEndpoint);
assert.strictEqual(manifest.public_tree_publish.pushed, true);
assert.strictEqual(publicTreeAlreadyPushed(manifest), true);
assert.strictEqual(forgejoReport.release_name, manifest.release_name);
const addr = parseAddr(serviceAddr);