mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 18:20:07 +01:00
rollback(jobPatched) Restored some features for patching jobs for ci
Tests for this filtering of environment variables in ci have also been rollback.
This commit is contained in:
parent
fb234b80bf
commit
0ef6f4d2ff
3 changed files with 5 additions and 6 deletions
|
|
@ -3,7 +3,7 @@
|
|||
helpers,
|
||||
}: let
|
||||
inherit (lib) toList optionalAttrs optional;
|
||||
inherit (helpers) prependToBeforeScript appendToAfterScript;
|
||||
inherit (helpers) prependToBeforeScript appendToAfterScript filterJobVariables;
|
||||
in
|
||||
{
|
||||
key,
|
||||
|
|
@ -19,7 +19,7 @@ in
|
|||
// (appendToAfterScript ["finalize_nix_ci"] job)
|
||||
// (let
|
||||
variables =
|
||||
job.variables or {}
|
||||
(filterJobVariables false job)
|
||||
// optionalAttrs nixConfig.enableRunnerCache {
|
||||
NIX_CI_CACHE_STRATEGY = "runner";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue