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/project.yaml b/jobs/project.yaml
index 84dd470..9956bf4 100644
--- a/jobs/project.yaml
+++ b/jobs/project.yaml
@@ -3,26 +3,42 @@
- project:
name: sre
jobs:
- - heat-cicd-pike-dvr-sl
- - heat-cicd-queens-contrail41-sl
- - heat-cicd-queens-dvr-sl
+ - heat-cicd-pike-dvr-sl:
+ disabled: false
+ trigger_time: H(5-30) 22 * * 1-7
+ - heat-cicd-queens-contrail41-sl:
+ disabled: false
+ trigger_time: H(5-30) 23 * * 1-7
+ - heat-cicd-queens-dvr-sl:
+ disabled: false
+ trigger_time: H(5-30) 21 * * 1-7
# ------- BM jobs -------
- - deploy_bm
+ - deploy_bm:
+ disabled: false
+ trigger_time: H(40-59) 0 * * 1-5
- bm-cicd-pike-ovs-maas
- bm-cicd-queens-ovs-maas
- heat-bm-cicd-pike-contrail-sl
- heat-bm-cicd-queens-contrail-sl
- released-bm-pike-ovs
# --- Released envs ------
- - deploy-released
+ - deploy-released:
+ disabled: false
+ trigger_time: H(20-30) 1 * * 1-5
- released-heat-cicd-pike-dvr-sl
- released-heat-cicd-pike-contrail41-sl
- released-heat-cicd-queens-dvr-sl
- released-heat-cicd-queens-contrail41-sl
# ----- Release Artifacts jobs ---
- - 2019.2.0-heat-cicd-pike-dvr-sl
- - 2019.2.0-heat-cicd-queens-contrail41-sl
- - 2019.2.0-heat-cicd-queens-dvr-sl
+ - 2019.2.0-heat-cicd-pike-dvr-sl:
+ disabled: true
+ trigger_time: H(5-30) 22 * * 1-7
+ - 2019.2.0-heat-cicd-queens-contrail41-sl:
+ disabled: true
+ trigger_time: H(5-30) 23 * * 1-7
+ - 2019.2.0-heat-cicd-queens-dvr-sl:
+ disabled: true
+ trigger_time: H(5-30) 21 * * 1-7
# - show_networks_used_by_libvirt - can't moved to JJB, node parameter is not supported
- maintenance-heat-cicd-pike-dvr-sl
- download-config-drive