Public release release-5e0e2bce9be3

Source commit: 5e0e2bce9be3df55b3b7bd4f9a287c58ca2f4385

Public tree identity: sha256:becd5e35a543edf57b183dc847b967ec0d5ad4dd4398b26d4eb836a75dd53c7e
This commit is contained in:
Clusterflux release 2026-07-20 14:15:38 +02:00
parent 5cbede8bdc
commit 58195aae30
3 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
{ {
"kind": "clusterflux-filtered-public-tree", "kind": "clusterflux-filtered-public-tree",
"source_commit": "9b0559e0551ee175275282ed5996a23811f2a1fe", "source_commit": "5e0e2bce9be3df55b3b7bd4f9a287c58ca2f4385",
"release_name": "release-9b0559e0551e", "release_name": "release-5e0e2bce9be3",
"filtered_out": [ "filtered_out": [
"private/**", "private/**",
"internal/**", "internal/**",

View file

@ -2461,7 +2461,7 @@ function deploymentProvenance() {
hosted_service_sha256: `sha256:${binarySha256}`, hosted_service_sha256: `sha256:${binarySha256}`,
service_unit: fragment, service_unit: fragment,
service_unit_sha256: `sha256:${serviceUnitSha256}`, service_unit_sha256: `sha256:${serviceUnitSha256}`,
service_configuration_sha256: `sha256:${renderedServiceConfigurationSha256}`, service_configuration_sha256: renderedServiceConfigurationSha256,
}; };
} }
@ -2475,7 +2475,7 @@ function configurationProvenance() {
return { return {
repository: configRepo, repository: configRepo,
revision, revision,
evidence_identity: `sha256:${sha256(Buffer.from(revision))}`, evidence_identity: sha256(Buffer.from(revision)),
clean: status === "", clean: status === "",
status: status || null, status: status || null,
}; };
@ -2505,9 +2505,7 @@ function proxyConfigurationProvenance() {
"ssh", "ssh",
sshArgs(nginxExecutable, "-T", "-c", nginxConfiguration) sshArgs(nginxExecutable, "-T", "-c", nginxConfiguration)
); );
const renderedConfigurationIdentity = `sha256:${sha256( const renderedConfigurationIdentity = sha256(Buffer.from(renderedConfiguration));
Buffer.from(renderedConfiguration)
)}`;
const activeState = run( const activeState = run(
"ssh", "ssh",
sshArgs("systemctl", "is-active", proxyUnit) sshArgs("systemctl", "is-active", proxyUnit)

View file

@ -633,7 +633,9 @@ function stageEvidenceAsset(
throw new Error("the strict final requirement ledger must be complete and passed"); throw new Error("the strict final requirement ledger must be complete and passed");
} }
const deploymentGeneration = const deploymentGeneration =
process.env.CLUSTERFLUX_DEPLOYMENT_SYSTEM_GENERATION || null; process.env.CLUSTERFLUX_DEPLOYMENT_SYSTEM_GENERATION ||
liveResult.release_binding?.deployment?.system_generation ||
null;
if (!deploymentGeneration && !allowIncomplete) { if (!deploymentGeneration && !allowIncomplete) {
throw new Error( throw new Error(
"CLUSTERFLUX_DEPLOYMENT_SYSTEM_GENERATION is required for final evidence" "CLUSTERFLUX_DEPLOYMENT_SYSTEM_GENERATION is required for final evidence"