-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Chronos jobs to override taskInfo data
- Add 'taskInfoData' field to Chronos jobs - If specified on a job, this data is placed in the data field of the taskInfo object, which is passed to the mesos executor. - If not specified, then default Chronos task data is used (as per previous behaviour).
- Loading branch information
1 parent
9d1d46b
commit c2ae724
Showing
9 changed files
with
35 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ class SerDeTest extends SpecificationWithJUnit { | |
val fetch = Seq(Fetch("https://mesos.github.io/chronos/", true, false, true)) | ||
|
||
val a = new DependencyBasedJob(Set("B", "C", "D", "E"), "A", "noop", Minutes.minutes(5).toPeriod, 10L, | ||
20L, "fooexec", "fooflags", 7, "[email protected]", "Foo", "Test dependency-based job", "TODAY", | ||
20L, "fooexec", "fooflags", "", 7, "[email protected]", "Foo", "Test dependency-based job", "TODAY", | ||
"YESTERDAY", true, container = container, environmentVariables = environmentVariables, | ||
shell = false, arguments = arguments, softError = true, constraints = constraints, fetch = fetch) | ||
|
||
|
@@ -90,7 +90,7 @@ class SerDeTest extends SpecificationWithJUnit { | |
val fetch = Seq(Fetch("https://mesos.github.io/chronos/", true, false, true)) | ||
|
||
val a = new ScheduleBasedJob("FOO/BAR/BAM", "A", "noop", Minutes.minutes(5).toPeriod, 10L, 20L, | ||
"fooexec", "fooflags", 7, "[email protected]", "Foo", "Test schedule-based job", "TODAY", | ||
"fooexec", "fooflags", "", 7, "[email protected]", "Foo", "Test schedule-based job", "TODAY", | ||
"YESTERDAY", true, container = container, environmentVariables = environmentVariables, | ||
shell = true, arguments = arguments, softError = true, constraints = constraints, fetch = fetch) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters