Commit graph

23 commits

Author SHA1 Message Date
2ff3e58a07
bump: 2.0.1 → 2.0.2 2025-06-12 14:54:45 +02:00
3cb2f8cf80
chore: add bumpversion 2025-06-12 14:54:37 +02:00
df35d61170 fix(sandbox_helper): remove '' 2025-06-02 22:15:44 +02:00
2f197d2c50 chore: split everything up into their own files & add a bunch of tests 2025-05-31 21:29:54 +02:00
f9c009c450 feat: improve running jobs locally by adding a simple sandbox 2025-05-31 15:40:53 +02:00
dca2d724c1 fix(flakeModule): use default shell for stdenvMinimal for max compatibility 2025-05-11 16:19:31 +02:00
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
fdb6193ef1 fix(utils): migrate utils to the new syntax aswell 2024-10-02 18:26:14 +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