Commit graph

142 commits

Author SHA1 Message Date
555ae3de29
chore: update flakes 2025-12-05 20:21:26 +01:00
8eadfb56ba
fix(modules): fold was deprecated, replace with foldr 2025-12-05 20:16:37 +01:00
8a77208ebe
chore: bump version 2025-12-03 21:02:46 +01:00
1e9ddff300
fix(modules/job): fix variables with nix store paths getting dropped 2025-12-03 20:47:39 +01:00
59f8bd169a
chore: bump version 2025-12-02 15:12:28 +01:00
97fb4fafc3
fix(jobPatched): handle non-nix jobs correctly
fix mkJobPatched removing `cache` and `variables` from non-nix jobs

See !15 for more
2025-12-02 15:10:35 +01:00
1c9e7c77c5
chore: add test and docs for handling nix store paths in global variables 2025-12-02 15:09:27 +01:00
Skryta Istota
96e6fe59bf
ci: fix oci image used for dog fooding & forks 2025-12-02 14:31:27 +01:00
Skryta Istota
d0662e3185
fix(helpers): use builtin nix store location indicator 2025-12-02 14:30:54 +01:00
524bdf9cdc
chore: bump version 2025-11-13 21:44:28 +01:00
f5181b7b61
fix(sandbox_helper): fix comparisons, rename TMPDIR variable, add help
1. fixes comparisons with true for flag variables
2. renames TMPDIR to NGCI_TMPDIR so it doesn't interfere with the
   standardized TMPDIR var (and at some point accidentally deleting /tmp)
3. add small help message when invalid arg/param is passed
4. run `git add .` on copied git repo in /tmp so staged files stay
   staged there aswell
2025-11-13 21:40:24 +01:00
afe1e02310
fix(job): use unmodified job for mkJobRun
otherwise it tries to run "setup_nix_ci" etc. when running locally,
which doesn't make sense here
2025-11-13 21:39:38 +01:00
fa33f6e0b7
chore: alias original pipeline source & document component issue
Closes #27
2025-10-09 14:04:21 +02:00
7cb73d2319
chore: bump version 2025-10-06 17:56:57 +02:00
5e39c4fbcc
Merge branch 'feat/v3' 2025-10-06 17:54:43 +02:00
046656458b
chore: remove old files in preparation for rewrite 2025-10-06 17:53:51 +02:00
d88ada2c41
chore: bump version 2025-09-25 14:50:24 +02:00
0cca02f442
feat: implement all (?) ci yaml keywords 2025-09-25 14:49:46 +02:00
e752f71dd1
docs: use svg logo, add style.css and fix sitemap 2025-09-25 13:18:06 +02:00
428afaf603
chore(repo): update nixmkdocs 2025-09-05 09:02:42 +02:00
00cf5b83c6
chore: bump version 2025-09-04 10:29:56 +02:00
2a0a3f5881
chore(ci): try setting ssl env vars in the test directly (cuz pure mode) 2025-09-04 08:39:37 +02:00
5e2ae29660
chore: better solution for handling store paths in variables 2025-09-04 08:34:25 +02:00
31f0e4ea13
fix(jobPatched): fix variables not being unset if all contain store paths
the goal was to remove "variables" when it's empty, but this resulted in
the original value being used if all of the variables contained store
paths. This is not supposed to happen and thus fixed with this.
2025-09-03 15:17:51 +02:00
a076f0048a
chore(CI): modify cache_files and add ssl ca certs to test job 2025-09-03 14:29:56 +02:00
cf04bf5357
fix(sandbox_helper): fix TMPDIR being initialized too late and thus removing /tmp 2025-09-03 14:14:25 +02:00
4d824900d4
fix(module): default image to $NIX_CI_IMAGE 2025-09-03 10:46:47 +02:00
6cd05e503a
fix(ci): only specify component version once 2025-09-03 10:19:11 +02:00
c4a439b839
chore(repo): update nixtest 2025-09-02 13:39:00 +02:00
436e2fde25
test: copy over most tests, add new tests for soonix 2025-09-02 12:08:29 +02:00
0bd75fd1bb
docs: add remaining docs back with some additions/improvements 2025-09-02 11:49:35 +02:00
f147295418
chore: reformat 2025-09-02 11:34:24 +02:00
cad40720a6
docs: improve option descriptions 2025-09-02 11:31:25 +02:00
e7f7043012
docs: add initial docs setup 2025-09-02 11:00:38 +02:00
aa1abf945e
docs: add improved README.md 2025-09-02 10:48:54 +02:00
46bb4fe455
chore: add examples for flake-parts and rensa-nix 2025-09-02 10:48:39 +02:00
537d5c7c87
chore: add LICENSE 2025-09-02 10:36:46 +02:00
6e4347af69
chore(repo): add soonix to generate .gitlab-ci.yml 2025-09-02 10:35:35 +02:00
e074d716c4
test: add basic test for flakeModule functionality 2025-09-01 15:46:07 +02:00
0952ab4145
feat: initial v3 rewrite 2025-09-01 15:04:20 +02:00
0c6949f585 Merge branch 'patch-1' into 'main'
feat: customizable CI stages

See merge request TECHNOFAB/nix-gitlab-ci!13
2025-07-09 11:20:38 +02:00
Alessio Caiazza
625fe732b5 feat: customizable CI stages 2025-07-08 09:30:02 +02:00
f121b10dc9 Merge branch 'testing' into 'main'
Tests

Closes #23

See merge request TECHNOFAB/nix-gitlab-ci!12
2025-06-05 13:57:13 +02:00
69e0f7a419 chore(flake): update nixtest 2025-06-03 12:23:51 +02:00
df35d61170 fix(sandbox_helper): remove '' 2025-06-02 22:15:44 +02:00
95d7a950b9 ci: update test snapshots 2025-05-31 23:08:35 +02:00
2f197d2c50 chore: split everything up into their own files & add a bunch of tests 2025-05-31 21:29:54 +02:00
b309fb59db Merge branch 'main' into testing 2025-05-31 16:06:47 +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