e8f3e954e7
Archetype: oci-image (buildx -> in-cluster remote buildkit), the HARD case. DESIGN/PARTIAL, not a finished migration: - ci/MIGRATION.md: concrete plan to escape buildkit via nix2container/skopeo +regctl. The app is pure-stdlib Python, so both arches are buildable on emmett (amd64-native + Nix-cross-from-amd64 python3 closure) with no buildkit/qemu/docker -> no foreign-arch leg needed; Dockerfile retired on cutover. Covers per-arch build, entrypoints, .woodpecker.yaml target, escape hatch (unused here), risks, remaining work. - flake.nix: scaffolds the natively-buildable amd64 leg only (stage-amd64, publish-amd64), dry-run by default (PUBLISH=1 to push), $REGISTRY_TOKEN -> pass fallback, registry-down/empty-token blockers. Mirrors reference impl claude-plugin-registry@9850745. arm64 leg, publish-index/publish, and YAML cutover are designed but NOT wired. Verified: nix eval .#apps.x86_64-linux (-> stage-amd64, publish-amd64); no image build run (downloads closure).
141 lines
3.3 KiB
JSON
141 lines
3.3 KiB
JSON
{
|
|
"nodes": {
|
|
"flake-utils": {
|
|
"inputs": {
|
|
"systems": "systems"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1731533236,
|
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "numtide",
|
|
"repo": "flake-utils",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"fleet": {
|
|
"inputs": {
|
|
"nixpkgs": "nixpkgs",
|
|
"nixpkgs-armer": [
|
|
"fleet",
|
|
"nixpkgs"
|
|
],
|
|
"nixpkgs-bim": [
|
|
"fleet",
|
|
"nixpkgs"
|
|
],
|
|
"nixpkgs-ci": [
|
|
"fleet",
|
|
"nixpkgs"
|
|
],
|
|
"nixpkgs-emmett": [
|
|
"fleet",
|
|
"nixpkgs"
|
|
],
|
|
"nixpkgs-howard": [
|
|
"fleet",
|
|
"nixpkgs"
|
|
],
|
|
"nixpkgs-mermaid": [
|
|
"fleet",
|
|
"nixpkgs"
|
|
],
|
|
"nixpkgs-mermaid-gpu": [
|
|
"fleet",
|
|
"nixpkgs"
|
|
],
|
|
"nixpkgs-micron": [
|
|
"fleet",
|
|
"nixpkgs"
|
|
],
|
|
"nixpkgs-projects": [
|
|
"fleet",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1779533061,
|
|
"narHash": "sha256-orWNYXtYURhEj3X4+xGMAhaEcKRvwXqTtJ8x2jV/M+Q=",
|
|
"ref": "refs/heads/main",
|
|
"rev": "b818e345ec4470e4b3e335bd2f864183c512116d",
|
|
"revCount": 13,
|
|
"type": "git",
|
|
"url": "https://git.oleks.space/oleks/fleet-pins"
|
|
},
|
|
"original": {
|
|
"type": "git",
|
|
"url": "https://git.oleks.space/oleks/fleet-pins"
|
|
}
|
|
},
|
|
"nix2container": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1775487831,
|
|
"narHash": "sha256-2lguQpLPQaxpQCJjXhmEEAfabwsAhkP29Z7fgLzHARA=",
|
|
"owner": "nlewo",
|
|
"repo": "nix2container",
|
|
"rev": "76be9608a7f4d6c985d28b0e7be903ae2547df3e",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nlewo",
|
|
"repo": "nix2container",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1777268161,
|
|
"narHash": "sha256-bxrdOn8SCOv8tN4JbTF/TXq7kjo9ag4M+C8yzzIRYbE=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "1c3fe55ad329cbcb28471bb30f05c9827f724c76",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "1c3fe55ad329cbcb28471bb30f05c9827f724c76",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"flake-utils": "flake-utils",
|
|
"fleet": "fleet",
|
|
"nix2container": "nix2container",
|
|
"nixpkgs": [
|
|
"fleet",
|
|
"nixpkgs-projects"
|
|
]
|
|
}
|
|
},
|
|
"systems": {
|
|
"locked": {
|
|
"lastModified": 1681028828,
|
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
"owner": "nix-systems",
|
|
"repo": "default",
|
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-systems",
|
|
"repo": "default",
|
|
"type": "github"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|