chore(ci): try setting ssl env vars in the test directly (cuz pure mode)

This commit is contained in:
technofab 2025-09-04 08:39:37 +02:00
parent 5e2ae29660
commit 2a0a3f5881
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View file

@ -64,10 +64,6 @@ 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";

View file

@ -14,6 +14,8 @@
''
${ntlib.helpers.scriptHelpers}
${ntlib.helpers.path (with pkgs; [coreutils nix gnused gnugrep jq])}
export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt
export NIX_SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt
repo_path=${../.}
cp ${./fixtures/flake_parts}/* .