Move timestamps for cron scheduler to the project.yaml
Move 'disabled' option to the project.yaml
Change-Id: I32a0aa37503a266e58dcdcb45a1dc6a93788c872
Related-Prod: #PROD-34955
diff --git a/jobs/templates/heat-cicd-queens-contrail41-sl.yml b/jobs/templates/heat-cicd-queens-contrail41-sl.yml
index a12cc74..9aa9c40 100644
--- a/jobs/templates/heat-cicd-queens-contrail41-sl.yml
+++ b/jobs/templates/heat-cicd-queens-contrail41-sl.yml
@@ -3,10 +3,11 @@
project-type: pipeline
description: '{job-description}'
concurrent: true
- disabled: true
name: heat-cicd-queens-contrail41-sl
+ # 'disabled' and 'timed' option are defined in the project.yaml
+ disabled: '{obj:disabled}'
triggers:
- - timed: H(5-30) 23 * * 1-7
+ - timed: '{obj:trigger_time}'
parameters:
- string:
default: heat-cicd-queens-contrail41-sl