Skip to content

Commit 5569ba4

Browse files
authored
REL-3609 Release SonarQube Server 2025.1.1
1 parent 007aa4d commit 5569ba4

File tree

71 files changed

+1783
-1800
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1783
-1800
lines changed

.cirrus/tasks_env.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
env:
2-
### Shared variables
3-
NIGHTLY_CRON: 'nightly-cron'
2+
### Shared variables
3+
NIGHTLY_CRON: "nightly-cron"
44
DOCKER_USERNAME: VAULT[development/kv/data/docker/sonardockerrw data.username]
55
DOCKER_PASSWORD: VAULT[development/kv/data/docker/sonardockerrw data.access_token_rwd]
66
KUBE_VERSION: 1.32.0
77
DOCKER_GCLOUD_SA_KEY: VAULT[development/team/sonarqube/kv/data/gcp-marketplace-registry-staging data.key]
88
GCLOUD_REGISTRY: gcr.io/sonarqube-marketplace-provider # This is the staging registry
99
GCLOUD_PRODUCT_NAME: sonarqube-dce-staging # This is the staging product name
10-
GCLOUD_TAG: 2025.1.0
10+
GCLOUD_TAG: 2025.1.1
1111
ROSA_OPENSHIFT_URL: VAULT[development/team/sonarqube/kv/data/rosa-openshift data.url]
1212
ROSA_OPENSHIFT_USER: VAULT[development/team/sonarqube/kv/data/rosa-dev data.username]
1313
ROSA_OPENSHIFT_PASSWORD: VAULT[development/team/sonarqube/kv/data/rosa-dev data.password]

charts/sonarqube-dce/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# SonarQube Chart Changelog
22
All changes to this chart will be documented in this file.
33

4+
## [2025.1.1]
5+
* Update Chart's version to 2025.1.1
6+
* Upgrade SonarQube Server to 2025.1.1
7+
48
## [2025.1.0]
59
* Update Chart's version to 2025.1.0
610
* Upgrade SonarQube Server to 2025.1.0

charts/sonarqube-dce/Chart.yaml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: sonarqube-dce
33
description: SonarQube is a self-managed, automatic code review tool that systematically helps you deliver clean code. As a core element of our Sonar solution, SonarQube integrates into your existing workflow and detects issues in your code to help you perform continuous code inspections of your projects. The tool analyses 30+ different programming languages and integrates into your CI pipeline and DevOps platform to ensure that your code meets high-quality standards.
44
type: application
5-
version: 2025.1.0
6-
appVersion: 2025.1.0
5+
version: 2025.1.1
6+
appVersion: 2025.1.1
77
keywords:
88
- coverage
99
- security
@@ -15,7 +15,7 @@ sources:
1515
- https://github.com/SonarSource/helm-chart-sonarqube/tree/master/charts/sonarqube-dce
1616
- https://github.com/SonarSource/docker-sonarqube
1717
- https://github.com/SonarSource/sonarqube
18-
kubeVersion: '>= 1.24.0-0'
18+
kubeVersion: ">= 1.24.0-0"
1919
maintainers:
2020
- name: carminevassallo
2121
@@ -26,17 +26,9 @@ maintainers:
2626
annotations:
2727
artifacthub.io/changes: |
2828
- kind: changed
29-
description: "Update Chart's version to 2025.1.0"
29+
description: "Update Chart's version to 2025.1.1"
3030
- kind: changed
31-
description: "Upgrade SonarQube Server to 2025.1.0"
32-
- kind: changed
33-
description: "Update ingress-nginx subchart to 4.11.3"
34-
- kind: changed
35-
description: "Support Kubernetes v1.32"
36-
- kind: changed
37-
description: "Remove the default passcode provided with 'monitoringPasscode'"
38-
- kind: changed
39-
description: "Support Openshift v4.17"
31+
description: "Upgrade SonarQube Server to 2025.1.1"
4032
artifacthub.io/links: |
4133
- name: support
4234
url: https://community.sonarsource.com/
@@ -45,9 +37,9 @@ annotations:
4537
artifacthub.io/containsSecurityUpdates: "false"
4638
artifacthub.io/images: |
4739
- name: sonarqube-app
48-
image: sonarqube:2025.1.0-datacenter-app
40+
image: sonarqube:2025.1.1-datacenter-app
4941
- name: sonarqube-search
50-
image: sonarqube:2025.1.0-datacenter-search
42+
image: sonarqube:2025.1.1-datacenter-search
5143
charts.openshift.io/name: sonarqube-dce
5244
dependencies:
5345
- name: postgresql

charts/sonarqube-dce/README.md

Lines changed: 24 additions & 28 deletions
Large diffs are not rendered by default.

charts/sonarqube-dce/values.yaml

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
searchNodes:
66
image:
77
repository: sonarqube
8-
tag: 2025.1.0-datacenter-search
8+
tag: 2025.1.1-datacenter-search
99
pullPolicy: IfNotPresent
1010
# If using a private repository, the imagePullSecrets to use
1111
# pullSecrets:
@@ -153,7 +153,7 @@ searchNodes:
153153
applicationNodes:
154154
image:
155155
repository: sonarqube
156-
tag: 2025.1.0-datacenter-app
156+
tag: 2025.1.1-datacenter-app
157157
pullPolicy: IfNotPresent
158158
# If using a private repository, the imagePullSecrets to use
159159
# pullSecrets:
@@ -221,17 +221,17 @@ applicationNodes:
221221
readinessProbe:
222222
exec:
223223
command:
224-
- sh
225-
- -c
226-
- |
227-
#!/bin/bash
228-
# A Sonarqube container is considered ready if the status is UP, DB_MIGRATION_NEEDED or DB_MIGRATION_RUNNING
229-
# status about migration are added to prevent the node to be kill while sonarqube is upgrading the database.
230-
host="$(hostname -i || echo '127.0.0.1')"
231-
if wget --no-proxy -qO- http://${host}:{{ .Values.service.internalPort }}{{ .Values.ApplicationNodes.readinessProbe.sonarWebContext | default (include "sonarqube.webcontext" .) }}api/system/status | grep -q -e '"status":"UP"' -e '"status":"DB_MIGRATION_NEEDED"' -e '"status":"DB_MIGRATION_RUNNING"'; then
232-
exit 0
233-
fi
234-
exit 1
224+
- sh
225+
- -c
226+
- |
227+
#!/bin/bash
228+
# A Sonarqube container is considered ready if the status is UP, DB_MIGRATION_NEEDED or DB_MIGRATION_RUNNING
229+
# status about migration are added to prevent the node to be kill while sonarqube is upgrading the database.
230+
host="$(hostname -i || echo '127.0.0.1')"
231+
if wget --no-proxy -qO- http://${host}:{{ .Values.service.internalPort }}{{ .Values.ApplicationNodes.readinessProbe.sonarWebContext | default (include "sonarqube.webcontext" .) }}api/system/status | grep -q -e '"status":"UP"' -e '"status":"DB_MIGRATION_NEEDED"' -e '"status":"DB_MIGRATION_RUNNING"'; then
232+
exit 0
233+
fi
234+
exit 1
235235
initialDelaySeconds: 0
236236
periodSeconds: 30
237237
failureThreshold: 8
@@ -244,11 +244,11 @@ applicationNodes:
244244
livenessProbe:
245245
exec:
246246
command:
247-
- sh
248-
- -c
249-
- |
250-
host="$(hostname -i || echo '127.0.0.1')"
251-
wget --no-proxy --quiet -O /dev/null --timeout={{ .Values.ApplicationNodes.livenessProbe.timeoutSeconds }} --header="X-Sonar-Passcode: $SONAR_WEB_SYSTEMPASSCODE" "http://${host}:{{ .Values.service.internalPort }}{{ .Values.ApplicationNodes.livenessProbe.sonarWebContext | default (include "sonarqube.webcontext" .) }}api/system/liveness"
247+
- sh
248+
- -c
249+
- |
250+
host="$(hostname -i || echo '127.0.0.1')"
251+
wget --no-proxy --quiet -O /dev/null --timeout={{ .Values.ApplicationNodes.livenessProbe.timeoutSeconds }} --header="X-Sonar-Passcode: $SONAR_WEB_SYSTEMPASSCODE" "http://${host}:{{ .Values.service.internalPort }}{{ .Values.ApplicationNodes.livenessProbe.sonarWebContext | default (include "sonarqube.webcontext" .) }}api/system/liveness"
252252
initialDelaySeconds: 0
253253
periodSeconds: 30
254254
failureThreshold: 6
@@ -353,7 +353,6 @@ applicationNodes:
353353
# can use existing secret with SONAR_AUTH_JWTBASE64HS256SECRET as key
354354
# existingJwtSecret: ""
355355

356-
357356
## We usually don't make specific resource recommendations, as they are heavily dependent on
358357
## the usage of SonarQube and the surrounding infrastructure.
359358
## Those default are based on the default Web -Xmx1G -Xms128m and CE -Xmx2G -Xms128m settings of applicationNode sub processes.
@@ -502,18 +501,18 @@ ingress:
502501
- name: sonarqube.your-org.com
503502
# Different clouds or configurations might need /* as the default path
504503
# path: /
505-
# For additional control over serviceName and servicePort
506-
# serviceName: someService
507-
# servicePort: somePort
508-
# the pathType can be one of the following values: Exact|Prefix|ImplementationSpecific(default)
509-
# pathType: ImplementationSpecific
504+
# For additional control over serviceName and servicePort
505+
# serviceName: someService
506+
# servicePort: somePort
507+
# the pathType can be one of the following values: Exact|Prefix|ImplementationSpecific(default)
508+
# pathType: ImplementationSpecific
510509
annotations: {}
511510
# kubernetes.io/tls-acme: "true"
512511

