mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 12:26:38 -06:00
7dfe406d20
* fix(ci): parallelize installer smoke groups * fix(ci): bind installer smoke artifacts * fix(ci): isolate installer smoke candidate payload * fix(ci): restore trusted install harness * fix(ci): run Bun smoke from trusted harness
51 lines
1.3 KiB
TypeScript
51 lines
1.3 KiB
TypeScript
type InstallSmokeCandidatePayloadManifest = {
|
|
files: Array<{
|
|
name: string;
|
|
role: "package" | "package-metadata" | "installer" | "cli-installer";
|
|
sha256: string;
|
|
size: number;
|
|
}>;
|
|
harnessRepository: string;
|
|
harnessSha: string;
|
|
packageVersion: string;
|
|
repository: string;
|
|
runAttempt: string;
|
|
runId: string;
|
|
schema: "openclaw.install-smoke-candidate-payload/v1";
|
|
sourceArchiveSha256: string;
|
|
targetSha: string;
|
|
};
|
|
|
|
type SealInstallSmokeCandidatePayloadOptions = {
|
|
archivePath: string;
|
|
harnessRepository: string;
|
|
harnessSha: string;
|
|
outputDir: string;
|
|
packageDir: string;
|
|
repository: string;
|
|
runAttempt: string;
|
|
runId: string;
|
|
targetSha: string;
|
|
};
|
|
|
|
type VerifyInstallSmokeCandidatePayloadOptions = {
|
|
expectedManifestSha256: string;
|
|
expectedPackageVersion: string;
|
|
expectedSourceArchiveSha256: string;
|
|
harnessRepository: string;
|
|
harnessSha: string;
|
|
payloadDir: string;
|
|
repository: string;
|
|
runAttempt: string;
|
|
runId: string;
|
|
targetSha: string;
|
|
};
|
|
|
|
export function sealInstallSmokeCandidatePayload(
|
|
options: SealInstallSmokeCandidatePayloadOptions,
|
|
): Promise<InstallSmokeCandidatePayloadManifest>;
|
|
|
|
export function verifyInstallSmokeCandidatePayload(
|
|
options: VerifyInstallSmokeCandidatePayloadOptions,
|
|
): Promise<InstallSmokeCandidatePayloadManifest>;
|