mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 10:10:06 +01:00
add multi-arch (arm & x64) image add multiple pipelines (ci now creates the "default" pipeline as a shorthand) simplify devenv flake input merge all cache options together, now $NIX_CI_CACHE_STRATEGY decides how the cache works setup_nix_ci and finalize_nix_ci are now flake packages and work standalone the specific image is not needed anymore, any image with the right dependencies works runner cache is not the default anymore (because it sucked most of the time) the pipeline is selected by $NIX_CI_PIPELINE_NAME or if empty by $CI_PIPELINE_SOURCE, so for the old behaviour $NIX_CI_PIPELINE_NAME=default is needed, future work will be needed to handle this more nicely
342 lines
8.7 KiB
JSON
342 lines
8.7 KiB
JSON
{
|
|
"nodes": {
|
|
"cachix": {
|
|
"inputs": {
|
|
"devenv": [
|
|
"devenv"
|
|
],
|
|
"flake-compat": [
|
|
"devenv"
|
|
],
|
|
"git-hooks": [
|
|
"devenv"
|
|
],
|
|
"nixpkgs": "nixpkgs"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1728672398,
|
|
"narHash": "sha256-KxuGSoVUFnQLB2ZcYODW7AVPAh9JqRlD5BrfsC/Q4qs=",
|
|
"owner": "cachix",
|
|
"repo": "cachix",
|
|
"rev": "aac51f698309fd0f381149214b7eee213c66ef0a",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "cachix",
|
|
"ref": "latest",
|
|
"repo": "cachix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"devenv": {
|
|
"inputs": {
|
|
"cachix": "cachix",
|
|
"flake-compat": "flake-compat",
|
|
"git-hooks": "git-hooks",
|
|
"nix": "nix",
|
|
"nixpkgs": "nixpkgs_3"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1732585607,
|
|
"narHash": "sha256-6ffeaSMuaL326f7KrCeScpSJtdHsFKS9gPrsSZkndvU=",
|
|
"owner": "cachix",
|
|
"repo": "devenv",
|
|
"rev": "a520f05c40ebecaf5e17064b27e28ba8e70c49fb",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "cachix",
|
|
"repo": "devenv",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"flake-compat": {
|
|
"flake": false,
|
|
"locked": {
|
|
"lastModified": 1696426674,
|
|
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
|
"owner": "edolstra",
|
|
"repo": "flake-compat",
|
|
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "edolstra",
|
|
"repo": "flake-compat",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"flake-parts": {
|
|
"inputs": {
|
|
"nixpkgs-lib": [
|
|
"devenv",
|
|
"nix",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1712014858,
|
|
"narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
|
|
"owner": "hercules-ci",
|
|
"repo": "flake-parts",
|
|
"rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "hercules-ci",
|
|
"repo": "flake-parts",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"flake-parts_2": {
|
|
"inputs": {
|
|
"nixpkgs-lib": "nixpkgs-lib"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1730504689,
|
|
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
|
|
"owner": "hercules-ci",
|
|
"repo": "flake-parts",
|
|
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "hercules-ci",
|
|
"repo": "flake-parts",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"git-hooks": {
|
|
"inputs": {
|
|
"flake-compat": [
|
|
"devenv"
|
|
],
|
|
"gitignore": "gitignore",
|
|
"nixpkgs": [
|
|
"devenv",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1737465171,
|
|
"narHash": "sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg=",
|
|
"owner": "cachix",
|
|
"repo": "git-hooks.nix",
|
|
"rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "cachix",
|
|
"repo": "git-hooks.nix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"gitignore": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"devenv",
|
|
"git-hooks",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1709087332,
|
|
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
|
"owner": "hercules-ci",
|
|
"repo": "gitignore.nix",
|
|
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "hercules-ci",
|
|
"repo": "gitignore.nix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"libgit2": {
|
|
"flake": false,
|
|
"locked": {
|
|
"lastModified": 1697646580,
|
|
"narHash": "sha256-oX4Z3S9WtJlwvj0uH9HlYcWv+x1hqp8mhXl7HsLu2f0=",
|
|
"owner": "libgit2",
|
|
"repo": "libgit2",
|
|
"rev": "45fd9ed7ae1a9b74b957ef4f337bc3c8b3df01b5",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "libgit2",
|
|
"repo": "libgit2",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nix": {
|
|
"inputs": {
|
|
"flake-compat": [
|
|
"devenv"
|
|
],
|
|
"flake-parts": "flake-parts",
|
|
"libgit2": "libgit2",
|
|
"nixpkgs": "nixpkgs_2",
|
|
"nixpkgs-23-11": [
|
|
"devenv"
|
|
],
|
|
"nixpkgs-regression": [
|
|
"devenv"
|
|
],
|
|
"pre-commit-hooks": [
|
|
"devenv"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1727438425,
|
|
"narHash": "sha256-X8ES7I1cfNhR9oKp06F6ir4Np70WGZU5sfCOuNBEwMg=",
|
|
"owner": "domenkozar",
|
|
"repo": "nix",
|
|
"rev": "f6c5ae4c1b2e411e6b1e6a8181cc84363d6a7546",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "domenkozar",
|
|
"ref": "devenv-2.24",
|
|
"repo": "nix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1730531603,
|
|
"narHash": "sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "7ffd9ae656aec493492b44d0ddfb28e79a1ea25d",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"ref": "nixos-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs-lib": {
|
|
"locked": {
|
|
"lastModified": 1730504152,
|
|
"narHash": "sha256-lXvH/vOfb4aGYyvFmZK/HlsNsr/0CVWlwYvo2rxJk3s=",
|
|
"type": "tarball",
|
|
"url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz"
|
|
},
|
|
"original": {
|
|
"type": "tarball",
|
|
"url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz"
|
|
}
|
|
},
|
|
"nixpkgs_2": {
|
|
"locked": {
|
|
"lastModified": 1717432640,
|
|
"narHash": "sha256-+f9c4/ZX5MWDOuB1rKoWj+lBNm0z0rs4CK47HBLxy1o=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "88269ab3044128b7c2f4c7d68448b2fb50456870",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"ref": "release-24.05",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs_3": {
|
|
"locked": {
|
|
"lastModified": 1716977621,
|
|
"narHash": "sha256-Q1UQzYcMJH4RscmpTkjlgqQDX5yi1tZL0O345Ri6vXQ=",
|
|
"owner": "cachix",
|
|
"repo": "devenv-nixpkgs",
|
|
"rev": "4267e705586473d3e5c8d50299e71503f16a6fb6",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "cachix",
|
|
"ref": "rolling",
|
|
"repo": "devenv-nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs_4": {
|
|
"locked": {
|
|
"lastModified": 1732238832,
|
|
"narHash": "sha256-sQxuJm8rHY20xq6Ah+GwIUkF95tWjGRd1X8xF+Pkk38=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "8edf06bea5bcbee082df1b7369ff973b91618b8d",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"ref": "nixpkgs-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs_5": {
|
|
"locked": {
|
|
"lastModified": 1731890469,
|
|
"narHash": "sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs=",
|
|
"owner": "nixos",
|
|
"repo": "nixpkgs",
|
|
"rev": "5083ec887760adfe12af64830a66807423a859a7",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nixos",
|
|
"ref": "nixpkgs-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"devenv": "devenv",
|
|
"flake-parts": "flake-parts_2",
|
|
"nixpkgs": "nixpkgs_4",
|
|
"systems": "systems",
|
|
"treefmt-nix": "treefmt-nix"
|
|
}
|
|
},
|
|
"systems": {
|
|
"locked": {
|
|
"lastModified": 1689347949,
|
|
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
|
"owner": "nix-systems",
|
|
"repo": "default-linux",
|
|
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-systems",
|
|
"repo": "default-linux",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"treefmt-nix": {
|
|
"inputs": {
|
|
"nixpkgs": "nixpkgs_5"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1732643199,
|
|
"narHash": "sha256-uI7TXEb231o8dkwB5AUCecx3AQtosRmL6hKgnckvjps=",
|
|
"owner": "numtide",
|
|
"repo": "treefmt-nix",
|
|
"rev": "84637a7ab04179bdc42aa8fd0af1909fba76ad0c",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "numtide",
|
|
"repo": "treefmt-nix",
|
|
"type": "github"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|