mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-11 17:50:08 +01:00
chore(CI): modify cache_files and add ssl ca certs to test job
This commit is contained in:
parent
cf04bf5357
commit
a076f0048a
3 changed files with 10 additions and 1 deletions
|
|
@ -1,10 +1,11 @@
|
|||
{inputs, ...}: let
|
||||
inherit (inputs) cilib;
|
||||
inherit (inputs) pkgs cilib;
|
||||
in
|
||||
cilib.mkCI {
|
||||
config.soonix = {
|
||||
componentUrl = "$CI_SERVER_FQDN/$CI_PROJECT_PATH/nix-gitlab-ci";
|
||||
componentVersion = "$CI_COMMIT_SHORT_SHA";
|
||||
componentInputs.cache_files = ["flake.*" "nix/repo/ci.nix"];
|
||||
# bootstrapping still needs to be done in the gitlab-ci.yml directly,
|
||||
# the child pipeline can then use the built images to test them
|
||||
extraData = {
|
||||
|
|
@ -63,6 +64,10 @@ in
|
|||
script = [
|
||||
"nix run .#tests -- --junit=junit.xml"
|
||||
];
|
||||
variables = {
|
||||
"SSL_CERT_FILE" = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
"NIX_SSL_CERT_FILE" = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
};
|
||||
allow_failure = true;
|
||||
artifacts = {
|
||||
when = "always";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue