From: Michael Jeanson Date: Wed, 6 Sep 2023 19:23:09 +0000 (-0400) Subject: jjb: lttng-modules: refactor triggers X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d5ff1878970cb321c34b81e755c1c50970e75ebd;p=lttng-ci.git jjb: lttng-modules: refactor triggers Refactor triggers for lttng-modules kernel buils. '(cross)build-vanilla': - hourly check for lttng-modules commits - daily (22:00) check for new kernel tags 'fullbuild-vanilla': - friday at midnight check for lttng-modules commits 'build-{UBUNTU}': - hourly check for lttng-modules commits - saturday at midnight check for new ubuntu kernel tags 'build-rt': - hourly check for lttng-modules commits - sunday at midnight check for new rt kernel tags Change-Id: I9b827d926f89c81f49e6689b3c12f9688ae7ede4 Signed-off-by: Michael Jeanson --- diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index cc77abb..49cdc29 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -239,7 +239,8 @@ scm: [] triggers: - - timed: "@hourly" + # Check for new kernel tags everay day at 22:00 + - timed: "0 22 * * *" builders: - system-groovy: @@ -262,6 +263,11 @@ node: 'master' + triggers: + # Check for new commits every hour + - pollscm: + cron: "@hourly" + <<: *lttng-modules_build_parameters_defaults <<: *lttng-modules_build_builders_defaults @@ -279,6 +285,9 @@ node: 'master' + # This is a test job, no triggers + triggers: [] + parameters: - string: name: 'maxConcurrentBuild' @@ -372,8 +381,9 @@ <<: *lttng-modules_build_builders_defaults triggers: + # Check for new commits every friday at midnight - pollscm: - cron: "@midnight" + cron: "0 0 * * 5" - job-template: name: lttng-modules_{mversion}_{buildtype}-{uversion} @@ -389,6 +399,13 @@ node: 'master' + triggers: + # Check for new commits every hour + - pollscm: + cron: "@hourly" + # Also run every saturday at midnight to catch new ubuntu kernel tags + - timed: "0 0 * * 6" + <<: *lttng-modules_build_parameters_ubuntu <<: *lttng-modules_build_builders_defaults @@ -427,6 +444,13 @@ node: 'master' + triggers: + # Check for new commits every hour + - pollscm: + cron: "@hourly" + # Also run every sunday at midnight to catch new rt kernel tags + - timed: "0 0 * * 7" + <<: *lttng-modules_build_parameters_rt <<: *lttng-modules_build_rt_builders_defaults