Skip to content

Commit

Permalink
BUILD-5722 parent parent oss schedule nightly builds (#191)
Browse files Browse the repository at this point in the history
BUILD-5722 Use up-to-date version of cirrus-modules
BUILD-5722 Enable nightly builds - That way we know day after day if the CI is working properly (ease maintenance)
  • Loading branch information
sebastienvermeille authored Jul 17, 2024
1 parent 75d3246 commit 8f620d5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .cirrus.star
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("github.com/SonarSource/cirrus-modules@v2", "load_features")
load("github.com/SonarSource/cirrus-modules@b1f898b04170567791e1fd75f691f0266aab60af", "load_features") # 3.0.4

def main(ctx):
return load_features(ctx)
18 changes: 10 additions & 8 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ container_definition: &CONTAINER_DEFINITION

only_sonarsource_qa: &ONLY_SONARSOURCE_QA
only_if: >
$CIRRUS_USER_COLLABORATOR == 'true' &&
$CIRRUS_TAG == "" &&
($CIRRUS_PR != ""
|| $CIRRUS_BRANCH == 'master'
|| $CIRRUS_BRANCH =~ "branch-.*"
|| $CIRRUS_BRANCH =~ "dogfood-on-.*"
|| $CIRRUS_BUILD_SOURCE == 'api'
)
(
$CIRRUS_USER_COLLABORATOR == 'true' &&
$CIRRUS_TAG == "" &&
($CIRRUS_PR != ""
|| $CIRRUS_BRANCH == 'master'
|| $CIRRUS_BRANCH =~ "branch-.*"
|| $CIRRUS_BRANCH =~ "dogfood-on-.*"
|| $CIRRUS_BUILD_SOURCE == 'api'
)
) || $CIRRUS_CRON == 'nightly'
build_task:
<<: *ONLY_SONARSOURCE_QA
Expand Down

0 comments on commit 8f620d5

Please sign in to comment.