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
012efc7aad
Merge branch 'chore/update-flake-and-switch-attic' into 'main'
...
chore: update flake inputs and use attic-client from nixpkgs
Closes #15
See merge request TECHNOFAB/nix-gitlab-ci!9
2024-11-27 14:41:01 +00:00
90a4079200
chore(image): pass all store paths at once via stdin to nix copy
2024-11-27 13:15:50 +00:00
026a7549df
chore: update flake inputs and use attic-client from nixpkgs
2024-11-26 20:22:11 +01:00
a85c4e49fe
chore: add additional NIX_CONFIG var & reformat
...
closes #11
2024-11-26 14:12:33 +01:00
a47ec8cbeb
chore(CI): use image built in parent pipeline for dogfooding here aswell
...
remove retries
2024-10-08 12:33:31 +02:00
546eea3006
Merge branch 'ci/improve-dogfood' into 'main'
...
ci: improve dogfooding by using the CI built images directly
See merge request TECHNOFAB/nix-gitlab-ci!6
2024-10-07 16:59:30 +00:00
a22258583d
ci: improve dogfooding by using the CI built images directly
2024-10-07 16:59:30 +00:00
ec279ae31e
fix(basic-image): append ^* to .drv entries to prevent warnings
...
instead print a "." without newline to be able to see progress
2024-10-06 19:19:33 +02:00
78e6c5e278
feat: improve caching
2024-09-13 18:43:56 +00:00
97f49cbdf6
chore: add treefmt and format files
2024-09-13 17:22:38 +02: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
b1117dd620
fix(module): fix before_script not getting appended if it exists
...
[skip ci]
2024-03-17 21:10:10 +01:00
f460960ce6
chore(utils): fix before_script getting overwritten and add collapsible sections
2024-03-17 18:26:45 +01:00
93baeca411
chore: update gitlab-ci.yml and only load job deps if name was passed to setup_nix_ci
2024-03-17 18:16:34 +01:00
12e55ad0b7
chore: add grep to images
2024-03-17 16:53:03 +01:00
3a05d7a128
feat: caching support
2024-03-17 15:44:22 +00:00
7cd9c571fe
feat: add utilities
2024-01-26 14:55:03 +01:00
1b6ecec5c1
fix(image): use nix-flakes to get the newest nix version
...
nix-unstable-static is outdated? (2.10)
2024-01-14 18:33:54 +01:00
f3485837ce
fix: add when and start_in option
2024-01-14 17:17:24 +01:00
0df36ad437
chore: initial commit
2024-01-14 16:45:07 +01:00