Skip to content

Commit

Permalink
Release SonarQube 10.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
davividal authored May 2, 2024
1 parent aee49d3 commit 0bc9c7b
Show file tree
Hide file tree
Showing 18 changed files with 39 additions and 33 deletions.
8 changes: 4 additions & 4 deletions .cirrus/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
DOCKER_GCLOUD_SA_KEY: VAULT[development/team/sonarqube/kv/data/gcp-marketplace-registry-staging data.key]
GCLOUD_REGISTRY: gcr.io/sonarqube-marketplace-provider # This is the staging registry
GCLOUD_PRODUCT_NAME: sonarqube-dce-staging # This is the staging product name
GCLOUD_TAG: 10.5.0
GCLOUD_TAG: 10.5.1

except_nightly_cron: &EXCEPT_ON_NIGHTLY_CRON
only_if: $CIRRUS_CRON != $NIGHTLY_CRON
Expand Down Expand Up @@ -68,7 +68,7 @@ build_gcp_app_template: &BUILD_GCP_APP_TEMPLATE
- cd charts/sonarqube-dce
- helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
- helm repo add bitnami https://charts.bitnami.com/bitnami
- helm repo add bitnami-pre2022 https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
- helm repo add bitnami-pre2022 https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
- helm dependency build
tag_and_promote_script:
- export CURRENT_MINOR_VERSION=$(echo ${GCLOUD_TAG} | cut -d '.' -f 1,2)
Expand Down Expand Up @@ -127,7 +127,7 @@ chart_static_compatibility_test_task:
script:
- helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
- helm repo add bitnami https://charts.bitnami.com/bitnami
- helm repo add bitnami-pre2022 https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
- helm repo add bitnami-pre2022 https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
- cd ${CIRRUS_WORKING_DIR}/charts/sonarqube
- helm dependency build
- ../../.cirrus/unit_helm_compatibility_test.sh
Expand Down Expand Up @@ -189,7 +189,7 @@ chart_packaging_task:
- source cirrus-env BUILD
- helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
- helm repo add bitnami https://charts.bitnami.com/bitnami
- helm repo add bitnami-pre2022 https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
- helm repo add bitnami-pre2022 https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
- helm repo update
- ./.cirrus/package.sh
- ./.cirrus/sign_chart.sh
Expand Down
1 change: 1 addition & 0 deletions charts/sonarqube-dce/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ All changes to this chart will be documented in this file.

## [10.5.1]
* Update Chart's version to 10.5.1
* Update SonarQube's version to 10.5.1
* Fix the env-var templating when sourcing from secrets

## [10.5.0]
Expand Down
6 changes: 3 additions & 3 deletions charts/sonarqube-dce/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: postgresql
repository: https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: 10.15.0
- name: ingress-nginx
repository: https://kubernetes.github.io/ingress-nginx
version: 4.9.1
digest: sha256:7b295e856802bbcebf0766c71fc3a349eb47f97b9f582103f6ccdcbe03801571
generated: "2024-04-09T09:56:45.625068+02:00"
digest: sha256:6ef612977ba453f38945e07412a573c7c5c4dd2a010985940e420aada72bf8d4
generated: "2024-05-02T10:46:54.91405+02:00"
10 changes: 6 additions & 4 deletions charts/sonarqube-dce/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: sonarqube-dce
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.
type: application
version: 10.5.1
appVersion: 10.5.0
appVersion: 10.5.1
keywords:
- coverage
- security
Expand All @@ -29,6 +29,8 @@ annotations:
artifacthub.io/changes: |
- kind: changed
description: "Update Chart's version to 10.5.1"
- kind: changed
description: "Update SonarQube's version to 10.5.1"
- kind: fixed
description: "Fix the env-var templating when sourcing from secrets"
artifacthub.io/links: |
Expand All @@ -39,13 +41,13 @@ annotations:
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/images: |
- name: sonarqube-app
image: sonarqube:10.5.0-datacenter-app
image: sonarqube:10.5.1-datacenter-app
- name: sonarqube-search
image: sonarqube:10.5.0-datacenter-search
image: sonarqube:10.5.1-datacenter-search
dependencies:
- name: postgresql
version: 10.15.0
repository: https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
condition: postgresql.enabled
- name: ingress-nginx
version: 4.9.1
Expand Down
6 changes: 3 additions & 3 deletions charts/sonarqube-dce/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Please note that this chart does NOT support SonarQube Community, Developer, and

## Compatibility

Compatible SonarQube Version: `10.5.0`
Compatible SonarQube Version: `10.5.1`

Supported Kubernetes Versions: From `1.24` to `1.29`

Expand Down Expand Up @@ -201,7 +201,7 @@ The following table lists the configurable parameters of the SonarQube chart and
| Parameter | Description | Default |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `searchNodes.image.repository` | search image repository | `sonarqube` |
| `searchNodes.image.tag` | search image tag | `10.5.0-datacenter-search` |
| `searchNodes.image.tag` | search image tag | `10.5.1-datacenter-search` |
| `searchNodes.image.pullPolicy` | search image pull policy | `IfNotPresent` |
| `searchNodes.image.pullSecret` | (DEPRECATED) search imagePullSecret to use for private repository | `nil` |
| `searchNodes.image.pullSecrets` | search imagePullSecrets to use for private repository | `nil` |
Expand Down Expand Up @@ -253,7 +253,7 @@ The following table lists the configurable parameters of the SonarQube chart and
| Parameter | Description | Default |
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `ApplicationNodes.image.repository` | app image repository | `sonarqube` |
| `ApplicationNodes.image.tag` | app image tag | `10.5.0-datacenter-app` |
| `ApplicationNodes.image.tag` | app image tag | `10.5.1-datacenter-app` |
| `ApplicationNodes.image.pullPolicy` | app image pull policy | `IfNotPresent` |
| `ApplicationNodes.image.pullSecret` | (DEPRECATED) app imagePullSecret to use for private repository | `nil` |
| `ApplicationNodes.image.pullSecrets` | app imagePullSecrets to use for private repository | `nil` |
Expand Down
4 changes: 2 additions & 2 deletions charts/sonarqube-dce/ci/cirrus-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ searchNodes:
replicaCount: 1
image:
repository: "sonarsource/sonarqube"
tag: "10.5.0-datacenter-search"
tag: "10.5.1-datacenter-search"
pullSecrets:
- name: pullsecret

Expand All @@ -14,6 +14,6 @@ ApplicationNodes:
jwtSecret: "mnGBJtmwRbIREqy3vSw6Cinoi2WEom9JH+iw/tXOJX4="
image:
repository: "sonarsource/sonarqube"
tag: "10.5.0-datacenter-app"
tag: "10.5.1-datacenter-app"
pullSecrets:
- name: pullsecret
4 changes: 2 additions & 2 deletions charts/sonarqube-dce/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
searchNodes:
image:
repository: sonarqube
tag: 10.5.0-datacenter-search
tag: 10.5.1-datacenter-search
pullPolicy: IfNotPresent
# If using a private repository, the imagePullSecrets to use
# pullSecrets:
Expand Down Expand Up @@ -145,7 +145,7 @@ searchNodes:
ApplicationNodes:
image:
repository: sonarqube
tag: 10.5.0-datacenter-app
tag: 10.5.1-datacenter-app
pullPolicy: IfNotPresent
# If using a private repository, the imagePullSecrets to use
# pullSecrets:
Expand Down
1 change: 1 addition & 0 deletions charts/sonarqube/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ All changes to this chart will be documented in this file.

## [10.5.1]
* Update Chart's version to 10.5.1
* Update SonarQube's version to 10.5.1
* Fix the env-var templating when sourcing from secrets

## [10.5.0]
Expand Down
6 changes: 3 additions & 3 deletions charts/sonarqube/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: postgresql
repository: https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: 10.15.0
- name: ingress-nginx
repository: https://kubernetes.github.io/ingress-nginx
version: 4.9.1
digest: sha256:7b295e856802bbcebf0766c71fc3a349eb47f97b9f582103f6ccdcbe03801571
generated: "2024-04-09T10:07:16.43662+02:00"
digest: sha256:6ef612977ba453f38945e07412a573c7c5c4dd2a010985940e420aada72bf8d4
generated: "2024-05-02T10:46:21.647277+02:00"
8 changes: 5 additions & 3 deletions charts/sonarqube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: sonarqube
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.
type: application
version: 10.5.1
appVersion: 10.5.0
appVersion: 10.5.1
keywords:
- coverage
- security
Expand Down Expand Up @@ -34,16 +34,18 @@ annotations:
artifacthub.io/changes: |
- kind: changed
description: "Update Chart's version to 10.5.1"
- kind: changed
description: "Update SonarQube's version to 10.5.1"
- kind: fixed
description: "Fix the env-var templating when sourcing from secrets"
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/images: |
- name: sonarqube
image: sonarqube:10.5.0-community
image: sonarqube:10.5.1-community
dependencies:
- name: postgresql
version: 10.15.0
repository: https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
condition: postgresql.enabled
- name: ingress-nginx
version: 4.9.1
Expand Down
4 changes: 2 additions & 2 deletions charts/sonarqube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Please note that this chart only supports SonarQube Community, Developer, and En

## Compatibility

Compatible SonarQube Version: `10.5.0`
Compatible SonarQube Version: `10.5.1`

Supported Kubernetes Versions: From `1.24` to `1.29`

Expand Down Expand Up @@ -238,7 +238,7 @@ The following table lists the configurable parameters of the SonarQube chart and
| Parameter | Description | Default |
| ------------------- | ---------------------------------------------------------- | ------------------------------ |
| `image.repository` | image repository | `sonarqube` |
| `image.tag` | `sonarqube` image tag. | `10.5.0-{{ .Values.edition }}` |
| `image.tag` | `sonarqube` image tag. | `10.5.1-{{ .Values.edition }}` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecret` | (DEPRECATED) imagePullSecret to use for private repository | `None` |
| `image.pullSecrets` | imagePullSecrets to use for private repository | `None` |
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 @@ -2,4 +2,4 @@ image:
pullSecrets:
- name: pullsecret
repository: "sonarsource/sonarqube"
tag: "10.5.0-community"
tag: "10.5.1-community"
2 changes: 1 addition & 1 deletion charts/sonarqube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ edition: "community"

image:
repository: sonarqube
tag: 10.5.0-{{ .Values.edition }}
tag: 10.5.1-{{ .Values.edition }}
pullPolicy: IfNotPresent
# If using a private repository, the imagePullSecrets to use
# pullSecrets:
Expand Down
2 changes: 1 addition & 1 deletion google-cloud-marketplace-k8s-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ and run this command.
# make sure you are on a staging account
export REGISTRY=gcr.io/$(gcloud config get-value project | tr ':' '/')
export APP_NAME=sonarqube-dce
export TAG=10.4.1
export TAG=10.5.1
export MINOR_VERSION=$(echo $TAG | cut -d. -f1,2)
# 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)
docker build -f google-cloud-marketplace-k8s-app/Dockerfile --build-arg REGISTRY="${REGISTRY}" --build-arg TAG="${TAG}" --tag $REGISTRY/$APP_NAME/deployer:$MINOR_VERSION .
Expand Down
2 changes: 1 addition & 1 deletion google-cloud-marketplace-k8s-app/data-test/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ x-google-marketplace:
publishedVersion: "$TAG"
publishedVersionMetadata:
releaseNote: >-
Sonarqube 10.4.x google cloud marketpalce release test schema
Sonarqube 10.5.x google cloud marketpalce release test schema
images:
'':
properties:
Expand Down
2 changes: 1 addition & 1 deletion google-cloud-marketplace-k8s-app/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ x-google-marketplace:
publishedVersion: "$TAG"
publishedVersionMetadata:
releaseNote: >-
Releasing SonarQube 10.4.x as a google cloud k8s marketplace application
Releasing SonarQube 10.5.x as a google cloud k8s marketplace application
Please find the release note here: https://www.sonarsource.com/blog/sonarqube-10-4-release-announcement
images:
'':
Expand Down
2 changes: 1 addition & 1 deletion lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ chart-dirs:
- charts
chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
- bitnami-pre2022=https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
- bitnami-pre2022=https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
- ingress-nginx=https://kubernetes.github.io/ingress-nginx
helm-extra-args: --timeout 600s
2 changes: 1 addition & 1 deletion test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ chart-dirs:
- charts
chart-repos:
- bitnami=https://charts.bitnami.com/bitnami
- bitnami-pre2022=https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
- bitnami-pre2022=https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
- ingress-nginx=https://kubernetes.github.io/ingress-nginx
helm-extra-args: --timeout 600s

0 comments on commit 0bc9c7b

Please sign in to comment.