From ce3c6c8113c96b1969e7d1f6c19c0d4a939aac45 Mon Sep 17 00:00:00 2001 From: Antoine Vigneau Date: Thu, 7 Dec 2023 14:50:57 +0100 Subject: [PATCH] SONAR-21221 Exclude package-docker from the weekly CI cron --- .cirrus.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index b5b4cfe56d6..b20462d5cb7 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -74,6 +74,9 @@ except_nightly_task_template: &EXCEPT_ON_NIGHTLY_TASK_TEMPLATE except_weekly_task_template: &EXCEPT_ON_WEEKLY_TASK_TEMPLATE only_if: $CIRRUS_CRON != $CRON_DATABASE_JOB_NAME +only_on_main_branch_task_template: &ONLY_ON_MAIN_BRANCH_TASK_TEMPLATE + only_if: $CIRRUS_BRANCH == $BRANCH_MAIN + database_related_task_template: &DATABASE_RELATED_TASK_TEMPLATE only_if: >- $CIRRUS_BRANCH == $BRANCH_MAIN || $CIRRUS_BRANCH =~ $BRANCH_PATTERN_MAINTENANCE || $CIRRUS_BRANCH == $BRANCH_NIGHTLY || @@ -699,8 +702,8 @@ promote_task: package_docker_task: <<: *DEFAULT_TEMPLATE + only_if: $CIRRUS_BRANCH == $BRANCH_MAIN && $CIRRUS_CRON != $CRON_DATABASE_JOB_NAME depends_on: promote - only_if: $CIRRUS_BRANCH == $BRANCH_MAIN ec2_instance: <<: *VM_TEMPLATE clone_script: | -- 2.39.5