Sync public tree to 13dc821
This commit is contained in:
parent
e2bc145f60
commit
1dad0df5c4
6 changed files with 101 additions and 21 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue