mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
nixos/gitlab-runner: let script options accept scripts as strings (#344644)
This commit is contained in:
commit
e94bbdd993
@ -499,21 +499,21 @@ in {
|
||||
'';
|
||||
};
|
||||
preGetSourcesScript = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
type = types.nullOr (types.either types.str types.path);
|
||||
default = null;
|
||||
description = ''
|
||||
Runner-specific command script executed before code is pulled.
|
||||
'';
|
||||
};
|
||||
postGetSourcesScript = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
type = types.nullOr (types.either types.str types.path);
|
||||
default = null;
|
||||
description = ''
|
||||
Runner-specific command script executed after code is pulled.
|
||||
'';
|
||||
};
|
||||
preBuildScript = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
type = types.nullOr (types.either types.str types.path);
|
||||
default = null;
|
||||
description = ''
|
||||
Runner-specific command script executed after code is pulled,
|
||||
@ -521,7 +521,7 @@ in {
|
||||
'';
|
||||
};
|
||||
postBuildScript = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
type = types.nullOr (types.either types.str types.path);
|
||||
default = null;
|
||||
description = ''
|
||||
Runner-specific command script executed after code is pulled
|
||||
|
Loading…
Reference in New Issue
Block a user