Refactor int/pack timer triggers, reduce infra 63/77963/2
authorDaniel Farrell <dfarrell@redhat.com>
Tue, 20 Nov 2018 00:39:18 +0000 (00:39 +0000)
committerDaniel Farrell <dfarrell@redhat.com>
Tue, 20 Nov 2018 01:18:23 +0000 (01:18 +0000)
Adjust job timers to trigger less frequently with the goal of reducing
infrastructure costs. Move most daily jobs to weekly, some weekly to
monthly.

Also introduces a few new timed triggers to ensure most/all jobs get
triggered at some (weekly/monthly) fixed period. This does add a few new
jobs, but overall this patch reduces the total number of jobs.

Change-Id: I8ef4ae1fd9823169a5e24a020f3eb3a7e64a4bbe
JIRA: INTPAK-220
JIRA: INTPAK-174
JIRA: INTPAK-14
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
jjb/packaging/ansible.yaml
jjb/packaging/packaging.yaml
jjb/packaging/puppet.yaml

index ba354da81c7c697682c14561c45adc194bf10650..f3e9a2566aa9a5110843e9f2b55030ec860fe914 100644 (file)
@@ -49,7 +49,7 @@
       - shell: !include-raw: test-ansible-rpm-custom-config.sh
 
     triggers:
-      - timed: '@daily'
+      - timed: '@weekly'
       - gerrit-trigger-patch-submitted:
           gerrit-server-name: '{gerrit-server-name}'
           project: '{project}'
@@ -96,7 +96,7 @@
       - shell: !include-raw: test-ansible-deb-custom-config.sh
 
     triggers:
-      - timed: '@daily'
+      - timed: '@weekly'
       - gerrit-trigger-patch-submitted:
           gerrit-server-name: '{gerrit-server-name}'
           project: '{project}'
index d563c9daedd25279bc233d5f872550bef0079f69..3bb51cf4a5db6ca4f67ac4f4e74e7405a2132f85 100644 (file)
       - install-test-uninstall-rpm
 
     triggers:
+      - timed: '@weekly'
       - gerrit-trigger-patch-submitted:
           gerrit-server-name: '{gerrit-server-name}'
           project: '{project}'
       - install-test-uninstall-rpm
 
     triggers:
-      - timed: '@daily'
+      - timed: '@weekly'
       - gerrit:
           server-name: '{gerrit-server-name}'
           trigger-on:
       - shell: !include-raw: stop-odl.sh
       - shell: !include-raw: uninstall-rpm.sh
 
+    triggers:
+      - timed: '@monthly'
+
     publishers:
       # TODO: Remove the archive publisher
       #       small data should be stored on logs.opendaylight.org
       - installrepcfg-upgrade-start-test-stop-rpm
 
     triggers:
+      - timed: '@weekly'
       - gerrit-trigger-patch-submitted:
           gerrit-server-name: '{gerrit-server-name}'
           project: '{project}'
       - shell: !include-raw: stop-odl.sh
       - shell: !include-raw-escape: uninstall-deb.sh
 
+    triggers:
+      - timed: '@monthly'
+
     publishers:
       - lf-infra-publish
 
           upload-files-dir: '{upload-files-dir}'
           maven-repo-url: '{maven-repo-url}'
 
+    triggers:
+      - timed: '@monthly'
+
     publishers:
       - lf-infra-publish
 
index c9efe59721efdfe3e781b32e9a7fb3487f3b2c63..63abac12134ba4ccccf78e3f04e1b6cf90fe99b1 100644 (file)
@@ -55,7 +55,7 @@
       - shell: !include-raw: test-puppet.sh
 
     triggers:
-      - timed: '@weekly'
+      - timed: '@monthly'
       - gerrit-trigger-patch-submitted:
           gerrit-server-name: '{gerrit-server-name}'
           project: '{project}'
       - shell: !include-raw: test-puppet.sh
 
     triggers:
-      - timed: '@daily'
+      - timed: '@weekly'
       - gerrit:
           server-name: '{gerrit-server-name}'
           trigger-on: