Skip to content

Commit 8ce5861

Browse files
SONAR-25528 Skip conditions to trigger package tasks in the event of releases
1 parent b8d373c commit 8ce5861

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

.cirrus/tasks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
chart_fixture_test_task:
22
<<: *ONLY_ON_NON_RELEASE_DRAFT_TEMPLATE
3-
skip: "!changesInclude('.cirrus/Dockerfile', 'charts/**/*', '.cirrus/*') && $CIRRUS_CRON != $NIGHTLY_CRON"
3+
skip: "$CIRRUS_PRERELEASE == \"true\" && $CIRRUS_RELEASE == \"\" && !changesInclude('.cirrus/Dockerfile', 'charts/**/*', '.cirrus/*') && $CIRRUS_CRON != $NIGHTLY_CRON"
44
timeout_in: 30m
55
eks_container:
66
<<: *CONTAINER_TEMPLATE
@@ -14,7 +14,7 @@ chart_fixture_test_task:
1414
- git diff --exit-code
1515

1616
chart_schema_test_task:
17-
skip: "!changesInclude('.cirrus/Dockerfile', 'charts/**/*', '.cirrus/schema_test.sh', 'tests/unit-test/*', 'tests/unit-test/**/*') && $CIRRUS_CRON != $NIGHTLY_CRON"
17+
skip: "$CIRRUS_PRERELEASE == \"true\" && $CIRRUS_RELEASE == \"\" && !changesInclude('.cirrus/Dockerfile', 'charts/**/*', '.cirrus/schema_test.sh', 'tests/unit-test/*', 'tests/unit-test/**/*') && $CIRRUS_CRON != $NIGHTLY_CRON"
1818
eks_container:
1919
<<: *CONTAINER_TEMPLATE
2020
cpu: 1

.cirrus/tasks_sonarqube.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SKIP_IF_NOT_SONARQUBE: &SKIP_IF_NOT_SONARQUBE
2-
skip: "!changesInclude('.cirrus/Dockerfile', 'charts/sonarqube/*', 'charts/sonarqube/**/*', 'tests/unity-compatibility-test/sonarqube/*', '.cirrus/*.sh', '.cirrus/tasks{_sonarqube,_templates,}.yml', '.cirrus/tasks.star', '.cirrus.star') && $CIRRUS_CRON != $NIGHTLY_CRON"
2+
skip: "$CIRRUS_PRERELEASE == \"true\" && $CIRRUS_RELEASE == \"\" && !changesInclude('.cirrus/Dockerfile', 'charts/sonarqube/*', 'charts/sonarqube/**/*', 'tests/unity-compatibility-test/sonarqube/*', '.cirrus/*.sh', '.cirrus/tasks{_sonarqube,_templates,}.yml', '.cirrus/tasks.star', '.cirrus.star') && $CIRRUS_CRON != $NIGHTLY_CRON"
33

44
sonarqube_chart_static_compatibility_test_task:
55
<<: *CHART_STATIC_COMPATIBILITY_TEST_TEMPLATE

.cirrus/tasks_sonarqube_dce.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SKIP_IF_NOT_SONARQUBE_DCE: &SKIP_IF_NOT_SONARQUBE_DCE
2-
skip: "!changesInclude('.cirrus/Dockerfile', 'charts/sonarqube-dce/*', 'charts/sonarqube-dce/**/*', 'tests/unity-compatibility-test/sonarqube-dce/*', '.cirrus/*.sh', '.cirrus/tasks{_sonarqube_dce,_templates,}.yml', '.cirrus/tasks.star', '.cirrus.star') && $CIRRUS_CRON != $NIGHTLY_CRON"
2+
skip: "$CIRRUS_PRERELEASE == \"true\" && $CIRRUS_RELEASE == \"\" && !changesInclude('.cirrus/Dockerfile', 'charts/sonarqube-dce/*', 'charts/sonarqube-dce/**/*', 'tests/unity-compatibility-test/sonarqube-dce/*', '.cirrus/*.sh', '.cirrus/tasks{_sonarqube_dce,_templates,}.yml', '.cirrus/tasks.star', '.cirrus.star') && $CIRRUS_CRON != $NIGHTLY_CRON"
33

44
sonarqube_dce_chart_static_compatibility_test_task:
55
<<: *CHART_STATIC_COMPATIBILITY_TEST_TEMPLATE

.cirrus/tasks_templates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ clone_script_template: &CLONE_SCRIPT_TEMPLATE
4848
4949
chart_static_compatibility_test: &CHART_STATIC_COMPATIBILITY_TEST_TEMPLATE
5050
<<: *ONLY_ON_NON_RELEASE_DRAFT_TEMPLATE
51-
skip: "!changesInclude('charts/**/*', '.cirrus/*') && $CIRRUS_CRON != $NIGHTLY_CRON"
51+
skip: "$CIRRUS_PRERELEASE == \"true\" && $CIRRUS_RELEASE == \"\" && !changesInclude('charts/**/*', '.cirrus/*') && $CIRRUS_CRON != $NIGHTLY_CRON"
5252
timeout_in: 30m
5353
eks_container:
5454
<<: *CONTAINER_TEMPLATE
@@ -83,7 +83,7 @@ chart_testing_on_openshift: &CHART_TESTING_ON_OPENSHIFT_TEMPLATE
8383

8484
chart_testing_on_kind: &CHART_TESTING_ON_KIND_TEMPLATE
8585
<<: *ONLY_ON_NON_RELEASE_DRAFT_TEMPLATE
86-
skip: "!changesInclude('charts/**/*', '.cirrus/*') && $CIRRUS_CRON != $NIGHTLY_CRON"
86+
skip: "$CIRRUS_PRERELEASE == \"true\" && $CIRRUS_RELEASE == \"\" && !changesInclude('charts/**/*', '.cirrus/*') && $CIRRUS_CRON != $NIGHTLY_CRON"
8787
timeout_in: 1h
8888
ec2_instance:
8989
<<: *VM_TEMPLATE

charts/sonarqube/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ All changes to this chart will be documented in this file.
88
* Support Kubernetes v1.32
99
* Add the possibility of to save the data with hostpath
1010

11+
## [2025.3.1]
12+
* Update Chart's version to 2025.3.1
13+
* Upgrade SonarQube Server to 2025.3.1
14+
1115
## [2025.3.0]
1216
* Update Chart's version to 2025.3.0
1317
* Upgrade SonarQube Community Build to 25.5.0.107428

0 commit comments

Comments
 (0)