Commit graph

141 commits

Author SHA1 Message Date
Skryta Istota
fb234b80bf
chore(ci) Added job to check correct passing of variables
Append a test for the correctness of transfer and creation of environment variables in ci,
and added the required packages to run the remaining jobs in the terminal.
2025-12-02 15:35:56 +01:00
Skryta Istota
d8e55a05b2
fix(nixfmt) Formatted modified files to default style
The style of files modified in this branch has been corrected.
2025-12-02 15:15:15 +01:00
Skryta Istota
fc79dd5120
chore(cilib_test) Improved tests for generating cache settings
Changed tests for generating cache configurations to consider single settings for ci.
2025-11-30 14:44:44 +01:00
Skryta Istota
8487c78246
fix(ci) Fixed downloading images from project forks for ci
Improved container image location guessing for repository forks.
2025-11-30 14:14:14 +01:00
Skryta Istota
0f9d0aae60
fix(jobPatched) Fixed some attributes not being passed into ci
Fixed modifying continuous integration settings attributes only when the job is configured via nix,
plus improved tests for this functionality.
2025-11-30 12:55:22 +01:00
Skryta Istota
d2f8a70675
fix(jobPatched) Removed too frequent filtering of variables
Removed excessive disposal of environment variables containing paths to nix store package files,
plus improved tests for this functionality.
2025-11-30 12:46:50 +01:00
Skryta Istota
f84edb7760
fix(storeDir) Use the builtin nix store location indicator
Minor fixes in the variable filtering function with nix packages.
2025-11-30 11:44:23 +01:00
Skryta Istota
58a0db7861
tests(cilib_test) Extended test definition for the ci lib
Extended the definition of tests for the continuous integration library,
allowing for more in-depth testing of odd behavior of some library functions.
2025-11-30 11:22:55 +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
8e50828a2e ci: add nixtest job 2025-05-10 20:00:30 +02:00