Skip to content
Snippets Groups Projects
Commit 98d99541 authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

Merge branch '18-add-registry-name-in-all-docker-images' into 'master'

Resolve "Add registry name in all Docker images"

Closes #18

See merge request to-be-continuous/sonar!33
parents 41633dae 50533788
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ It is bound to the `test` stage, and uses the following variables: ...@@ -24,7 +24,7 @@ It is bound to the `test` stage, and uses the following variables:
| Name | description | default value | | Name | description | default value |
| ------------------------ | ------------------------------- | ----------------------------- | | ------------------------ | ------------------------------- | ----------------------------- |
| `SONAR_SCANNER_IMAGE` | The Docker image used to run [sonar-scanner](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/) | `sonarsource/sonar-scanner-cli:latest` | | `SONAR_SCANNER_IMAGE` | The Docker image used to run [sonar-scanner](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/) | `registry.hub.docker.com/sonarsource/sonar-scanner-cli:latest` |
| `SONAR_HOST_URL` | SonarQube server url | _none_ (disabled) | | `SONAR_HOST_URL` | SonarQube server url | _none_ (disabled) |
| `SONAR_PROJECT_KEY` | SonarQube Project Key (might also be set in the `sonar-project.properties` file) | fallbacks to `$CI_PROJECT_PATH_SLUG` (see below) | | `SONAR_PROJECT_KEY` | SonarQube Project Key (might also be set in the `sonar-project.properties` file) | fallbacks to `$CI_PROJECT_PATH_SLUG` (see below) |
| `SONAR_PROJECT_NAME` | SonarQube Project Name (might also be set in the `sonar-project.properties` file) | fallbacks to `$CI_PROJECT_PATH` (see below) | | `SONAR_PROJECT_NAME` | SonarQube Project Name (might also be set in the `sonar-project.properties` file) | fallbacks to `$CI_PROJECT_PATH` (see below) |
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
{ {
"name": "SONAR_SCANNER_IMAGE", "name": "SONAR_SCANNER_IMAGE",
"description": "The Docker image used to run [sonar-scanner](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/)", "description": "The Docker image used to run [sonar-scanner](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/)",
"default": "sonarsource/sonar-scanner-cli:latest" "default": "registry.hub.docker.com/sonarsource/sonar-scanner-cli:latest"
}, },
{ {
"name": "SONAR_HOST_URL", "name": "SONAR_HOST_URL",
......
...@@ -45,7 +45,7 @@ variables: ...@@ -45,7 +45,7 @@ variables:
TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master" TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
# Sonar # Sonar
SONAR_SCANNER_IMAGE: sonarsource/sonar-scanner-cli:latest SONAR_SCANNER_IMAGE: "registry.hub.docker.com/sonarsource/sonar-scanner-cli:latest"
# Sonar base analysis default args # Sonar base analysis default args
# see: https://docs.sonarqube.org/latest/analysis/analysis-parameters/ # see: https://docs.sonarqube.org/latest/analysis/analysis-parameters/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment