Skip to content

Commit 48175a3

Browse files
committed
NO-JIRA update release and update tpl
1 parent 9013268 commit 48175a3

File tree

5 files changed

+34
-10
lines changed

5 files changed

+34
-10
lines changed

docker-official-images/active_versions.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[
22
{
3-
"branch": "origin/master",
3+
"branch": "refs/heads/master",
44
"type": "commercialEditions",
55
"isLatest": true
66
},
77
{
8-
"branch": "origin/release/2025.1",
8+
"branch": "refs/heads/release/2025.1",
99
"type": "commercialEditions",
1010
"isLatestLTATag": true
1111
},
1212
{
13-
"branch": "origin/master",
13+
"branch": "refs/heads/master",
1414
"type": "communityBuild"
1515
},
1616
{
17-
"branch": "origin/master",
17+
"branch": "refs/heads/master",
1818
"type": "legacy",
1919
"isLatestLTSTag": true
2020
}

docker-official-images/fixtures/active_versions.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
[
22
{
3-
"branch": "0330278146e14fdbde39328ab2c9e10a66f9fbe8",
3+
"branch": "refs/heads/master",
4+
"commitSha": "0330278146e14fdbde39328ab2c9e10a66f9fbe8",
45
"type": "commercialEditions",
56
"isLatest": true
67
},
78
{
8-
"branch": "31fac30f5087cc490c9cd266e2279729a2fbdd7c",
9+
"branch": "refs/heads/master",
10+
"commitSha": "31fac30f5087cc490c9cd266e2279729a2fbdd7c",
911
"type": "commercialEditions",
1012
"isLatestLTATag": true
1113
},
1214
{
13-
"branch": "0330278146e14fdbde39328ab2c9e10a66f9fbe8",
15+
"branch": "refs/heads/master",
16+
"commitSha": "0330278146e14fdbde39328ab2c9e10a66f9fbe8",
1417
"type": "communityBuild"
1518
},
1619
{
17-
"branch": "0330278146e14fdbde39328ab2c9e10a66f9fbe8",
20+
"branch": "refs/heads/master",
21+
"commitSha": "0330278146e14fdbde39328ab2c9e10a66f9fbe8",
1822
"type": "legacy",
1923
"isLatestLTSTag": true
2024
}

docker-official-images/fixtures/docker-official-sonarqube

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,55 +8,69 @@ Builder: buildkit
88
Tags: 2025.3.1-developer, 2025.3-developer, developer
99
Directory: commercial-editions/developer
1010
GitCommit: 0330278146e14fdbde39328ab2c9e10a66f9fbe8
11+
GitFetch: refs/heads/master
1112

1213
Tags: 2025.3.1-enterprise, 2025.3-enterprise, enterprise
1314
Directory: commercial-editions/enterprise
1415
GitCommit: 0330278146e14fdbde39328ab2c9e10a66f9fbe8
16+
GitFetch: refs/heads/master
1517

1618
Tags: 2025.3.1-datacenter-app, 2025.3-datacenter-app, datacenter-app
1719
Directory: commercial-editions/datacenter/app
1820
GitCommit: 0330278146e14fdbde39328ab2c9e10a66f9fbe8
21+
GitFetch: refs/heads/master
1922

2023
Tags: 2025.3.1-datacenter-search, 2025.3-datacenter-search, datacenter-search
2124
Directory: commercial-editions/datacenter/search
2225
GitCommit: 0330278146e14fdbde39328ab2c9e10a66f9fbe8
26+
GitFetch: refs/heads/master
2327

2428
Tags: 2025.1.2-developer, 2025.1-developer, 2025-lta-developer
2529
Directory: commercial-editions/developer
2630
GitCommit: 31fac30f5087cc490c9cd266e2279729a2fbdd7c
31+
GitFetch: refs/heads/master
2732

2833
Tags: 2025.1.2-enterprise, 2025.1-enterprise, 2025-lta-enterprise
2934
Directory: commercial-editions/enterprise
3035
GitCommit: 31fac30f5087cc490c9cd266e2279729a2fbdd7c
36+
GitFetch: refs/heads/master
3137

3238
Tags: 2025.1.2-datacenter-app, 2025.1-datacenter-app, 2025-lta-datacenter-app
3339
Directory: commercial-editions/datacenter/app
3440
GitCommit: 31fac30f5087cc490c9cd266e2279729a2fbdd7c
41+
GitFetch: refs/heads/master
3542

3643
Tags: 2025.1.2-datacenter-search, 2025.1-datacenter-search, 2025-lta-datacenter-search
3744
Directory: commercial-editions/datacenter/search
3845
GitCommit: 31fac30f5087cc490c9cd266e2279729a2fbdd7c
46+
GitFetch: refs/heads/master
3947

4048
Tags: 25.6.0.109173-community, community, latest
4149
Directory: community-build
4250
GitCommit: 0330278146e14fdbde39328ab2c9e10a66f9fbe8
51+
GitFetch: refs/heads/master
4352

4453
Tags: 9.9.8-community, 9.9-community, 9-community, lts, lts-community
4554
Directory: 9/community
4655
GitCommit: 0330278146e14fdbde39328ab2c9e10a66f9fbe8
56+
GitFetch: refs/heads/master
4757

4858
Tags: 9.9.8-developer, 9.9-developer, 9-developer, lts-developer
4959
Directory: 9/developer
5060
GitCommit: 0330278146e14fdbde39328ab2c9e10a66f9fbe8
61+
GitFetch: refs/heads/master
5162

5263
Tags: 9.9.9-enterprise, 9.9-enterprise, 9-enterprise, lts-enterprise
5364
Directory: 9/enterprise
5465
GitCommit: 0330278146e14fdbde39328ab2c9e10a66f9fbe8
66+
GitFetch: refs/heads/master
5567

5668
Tags: 9.9.9-datacenter-app, 9.9-datacenter-app, 9-datacenter-app, lts-datacenter-app
5769
Directory: 9/datacenter/app
5870
GitCommit: 0330278146e14fdbde39328ab2c9e10a66f9fbe8
71+
GitFetch: refs/heads/master
5972

6073
Tags: 9.9.9-datacenter-search, 9.9-datacenter-search, 9-datacenter-search, lts-datacenter-search
6174
Directory: 9/datacenter/search
6275
GitCommit: 0330278146e14fdbde39328ab2c9e10a66f9fbe8
76+
GitFetch: refs/heads/master

docker-official-images/official_images.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ Builder: buildkit
1010
Tags: {{ range $index, $tag := .Tags -}}{{ if $index }}, {{ end }}{{ $tag }}{{- end }}
1111
Directory: {{ .ImageDirectory }}
1212
GitCommit: {{ .GitCommit }}
13+
GitFetch: {{ .Branch }}
1314
{{- "\n" -}}
1415
{{- end -}}

release.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ We consider the **docker image** as part of the SonarQube Server **product**. Th
99
Release of a new version of the official SonarQube Server Docker images is made of several operations. (Please note that in case of an LTA patch release that should not include the latest changes on master, you need to release from a new branch - e.g., `release/2025.4` - and propagate the changes to master afterwards).
1010

1111
1. Set the new version of SonarQube Server (`SONARQUBE_VERSION`) to be released in the Dockerfiles. In case of community build, please remember to update `community-build/Dockerfile` only.
12-
2. If you are releasing a new LTA, set `CURRENT_LTA_VERSION` in `.cirrus/tasks.yml`. Otherwise, if you are releasing a Community build, set `COMMUNITY_BUILD_VERSION` only. In all the other cases where a paid edition is about to be releases, set `CURRENT_VERSION` (please note that the nightly build will fail before the public image becomes available).
12+
2. The step 2 is about updating `.cirrus/tasls/yml`, due to `renovate.json5` this step can be trigger automatically trought [renovate mend](https://developer.mend.io/) -> docker-sonarqube -> Actions -> Run Renovate Scan. Please note this is new and should be carefully reviewed before merging.
13+
1. (Deprecated, Manual action) If you are releasing a new LTA, set `CURRENT_VERSION` in `.cirrus/tasks.yml` on the related lta branch. Otherwise, if you are releasing a Community build, set `COMMUNITY_BUILD_VERSION` only. In all the other cases where a paid edition is about to be releases, set `CURRENT_VERSION` (please note that the nightly build will fail before the public image becomes available).
1314
3. Update the docker hub SonarQube Server's documentation (if applicable)
1415
4. Update Docker Hub's SonarQube Server images
1516
5. Add a GIT tag for the new version (This needs to be done after the images become available on DockerHub)
@@ -42,7 +43,11 @@ For more and up to date documentation, see https://github.com/docker-library/doc
4243

4344
In order to update the Docker Hub images, a Pull Request must be created on the [official-images](https://github.com/docker-library/official-images) repository.
4445

45-
To do so you can use your own personal fork.
46+
Please use the go-tool [described here](./docker-official-images/README.md) that will automatically generate a `docker-official-images/official_images.txt`
47+
48+
(Deprecated, Manual Action)
49+
50+
You can use your own personal fork or SonarSource fork.
4651

4752
Create a feature branch on the fork:
4853

0 commit comments

Comments
 (0)