- DAG architecture: `dag show/validate/export` (nulib/main_provisioning/dag.nu),
config loader (lib_provisioning/config/loader/dag.nu), taskserv dag-executor.
Backed by schemas/lib/dag/*.ncl; orchestrator emits NATS events via
WorkspaceComposition::into_workflow. See ADR-020, ADR-021.
- Unified Component Architecture: components/mod.nu, main_provisioning/
{components,workflow,extensions,ontoref-queries}.nu. Full workflow engine with
topological sort and NATS subject emission. Blocks A-H complete (libre-daoshi).
- Commands-registry: nulib/commands-registry.ncl (Nickel source, 314 lines) +
JSON cache at ~/.cache/provisioning/commands-registry.json rebuilt on source
change. cli/provisioning fast-path alias expansion avoids cold Nu startup.
ADDING_COMMANDS.md documents new-command workflow.
- Platform service manager: service-manager.nu (+573), startup.nu (+611),
service-check.nu (+255); autostart/bootstrap/health/target refactored.
- Nushell 0.112.2 migration: removed all try/catch and bash redirections;
external commands prefixed with ^; type signatures enforced. Driven by
scripts/refactor-try-catch{,-simplified}.nu.
- TTY stack: removed shlib/*-tty.sh; replaced by cli/tty-dispatch.sh,
tty-filter.sh, tty-commands.conf.
- New domain modules: images/ (golden image lifecycle), workspace/{state,sync}.nu,
main_provisioning/{bootstrap,cluster-deploy,fip,state}.nu, commands/{state,
build,integrations/auth,utilities/alias}.nu, platform.nu expanded (+874).
- Config loader overhaul: loader/core.nu slimmed (-759), cache/core.nu
refactored (-454), removed legacy loaders/file_loader.nu (-330).
- Thirteen new provisioning-<domain>.nu top-level modules for bash dispatcher.
- Tests: test_workspace_state.nu (+351); updates to test_oci_registry,
test_services.
- README + CHANGELOG updated.
16 lines
No EOL
1.4 KiB
JSON
16 lines
No EOL
1.4 KiB
JSON
{
|
|
"id": "5246326f-910e-4f2d-aef2-df29d0cbeeca",
|
|
"name": "execute_servers_script_",
|
|
"command": "bash",
|
|
"args": [
|
|
"-c",
|
|
"base64 -d < /tmp/orchestrator_script_5246326f-910e-4f2d-aef2-df29d0cbeeca.tar.gz.b64 | gunzip | tar -xOf - script.sh | bash +x"
|
|
],
|
|
"dependencies": [],
|
|
"status": "Failed",
|
|
"created_at": "2026-02-17T00:50:47.638979Z",
|
|
"started_at": null,
|
|
"completed_at": "2026-02-17T00:50:49.815378Z",
|
|
"output": null,
|
|
"error": "Command execution failed: === Checking prerequisites ===\n✓ HCLOUD_TOKEN set\n\n=== Managing SSH Keys ===\n✓ SSH public key found: /Users/jesusperezlorenzo/.ssh/htz_ops.pub\nChecking if SSH key 'htz_ops' exists in Hetzner...\n✓ SSH key 'htz_ops' already exists with ID: 106168627\n\n=== SSH Key Management Complete ===\nSSH_KEY_ID: 106168627\nState saved to: /tmp/.provisioning-state.json\nEnvironment variables exported to: /tmp/.env\n=== Checking prerequisites ===\n✓ Prerequisites satisfied\n\n=== Managing Network ===\n✓ Network config validated: 10.0.0.0/16 with subnet 10.0.0.0/22 in zone eu-central\nChecking if network 'librecloud-private' exists...\nCreating network 'librecloud-private' with IP range 10.0.0.0/16 (with protection enabled)...\n✓ Network 'librecloud-private' created with ID: 11943075\nCreating subnet with IP range 10.0.0.0/22 in network 11943075...\nERROR: Failed to create subnet\nResponse: hcloud: unknown shorthand flag: 'o' in -o\n"
|
|
} |