513512
# Set the ingressClassName on the ingress record
514513
# ingressClassName: nginx
515514

516-
# Additional labels for Ingress manifest file
515+
# Additional labels for Ingress manifest file
517516
# labels:
518517
# traffic-type: external
519518
# traffic-type: internal
@@ -658,7 +657,8 @@ initFs:
658657
annotations: {}
659658

660659
# In case you want to specify different resources for emptyDir than {}
661-
emptyDir: {}
660+
emptyDir:
661+
{}
662662
# Example of resouces that might be used:
663663
# medium: Memory
664664
# sizeLimit: 16Mi
@@ -839,7 +839,6 @@ extraConfig:
839839
# image:
840840
# annotations: {}
841841

842-
843842
# (DEPRECATED) please use setAdminPassword instead
844843
# account:
845844
# The values can be set to define the current and the (new) custom admin passwords at the startup (the username will remain "admin")

charts/sonarqube/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# SonarQube Chart Changelog
22
All changes to this chart will be documented in this file.
33

4+
## [2025.1.1]
5+
* Update Chart's version to 2025.1.1
6+
* Upgrade SonarQube Server to 2025.1.1
7+
48
## [2025.1.0]
59
* Update Chart's version to 2025.1.0
610
* Upgrade SonarQube Server to 2025.1.0

charts/sonarqube/Chart.yaml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: sonarqube
33
description: SonarQube is a self-managed, automatic code review tool that systematically helps you deliver clean code. As a core element of our Sonar solution, SonarQube integrates into your existing workflow and detects issues in your code to help you perform continuous code inspections of your projects. The tool analyses 30+ different programming languages and integrates into your CI pipeline and DevOps platform to ensure that your code meets high-quality standards.
44
type: application
5-
version: 2025.1.0
6-
appVersion: 2025.1.0
5+
version: 2025.1.1
6+
appVersion: 2025.1.1
77
keywords:
88
- coverage
99
- security
@@ -15,7 +15,7 @@ sources:
1515
- https://github.com/SonarSource/helm-chart-sonarqube/tree/master/charts/sonarqube
1616
- https://github.com/SonarSource/docker-sonarqube
1717
- https://github.com/SonarSource/sonarqube
18-
kubeVersion: '>= 1.24.0-0'
18+
kubeVersion: ">= 1.24.0-0"
1919
maintainers:
2020
- name: carminevassallo
2121
@@ -31,21 +31,9 @@ annotations:
3131
url: https://github.com/SonarSource/helm-chart-sonarqube/tree/master/charts/sonarqube
3232
artifacthub.io/changes: |
3333
- kind: changed
34-
description: "Update Chart's version to 2025.1.0"
34+
description: "Update Chart's version to 2025.1.1"
3535
- kind: changed
36-
description: "Upgrade SonarQube Server to 2025.1.0"
37-
- kind: changed
38-
description: "Upgrade SonarQube Community Build to 25.1.0.102122"
39-
- kind: changed
40-
description: "Update ingress-nginx subchart to 4.11.3"
41-
- kind: changed
42-
description: "Support Kubernetes v1.32"
43-
- kind: changed
44-
description: "Remove the default passcode provided with 'monitoringPasscode'"
45-
- kind: changed
46-
description: "Support Openshift v4.17"
47-
- kind: changed
48-
description: "Improves editions and versions setting for sonarqube chart"
36+
description: "Upgrade SonarQube Server to 2025.1.1"
4937
artifacthub.io/containsSecurityUpdates: "false"
5038
artifacthub.io/images: |
5139
- name: sonarqube

charts/sonarqube/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Please note that this chart only supports SonarQube Server Developer and Enterpr
1414

1515
## Compatibility
1616

17-
Compatible SonarQube Server Version: `2025.1.0`
17+
Compatible SonarQube Server Version: `2025.1.1`
1818
Compatible SonarQube Community Build: `25.1.0.102122`
1919

2020
Supported Kubernetes Versions: From `1.29` to `1.32`

google-cloud-marketplace-k8s-app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ and run this command.
2020
# make sure you are on a staging account
2121
export REGISTRY=gcr.io/$(gcloud config get-value project | tr ':' '/')
2222
export APP_NAME=sonarqube-dce
23-
export TAG=2025.1.0
23+
export TAG=2025.1.1
2424
export MINOR_VERSION=$(echo $TAG | cut -d. -f1,2)
2525
# Deployer does not care about patch version. see [here](https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/master/docs/building-deployer-helm.md#images-in-staging-gcr)
2626
docker build -f google-cloud-marketplace-k8s-app/Dockerfile --build-arg REGISTRY="${REGISTRY}" --build-arg TAG="${TAG}" --tag $REGISTRY/$APP_NAME/deployer:$MINOR_VERSION .

0 commit comments

Comments
 (0)