Skip to content

Commit

Permalink
Enable promote during nightly build. If the nightly cron job does not…
Browse files Browse the repository at this point in the history
… promote, then the last build analyzed by mend is not necessarily the last build promoted. This is a problem.
  • Loading branch information
erwan-serandour committed Nov 7, 2024
1 parent f3169db commit e162c2d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ env:

### Project variables
DEPLOY_PULL_REQUEST: true
NIGHTLY_CRON: 'nightly-cron'

#
# RE-USABLE CONFIGS
Expand All @@ -29,9 +28,6 @@ container_definition: &CONTAINER_DEFINITION
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
#
Expand Down Expand Up @@ -128,7 +124,6 @@ promote_task:
depends_on:
- qa
<<: *ONLY_SONARSOURCE_QA
<<: *EXCEPT_ON_NIGHTLY_CRON
eks_container:
<<: *CONTAINER_DEFINITION
cpu: 0.5
Expand Down

0 comments on commit e162c2d

Please sign in to comment.