forked from lix-project/hydra
whoops: add a test on the enable_dynamic_run_command field
This commit is contained in:
parent
8a96f07f58
commit
2635607b6e
|
@ -607,6 +607,9 @@ components:
|
||||||
enabled:
|
enabled:
|
||||||
description: when set to true the project gets scheduled for evaluation
|
description: when set to true the project gets scheduled for evaluation
|
||||||
type: boolean
|
type: boolean
|
||||||
|
enable_dynamic_run_command:
|
||||||
|
description: when true the project's jobsets support executing dynamically defined RunCommand hooks. Requires the server and project's configuration to also enable dynamic RunCommand.
|
||||||
|
type: boolean
|
||||||
declarative:
|
declarative:
|
||||||
description: declarative input configured for this project
|
description: declarative input configured for this project
|
||||||
type: object
|
type: object
|
||||||
|
|
|
@ -46,6 +46,7 @@ subtest "Read project 'tests'" => sub {
|
||||||
description => "",
|
description => "",
|
||||||
displayname => "Tests",
|
displayname => "Tests",
|
||||||
enabled => JSON::MaybeXS::true,
|
enabled => JSON::MaybeXS::true,
|
||||||
|
enable_dynamic_run_command => JSON::MaybeXS::false,
|
||||||
hidden => JSON::MaybeXS::false,
|
hidden => JSON::MaybeXS::false,
|
||||||
homepage => "",
|
homepage => "",
|
||||||
jobsets => [],
|
jobsets => [],
|
||||||
|
@ -85,6 +86,7 @@ subtest "Transitioning from declarative project to normal" => sub {
|
||||||
description => "",
|
description => "",
|
||||||
displayname => "Tests",
|
displayname => "Tests",
|
||||||
enabled => JSON::MaybeXS::true,
|
enabled => JSON::MaybeXS::true,
|
||||||
|
enable_dynamic_run_command => JSON::MaybeXS::false,
|
||||||
hidden => JSON::MaybeXS::false,
|
hidden => JSON::MaybeXS::false,
|
||||||
homepage => "",
|
homepage => "",
|
||||||
jobsets => [".jobsets"],
|
jobsets => [".jobsets"],
|
||||||
|
@ -128,6 +130,7 @@ subtest "Transitioning from declarative project to normal" => sub {
|
||||||
description => "",
|
description => "",
|
||||||
displayname => "Tests",
|
displayname => "Tests",
|
||||||
enabled => JSON::MaybeXS::true,
|
enabled => JSON::MaybeXS::true,
|
||||||
|
enable_dynamic_run_command => JSON::MaybeXS::false,
|
||||||
hidden => JSON::MaybeXS::false,
|
hidden => JSON::MaybeXS::false,
|
||||||
homepage => "",
|
homepage => "",
|
||||||
jobsets => [],
|
jobsets => [],
|
||||||
|
|
Loading…
Reference in a new issue