Commit graph

12 commits

Author SHA1 Message Date
f1b8b5a210 refactor(template): get rid of rules and work around limitations in a new way 2025-03-04 16:12:51 +01:00
7a40a68a10 chore(template): skip checking if pipeline exists, just fail if not 2025-02-28 11:54:41 +01:00
85431f78aa chore: improve "default" handling & caching
add new env variables to configure which CI source gets mapped to default
add logic to check if pipeline exists in flake, else build "default"
2025-02-22 21:57:25 +01:00
55f90b4261 fix(ci): update artifact name in trigger job aswell 2025-02-21 22:53:00 +00:00
ebc70d5c18 fix(ci): fix artifact path 2025-02-21 21:26:28 +00:00
244142274d fix(ci): build correct package and hopefully handle cache issues 2025-02-21 18:52:55 +01:00
7569fcd086 fix(ci): work around gitlab's variable substitution limitations 2025-02-21 18:24:23 +01:00
586fb88b9d feat(v2): initial v2 implementation
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
2025-02-21 12:24:54 +01:00
016e6c9dc7
chore!: rename NIX_CI_SKIP_CACHE → NIX_CI_FORCE_BUILD
closes #16
2025-02-15 21:35:36 +01:00
1101989255 fix(ci-component): honor NIX_CI_DISABLE_CACHE correctly 2024-11-30 17:57:31 +01:00
78e6c5e278 feat: improve caching 2024-09-13 18:43:56 +00:00
4e039a6b92 feat: add CI Component template 2024-09-11 15:03:42 +00:00