mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
chore: rename env variables back to non-_ versions
for testing, CI template still needs adjustments
This commit is contained in:
parent
060d8fad47
commit
a63376edf1
2 changed files with 11 additions and 11 deletions
|
|
@ -25,7 +25,7 @@
|
|||
};
|
||||
|
||||
configType = subType {
|
||||
nix-jobs-per-default = mkOption {
|
||||
nix-jobs-by-default = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = "Handle jobs nix-based by default or via opt-in (in a job set nix.enable = true) if false";
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
};
|
||||
image = mkOption {
|
||||
type = types.str;
|
||||
default = "$_NIX_CI_IMAGE";
|
||||
default = "$NIX_CI_IMAGE";
|
||||
};
|
||||
after_script = mkNullOption (types.listOf types.str);
|
||||
allow_failure = mkNullOption (types.either types.attrs types.bool);
|
||||
|
|
@ -258,7 +258,7 @@
|
|||
variables =
|
||||
(filterJobVariables false job)
|
||||
// lib.optionalAttrs job.nix.enable-runner-cache {
|
||||
_NIX_CI_CACHE_STRATEGY = "runner";
|
||||
NIX_CI_CACHE_STRATEGY = "runner";
|
||||
};
|
||||
cache =
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue