Browse Source

[NO-JIRA] Update cirrus config to skip promote task on nightly cron executed QA

pull/148/head
Matteo Mara 1 year ago
parent
commit
4a7760d35d
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      .cirrus.yml

+ 5
- 1
.cirrus.yml View File

### Project variables ### Project variables
DEPLOY_PULL_REQUEST: true DEPLOY_PULL_REQUEST: true
ARTIFACTS: org.sonarsource.scanner.cli:sonar-scanner-cli:jar ARTIFACTS: org.sonarsource.scanner.cli:sonar-scanner-cli:jar
NIGHTLY_CRON: 'nightly-cron'
# #
# RE-USABLE CONFIGS # RE-USABLE CONFIGS
# #
only_sonarsource_qa: &ONLY_SONARSOURCE_QA only_sonarsource_qa: &ONLY_SONARSOURCE_QA
only_if: $CIRRUS_USER_COLLABORATOR == 'true' && ($CIRRUS_PR != "" || $CIRRUS_BRANCH == "master" || $CIRRUS_BRANCH =~ "branch-.*" || $CIRRUS_BRANCH =~ "dogfood-on-.*") 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 # TASKS
# #
- win_qa_java11 - win_qa_java11
- win_qa_java17 - win_qa_java17
<<: *ONLY_SONARSOURCE_QA <<: *ONLY_SONARSOURCE_QA
<<: *EXCEPT_ON_NIGHTLY_CRON
eks_container: eks_container:
<<: *EKS_CONTAINER <<: *EKS_CONTAINER
cpu: 0.5 cpu: 0.5

Loading…
Cancel
Save