feat: apply sealed installation plans without interactive setup
This commit is contained in:
@@ -42,7 +42,27 @@ export function prepareBundle({ source, destination, platform, version, revision
|
||||
images: Object.fromEntries(Object.entries(images).map(([role, reference]) => [role, { [platform]: reference }])),
|
||||
files, compose: ["compose.yaml", "deploy/compose.local.yaml"] };
|
||||
writeFileSync(join(destination, "release-manifest.json"), JSON.stringify(manifest, null, 2) + "\n");
|
||||
writeFileSync(join(destination, "README.md"), `# ThothII ${version} — ${platform}\n\nSource / Sorgente: ${revision}\n\nThis prerelease provides images and document/preflight tools. Non-interactive execution and real-host acceptance are separate follow-up tickets; this is not a certified complete installation.\nQuesta prerelease fornisce immagini e strumenti di preparazione/preflight. Esecuzione non interattiva e collaudi reali sono incrementi successivi: non è ancora un'installazione completa certificata.\n\nUse bin/tht and its sibling bin/tht-workspace-documents together; no Node, Python, Bun or application checkout is required on the consumer host.\nWindows: use the Linux amd64 bundle inside Ubuntu WSL2, not a native Windows shell.\n\n1. bin/tht workspace prepare --directory NEW_WORKSPACE --id practice --name Practice\n2. bin/tht workspace validate --directory WORKSPACE\n3. bin/tht installation prepare --directory NEW_PRIVATE_INSTALLATION\n4. bin/tht installation preflight --directory INSTALLATION --release ABSOLUTE_RELEASE_DIR/release-manifest.json\n5. Complete the commented documents, generate technical credentials explicitly, then run installation validate and installation plan with --installation ABSOLUTE_INSTALLATION_FILE.\n\nImages are pinned by digest; runtime credentials and user workspaces are never bundled.\nConsult the accompanying IT/EN guides for prepared documents and mandatory runtime checks.\n`);
|
||||
writeFileSync(join(destination, "README.md"), `# ThothII ${version} — ${platform}
|
||||
|
||||
Source / Sorgente: ${revision}
|
||||
|
||||
This prerelease provides images, document/preflight tools and non-interactive platform apply. Database binding import, workspace readiness and Windows/Omarchy/macOS acceptance remain separate steps; this is not a certified complete installation.
|
||||
Questa prerelease fornisce immagini, preparazione/preflight e avvio non interattivo della piattaforma. Import dei binding, readiness workspace e collaudi Windows/Omarchy/macOS restano passi separati: non è ancora un'installazione completa certificata.
|
||||
|
||||
Use bin/tht and its sibling bin/tht-workspace-documents together; no Node, Python, Bun or application checkout is required on the consumer host.
|
||||
Windows: use the Linux amd64 bundle inside Ubuntu WSL2, not a native Windows shell.
|
||||
Run as the same non-root operator that prepared the documents, with access to local Docker.
|
||||
|
||||
1. bin/tht workspace prepare --directory NEW_WORKSPACE --id practice --name Practice
|
||||
2. bin/tht workspace validate --directory WORKSPACE
|
||||
3. bin/tht installation prepare --directory NEW_PRIVATE_INSTALLATION
|
||||
4. bin/tht installation preflight --directory INSTALLATION --release ABSOLUTE_RELEASE_DIR/release-manifest.json
|
||||
5. Complete the commented documents, generate technical credentials explicitly, then run installation validate and installation plan with --installation ABSOLUTE_INSTALLATION_FILE.
|
||||
6. bin/tht --installation ABSOLUTE_INSTALLATION_FILE installation apply --plan ABSOLUTE_PLAN --json
|
||||
|
||||
Images are pinned by digest; runtime credentials and user workspaces are never bundled.
|
||||
Consult the accompanying IT/EN guides for prepared documents, retry behavior and mandatory runtime checks.
|
||||
`);
|
||||
for (const [name, target] of [["standalone-manual-it.md", "GUIDE-IT.md"], ["standalone-manual-en.md", "GUIDE-EN.md"], ["installation-preflight.md", "PREFLIGHT.md"]]) writeFileSync(join(destination, target), readFileSync(join(source, "docs/install", name)));
|
||||
return manifest;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user