691a0aac79
chore: add LICENSE
...
[skip ci]
2024-10-30 16:10:18 +00: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
81b497d976
chore(README): bump component version
2024-10-13 16:35:14 +02:00
67d75bd167
docs(README): document running jobs locally
...
[skip ci]
2024-10-13 15:50:18 +02: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
d04325807c
Merge branch 'fix/nix-copy-verbosity' into 'main'
...
fix(basic-image): append ^* to .drv entries to prevent warnings
Closes #5
See merge request TECHNOFAB/nix-gitlab-ci!5
2024-10-07 12:32:24 +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
28072631e7
chore(README): bump component version
2024-10-02 21:40:26 +02:00
fdb6193ef1
fix(utils): migrate utils to the new syntax aswell
2024-10-02 18:26:14 +02:00
6448bf5916
chore(README): bump component version
2024-09-16 09:41:08 +00:00
0f62d5e822
fix: allow jobs to omit the "nix" option
2024-09-16 09:31:35 +00:00
854dfb6a90
chore(README): bump component version
...
[skip ci]
2024-09-13 18:44:37 +00:00
edaf08205b
Merge branch 'feat/improve-caching' into 'main'
...
feat: add support for Gitlab CI cache
Closes #2
See merge request TECHNOFAB/nix-gitlab-ci!4
2024-09-13 18:43:56 +00:00
78e6c5e278
feat: improve caching
2024-09-13 18:43:56 +00:00
39748cb380
chore(README): bump component version
...
[skip ci]
2024-09-13 17:55:05 +00:00
a2a7f7c4ed
chore(CI): build image on tag & tag images with short sha instead of date
2024-09-13 17:54:24 +02:00
97f49cbdf6
chore: add treefmt and format files
2024-09-13 17:22:38 +02:00
f30adf88d3
Merge branch 'feat/cicd-component' into 'main'
...
feat: add CI Component template
See merge request TECHNOFAB/nix-gitlab-ci!3
2024-09-11 15:03:43 +00:00
4e039a6b92
feat: add CI Component template
2024-09-11 15:03:42 +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
ed80957884
docs(README): adjust input url for new lib flake
2024-07-28 14:53:15 +02:00
6bde7a5dfa
Merge branch 'feat/split-flake' into 'main'
...
feat: split lib and utils into separate flake
See merge request TECHNOFAB/nix-gitlab-ci!2
2024-07-28 12:51:14 +00:00
f361878e13
feat: split lib and utils into separate flake
2024-07-28 12:51:14 +00:00
c272bfd812
fix: allow rules to contain attrs
2024-03-23 21:09:05 +01:00
d26ead5f0b
fix: typo
2024-03-23 21:07:26 +01: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
85e18c5766
Merge branch 'cache' into 'main'
...
feat: caching support
See merge request TECHNOFAB/nix-gitlab-ci!1
2024-03-17 15:44:22 +00:00
3a05d7a128
feat: caching support
2024-03-17 15:44:22 +00:00
426d89702a
fix(utils): create ~/.ssh/known_hosts if it does not exist
2024-02-03 16:18:02 +01:00
262729e9bb
fix: add most gitlab options
2024-01-27 13:06:34 +01:00
3161819c57
fix: rules are a list of attrs
2024-01-26 15:13:17 +01:00
7cd9c571fe
feat: add utilities
2024-01-26 14:55:03 +01:00
3413fc3639
fix: add artifacts option
2024-01-26 12:25:59 +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
ff363cb165
fix(gitlab-ci-config): filter out any unset (null) values
2024-01-14 18:13:26 +01:00
77fded1940
fix: repository name must be lowercase
...
add some more job options
2024-01-14 18:02:05 +01:00
f3485837ce
fix: add when and start_in option
2024-01-14 17:17:24 +01:00
1b963cb641
chore: add README
2024-01-14 17:09:23 +01:00
0df36ad437
chore: initial commit
2024-01-14 16:45:07 +01:00