Commit graph

16 commits

Author SHA1 Message Date
11537ae271 fix(flakeModule): use bash for stdenvMinimal
fixes #24
2025-05-10 19:45:10 +02:00
8dc2e7d772 chore: slim down job-deps as much as possible 2025-04-04 20:30:56 +02:00
dab96d0acd fix(module): rename variable 2025-03-04 15:23:46 +01:00
a63376edf1 chore: rename env variables back to non-_ versions
for testing, CI template still needs adjustments
2025-03-04 14:30:06 +01:00
060d8fad47 chore(module): slim down pipeline yaml generation even more 2025-02-28 12:53:17 +01:00
36c4fc0fd6 fix(module): prevent parameter expansion when generating pipeline config 2025-02-27 11:19:50 +01:00
fa6c098e02 chore: improve nix-ci:build build time by using only builtins.toJSON
removes dependency on remarshal, pkgs.formats.json uses jq to pretty
print so we just use builtins.toJSON directly
2025-02-27 10:52:47 +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
856924acdf chore(module): add packages to legacyPackages instead 2024-11-26 13:31:04 +01:00
25e5b44a6d feat(module): improve ability to run jobs locally
adds the correct PATH and environment variables to run it locally
similar to how it works in CI. Also split up the before_script, script
and after_script with simple echo's inbetween for easier debugging
2024-10-13 18:34:07 +02:00
532fb8002c fix(module): append "finalize_nix_ci" to after_script, not prepend 2024-10-13 18:32:47 +02:00
0f62d5e822 fix: allow jobs to omit the "nix" option 2024-09-16 09:31:35 +00:00
78e6c5e278 feat: improve caching 2024-09-13 18:43:56 +00:00
533bd2eef5 feat: add assertion to check if a job's stage exists 2024-09-10 13:07:48 +00:00
e3b35ec8ae feat: add support for nix store paths in variables
by exporting them at runtime and removing them from the pipeline
definition itself
closes #3
2024-09-10 12:46:13 +00:00
f361878e13 feat: split lib and utils into separate flake 2024-07-28 12:51:14 +00:00
Renamed from flakeModule.nix (Browse further)