mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-11 17:50:08 +01:00
chore(ci): try setting ssl env vars in the test directly (cuz pure mode)
This commit is contained in:
parent
5e2ae29660
commit
2a0a3f5881
2 changed files with 2 additions and 4 deletions
|
|
@ -64,10 +64,6 @@ in
|
||||||
script = [
|
script = [
|
||||||
"nix run .#tests -- --junit=junit.xml"
|
"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;
|
allow_failure = true;
|
||||||
artifacts = {
|
artifacts = {
|
||||||
when = "always";
|
when = "always";
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,8 @@
|
||||||
''
|
''
|
||||||
${ntlib.helpers.scriptHelpers}
|
${ntlib.helpers.scriptHelpers}
|
||||||
${ntlib.helpers.path (with pkgs; [coreutils nix gnused gnugrep jq])}
|
${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=${../.}
|
repo_path=${../.}
|
||||||
|
|
||||||
cp ${./fixtures/flake_parts}/* .
|
cp ${./fixtures/flake_parts}/* .
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue