mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
fix: add when and start_in option
This commit is contained in:
parent
1b963cb641
commit
f3485837ce
2 changed files with 9 additions and 0 deletions
|
|
@ -46,6 +46,7 @@
|
||||||
"test" = {
|
"test" = {
|
||||||
stage = "test";
|
stage = "test";
|
||||||
# wait an hour so the image builds
|
# wait an hour so the image builds
|
||||||
|
when = "delayed";
|
||||||
start_in = "1 hour";
|
start_in = "1 hour";
|
||||||
deps = [pkgs.hello pkgs.curl];
|
deps = [pkgs.hello pkgs.curl];
|
||||||
script = [
|
script = [
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,14 @@
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = cfg.default-nix-image;
|
default = cfg.default-nix-image;
|
||||||
};
|
};
|
||||||
|
when = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
|
};
|
||||||
|
start_in = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
options = with lib; {
|
options = with lib; {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue