Skip to content
Commits on Source (4)
# [4.3.0](https://git.code.tecnalia.dev/smartdatalab/public/ci-cd-components/sonar/compare/4.2.4...4.3.0) (2025-01-29)
### Features
* disable tracking service by default ([f126617](https://git.code.tecnalia.dev/smartdatalab/public/ci-cd-components/sonar/commit/f126617552daa61071096d299f69fab631b1ecdb))
## [4.2.4](https://git.code.tecnalia.dev/smartdatalab/public/ci-cd-components/sonar/compare/4.2.3...4.2.4) (2025-01-20)
......
......@@ -16,7 +16,7 @@ Add the following to your `.gitlab-ci.yml`:
```yaml
include:
# 1: include the component
- component: $CI_SERVER_FQDN/to-be-continuous/sonar/gitlab-ci-sonar@4.2.4
- component: $CI_SERVER_FQDN/to-be-continuous/sonar/gitlab-ci-sonar@4.3.0
# 2: set/override component inputs
inputs:
host-url: https://sonarqube.acme.host # ⚠ this is only an example
......@@ -30,7 +30,7 @@ Add the following to your `.gitlab-ci.yml`:
include:
# 1: include the template
- project: 'to-be-continuous/sonar'
ref: '4.2.4'
ref: '4.3.0'
file: '/templates/gitlab-ci-sonar.yml'
variables:
......@@ -118,9 +118,9 @@ With:
```yaml
include:
# main template
- component: $CI_SERVER_FQDN/to-be-continuous/sonar/gitlab-ci-sonar@4.2.4
- component: $CI_SERVER_FQDN/to-be-continuous/sonar/gitlab-ci-sonar@4.3.0
# Vault variant
- component: $CI_SERVER_FQDN/to-be-continuous/sonar/gitlab-ci-sonar-vault@4.2.4
- component: $CI_SERVER_FQDN/to-be-continuous/sonar/gitlab-ci-sonar-vault@4.3.0
inputs:
# audience claim for JWT
vault-oidc-aud: "https://vault.acme.host"
......
......@@ -22,7 +22,7 @@ variables:
sonar:
services:
- name: "$TBC_TRACKING_IMAGE"
command: ["--service", "sonar", "4.2.4"]
command: ["--service", "sonar", "4.3.0"]
- name: "$TBC_VAULT_IMAGE"
alias: "vault-secrets-provider"
variables:
......
......@@ -91,9 +91,6 @@ workflow:
- when: on_success
variables:
# variabilized tracking image
TBC_TRACKING_IMAGE: registry.gitlab.com/to-be-continuous/tools/tracking:master
# Sonar
SONAR_SCANNER_IMAGE: $[[ inputs.scanner-image ]]
SONAR_HOST_URL: $[[ inputs.host-url ]]
......@@ -398,7 +395,7 @@ sonar:
entrypoint: [""]
services:
- name: "$TBC_TRACKING_IMAGE"
command: ["--service", "sonar", "4.2.4"]
command: ["--service", "sonar", "4.3.0"]
variables:
# see: https://docs.sonarsource.com/sonarqube-server/latest/devops-platform-integration/gitlab-integration/setting-up-at-project-level/
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
......