diff options
author | Matteo Mara <matteo.mara@sonarsource.com> | 2023-04-27 17:47:14 +0200 |
---|---|---|
committer | matteo-mara-sonarsource <98599122+matteo-mara-sonarsource@users.noreply.github.com> | 2023-04-28 11:00:18 +0200 |
commit | daea745870cc84392909b17ee6fcb1d264b6e790 (patch) | |
tree | e945ed349dbe7ee33819569aeb5ccaebee8395a4 | |
parent | a7fde67f06136665e08b3d54d5ef82a0e9674eab (diff) | |
download | sonar-scanner-cli-daea745870cc84392909b17ee6fcb1d264b6e790.tar.gz sonar-scanner-cli-daea745870cc84392909b17ee6fcb1d264b6e790.zip |
[NO-JIRA] Update cirrus config to skip promote task on nightly cron executed QA
-rw-r--r-- | .cirrus.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index f8aee16..6446b40 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -24,7 +24,7 @@ env: ### Project variables DEPLOY_PULL_REQUEST: true ARTIFACTS: org.sonarsource.scanner.cli:sonar-scanner-cli:jar - + NIGHTLY_CRON: 'nightly-cron' # # RE-USABLE CONFIGS # @@ -47,6 +47,9 @@ ec2_instance: &EC2_INSTANCE_WINDOWS only_sonarsource_qa: &ONLY_SONARSOURCE_QA only_if: $CIRRUS_USER_COLLABORATOR == 'true' && ($CIRRUS_PR != "" || $CIRRUS_BRANCH == "master" || $CIRRUS_BRANCH =~ "branch-.*" || $CIRRUS_BRANCH =~ "dogfood-on-.*") +except_nightly_cron: &EXCEPT_ON_NIGHTLY_CRON + only_if: $CIRRUS_CRON != $NIGHTLY_CRON + # # TASKS # @@ -153,6 +156,7 @@ promote_task: - win_qa_java11 - win_qa_java17 <<: *ONLY_SONARSOURCE_QA + <<: *EXCEPT_ON_NIGHTLY_CRON eks_container: <<: *EKS_CONTAINER cpu: 0.5 |