Add cron definition to prow.
* Add cron job spec to prow.
This does *not* add any code to actually run the jobs. It's only the
spec and associated plumbing. The plumbing should be cleaned up soon,
since this is a pretty gross commit.
@@ -67,7 +67,7 @@ func main() {
}
ja := jobs.JobAgent{}
- if err := ja.LoadOnce(prowPath+"/presubmit.yaml", prowPath+"/postsubmit.yaml"); err != nil {
+ if err := ja.LoadOnce(prowPath+"/presubmit.yaml", prowPath+"/postsubmit.yaml", prowPath+"/periodic.yaml"); err != nil {
fmt.Printf("Could not load prow configs: %v\n", err)
os.Exit(1)
}
