Skip to content

Commit

Permalink
REL-3507 Update the community-build number included in the release
Browse files Browse the repository at this point in the history
  • Loading branch information
carminevassallo committed Jan 22, 2025
1 parent 7fdcabe commit f241603
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 11 deletions.
1 change: 1 addition & 0 deletions charts/sonarqube/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All changes to this chart will be documented in this file.
## [2025.1.0]
* Update Chart's version to 2025.1.0
* Upgrade SonarQube Server to 2025.1.0
* Upgrade SonarQube Community Build to 25.1.0.102122
* Update ingress-nginx subchart to 4.11.3
* Support Kubernetes v1.32
* Remove the default passcode provided with `monitoringPasscode`
Expand Down
4 changes: 3 additions & 1 deletion charts/sonarqube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ annotations:
description: "Update Chart's version to 2025.1.0"
- kind: changed
description: "Upgrade SonarQube Server to 2025.1.0"
- kind: changed
description: "Upgrade SonarQube Community Build to 25.1.0.102122"
- kind: changed
description: "Update ingress-nginx subchart to 4.11.3"
- kind: changed
Expand All @@ -47,7 +49,7 @@ annotations:
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/images: |
- name: sonarqube
image: sonarqube:24.12.0.100206-community
image: sonarqube:25.1.0.102122-community
charts.openshift.io/name: sonarqube
dependencies:
- name: postgresql
Expand Down
4 changes: 2 additions & 2 deletions charts/sonarqube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Please note that this chart only supports SonarQube Server Developer and Enterpr
## Compatibility

Compatible SonarQube Server Version: `2025.1.0`
Compatible SonarQube Community Build: `24.12.0.100206`
Compatible SonarQube Community Build: `25.1.0.102122`

Supported Kubernetes Versions: From `1.29` to `1.32`
Supported Openshift Versions: From `4.11` to `4.17`
Expand Down Expand Up @@ -268,7 +268,7 @@ The following table lists the configurable parameters of the SonarQube chart and
| `annotations` | SonarQube Pod annotations | `{}` |
| `edition` | SonarQube Edition to use (`developer` or `enterprise`). | `None` |
| `community.enabled` | Install SonarQube Community Build. When set to `true`, `edition` must not be set. | `false` |
| `community.buildNumber` | The SonarQube Community Build number to install | `24.12.0.100206` |
| `community.buildNumber` | The SonarQube Community Build number to install | `25.1.0.102122` |
| `sonarWebContext` | SonarQube web context, also serve as default value for `ingress.path`, `account.sonarWebContext` and probes path. | `` |
| `httpProxySecret` | Should contain `http_proxy`, `https_proxy` and `no_proxy` keys, will supersede every other proxy variables | `` |
| `httpProxy` | HTTP proxy for downloading JMX agent and install plugins, will supersede initContainer specific http proxy variables | `` |
Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube/ci/cirrus-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image:
pullSecrets:
- name: pullsecret
repository: "sonarsource/sonarqube"
tag: "24.12.0.100206-community"
tag: "25.1.0.102122-community"
monitoringPasscode: "test"
postgresql:
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube/openshift-verifier/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ image:
pullSecrets:
- name: pullsecret
repository: "sonarsource/sonarqube"
tag: "24.12.0.100206-community"
tag: "25.1.0.102122-community"

monitoringPasscode: "test"
2 changes: 1 addition & 1 deletion charts/sonarqube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ OpenShift:
# Set the chart to use the latest released SonarQube Community Build
community:
enabled: false
buildNumber: "24.12.0.100206"
buildNumber: "25.1.0.102122"

image:
repository: sonarqube
Expand Down
8 changes: 4 additions & 4 deletions tests/unit-test/schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func TestNoTagLatestCommunity(t *testing.T) {
var renderedTemplate appsv1.StatefulSet
helm.UnmarshalK8SYaml(t, output, &renderedTemplate)

expectedContainerImage := "sonarqube:24.12.0.100206-community"
expectedContainerImage := "sonarqube:25.1.0.102122-community"
actualContainers := renderedTemplate.Spec.Template.Spec.Containers
assert.Equal(t, 1, len(actualContainers))
assert.Equal(t, expectedContainerImage, actualContainers[0].Image)
Expand Down Expand Up @@ -116,7 +116,7 @@ func TestShouldUseBuildNumber(t *testing.T) {
var renderedTemplate appsv1.StatefulSet
helm.UnmarshalK8SYaml(t, output, &renderedTemplate)

expectedContainerImage := "sonarqube:24.12.0.99999-community"
expectedContainerImage := "sonarqube:25.1.0.102122-community"
actualContainers := renderedTemplate.Spec.Template.Spec.Containers
assert.Equal(t, 1, len(actualContainers))
assert.Equal(t, expectedContainerImage, actualContainers[0].Image)
Expand Down Expand Up @@ -187,7 +187,7 @@ func TestCiCirrusValues(t *testing.T) {
var renderedTemplate appsv1.StatefulSet
helm.UnmarshalK8SYaml(t, output, &renderedTemplate)

expectedContainerImage := "sonarsource/sonarqube:24.12.0.100206-community"
expectedContainerImage := "sonarsource/sonarqube:25.1.0.102122-community"
actualContainers := renderedTemplate.Spec.Template.Spec.Containers
assert.Equal(t, 1, len(actualContainers))
assert.Equal(t, expectedContainerImage, actualContainers[0].Image)
Expand All @@ -202,7 +202,7 @@ func TestCiOpenshiftVerifierValues(t *testing.T) {
var renderedTemplate appsv1.StatefulSet
helm.UnmarshalK8SYaml(t, output, &renderedTemplate)

expectedContainerImage := "sonarsource/sonarqube:24.12.0.100206-community"
expectedContainerImage := "sonarsource/sonarqube:25.1.0.102122-community"
actualContainers := renderedTemplate.Spec.Template.Spec.Containers
assert.Equal(t, 1, len(actualContainers))
assert.Equal(t, expectedContainerImage, actualContainers[0].Image)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
community:
enabled: true
buildNumber: "24.12.0.99999"
buildNumber: "25.1.0.102122"

0 comments on commit f241603

Please sign in to comment.