Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 6d5849d

Browse files
authored
Upgrade SonarQube to 8.9.4 & sonar-scala to 8.9.0 (#32)
1 parent 1620213 commit 6d5849d

File tree

13 files changed

+553
-485
lines changed

13 files changed

+553
-485
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
logs/
21
.idea
2+
.metals
3+
.vscode
34
*.jar
45
*.orig
5-
.metals
6+
logs

README.md

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
# sonar-scala-docker
22

33
[![GitHub version](<https://img.shields.io/badge/release_(for_SonarQube_8.7.1)-v5.7.0-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
4-
[![GitHub version lts](<https://img.shields.io/badge/release_(for_SonarQube_LTS_7.9)-v4.2.0-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
4+
[![GitHub version lts](<https://img.shields.io/badge/release_(for_SonarQube_LTS_8.9)-v5.8.0-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
5+
[![GitHub version lts 7.9](<https://img.shields.io/badge/release_(for_SonarQube_LTS_7.9)-v4.2.0-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
56
[![GitHub version lts 6.7](<https://img.shields.io/badge/release_(for_SonarQube_LTS_6.7)-v2.12.0-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
67
[![Docker Pulls](https://img.shields.io/docker/pulls/mwizner/sonarqube-scala-plugins.svg)](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
78

89
Docker images and docker-compose recipes for out-of-the-box
9-
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts),
10+
[SonarQube 8.7.1](https://www.sonarqube.org),
11+
[SonarQube 8.9 LTS](https://www.sonarqube.org/sonarqube-8-9-lts),
1012
[SonarQube 7.9 LTS](https://www.sonarqube.org/sonarqube-7-9-lts) and
11-
[SonarQube 8.7.1](https://www.sonarqube.org) instance with support
12-
for [Scala](http://www.scala-lang.org),
13+
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts) instance with
14+
support for [Scala](http://www.scala-lang.org),
1315
[Scoverage](https://github.com/scoverage/scalac-scoverage-plugin) (code coverage
1416
metrics) and [Scalastyle](http://www.scalastyle.org) +
1517
[Scapegoat](https://github.com/sksamuel/scapegoat) (static code analysis).
@@ -37,10 +39,12 @@ You can also use a standalone docker image which contains SonarQube server with
3739
bundled sonar-scala plugin,
3840
[`mwizner/sonarqube-scala-plugins:5.7.0-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)(or
3941
`mwizner/sonarqube-scala-plugins:latest-full`) and
40-
[`mwizner/sonarqube-scala-plugins:4.2.0-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
42+
[`mwizner/sonarqube-scala-plugins:5.8.0-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
4143
(or `mwizner/sonarqube-scala-plugins:latest-lts-full`) for the current LTS
42-
version. Alternatively, we also provide an image for the old SonarQube 6.7 LTS
44+
version. Alternatively, we also provide an image for the old SonarQube 7.9 LTS
4345
version -
46+
[`mwizner/sonarqube-scala-plugins:4.2.0-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
47+
and SonarQube 6.7 LTS version -
4448
[`mwizner/sonarqube-scala-plugins:2.12.0-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
4549

4650
To start the container issue the following command:
@@ -71,9 +75,10 @@ docker run -d \
7175

7276
## Dependencies
7377

74-
- [SonarQube 6.7 LTS](https://hub.docker.com/_/sonarqube) /
75-
[SonarQube 7.9 LTS](https://hub.docker.com/_/sonarqube) /
76-
[SonarQube 8.7.1](https://hub.docker.com/_/sonarqube)
78+
- [SonarQube 8.7.1](https://hub.docker.com/_/sonarqube) or
79+
[SonarQube 8.9 LTS](https://hub.docker.com/_/sonarqube) or
80+
[SonarQube 7.9 LTS](https://hub.docker.com/_/sonarqube) or
81+
[SonarQube 6.7 LTS](https://hub.docker.com/_/sonarqube)
7782
- [PostgreSQL 12](https://hub.docker.com/_/postgres)
7883
- [mwz/sonar-scala](https://github.com/mwz/sonar-scala) - provides support for
7984
scalastyle, scoverage and scapegoat
@@ -88,7 +93,8 @@ scapegoat support)_
8893
|Version | SonarQube | sonar-scala |
8994
|--------|-----------|-------------|
9095
[5.7.0](https://github.com/mwz/sonarqube-scala-docker/releases/tag/5.7.0) | 8.7.1 [documentation](https://docs.sonarqube.org/8.7), [changelog](https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10930&version=16540) | [8.7.0](https://github.com/mwz/sonar-scala/releases/tag/v8.7.0)
91-
[4.2.0](https://github.com/mwz/sonarqube-scala-docker/releases/tag/4.2.0) | 7.9.1 LTS [documentation](https://docs.sonarqube.org/7.9), [changelog](https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10930&version=15029) | [7.9.0](https://github.com/mwz/sonar-scala/releases/tag/v7.9.0)
96+
[5.8.0](https://github.com/mwz/sonarqube-scala-docker/releases/tag/5.8.0) | 8.9.4 LTS [documentation](https://docs.sonarqube.org/8.9), [changelog](https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10930&version=17027) | [8.9.0](https://github.com/mwz/sonar-scala/releases/tag/v8.9.0)
97+
[4.2.0](https://github.com/mwz/sonarqube-scala-docker/releases/tag/4.2.0) | 7.9.1 LTS [documentation](https://docs.sonarqube.org/7.9), [changelog](https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10930&version=15029) | [8.9.0](https://github.com/mwz/sonar-scala/releases/tag/v7.9.0)
9298
[2.12.0](https://github.com/mwz/sonarqube-scala-docker/releases/tag/2.12.0) | 6.7.7 LTS [documentation](https://docs.sonarqube.org/display/SONARQUBE67/Documentation), [changelog](https://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10930&version=14865) | [6.8.0](https://github.com/mwz/sonar-scala/releases/tag/v6.8.0)
9399
<!-- prettier-ignore-end -->
94100

@@ -197,6 +203,12 @@ scapegoat support)_
197203
<td><a href="https://github.com/mwz/sonar-scala/releases/tag/v7.0.0">7.0.0</td>
198204
<td></td>
199205
</tr>
206+
<tr>
207+
<td><a href="https://github.com/mwz/sonarqube-scala-docker/releases/tag/4.2.0">4.2.0</a></td>
208+
<td>7.9.1 LTS <a href="https://docs.sonarqube.org/7.9">documentation</a>, <a href="https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10930&version=15029">changelog</a></td>
209+
<td><a href="https://github.com/mwz/sonar-scala/releases/tag/v7.9.0">7.9.0</td>
210+
<td></td>
211+
</tr>
200212
<tr>
201213
<td><a href="https://github.com/mwz/sonarqube-scala-docker/releases/tag/4.1.0">4.1.0</a></td>
202214
<td>7.9.1 LTS <a href="https://docs.sonarqube.org/7.9">documentation</a>, <a href="https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10930&version=15029">changelog</a></td>
@@ -209,12 +221,6 @@ scapegoat support)_
209221
<td><a href="https://github.com/mwz/sonar-scala/releases/tag/v7.7.0">7.7.0</td>
210222
<td></td>
211223
</tr>
212-
<tr>
213-
<td><a href="https://github.com/mwz/sonarqube-scala-docker/releases/tag/2.12.0">2.12.0</a></td>
214-
<td>6.7.7 LTS <a href="https://docs.sonarqube.org/display/SONARQUBE67/Documentation">documentation</a>, <a href="https://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10930&version=14865">changelog</a></td>
215-
<td><a href="https://github.com/mwz/sonar-scala/releases/tag/v6.8.0">6.8.0</td>
216-
<td></td>
217-
</tr>
218224
<tr>
219225
<td><a href="https://github.com/mwz/sonarqube-scala-docker/releases/tag/2.11.0">2.11.0</a></td>
220226
<td>6.7.6 LTS <a href="https://docs.sonarqube.org/display/SONARQUBE67/Documentation">documentation</a>, <a href="https://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10930&version=13972">changelog</a></td>
@@ -305,6 +311,7 @@ way to automate analysis of Scala projects with SonarQube.
305311
<details>
306312
<summary>Expand to see the changelog.</summary>
307313
<ul>
314+
<li><strong>5.8.0</strong> - Upgraded sonar-scala to 8.9.0 & SonarQube to 8.9.4.</li>
308315
<li><strong>5.7.0</strong> - Upgraded sonar-scala to 8.7.0 & SonarQube to 8.7.1.</li>
309316
<li><strong>5.6.0</strong> - Upgraded sonar-scala to 8.6.0 & SonarQube to 8.5.1.</li>
310317
<li><strong>5.5.0</strong> - Upgraded sonar-scala to 8.5.0 & SonarQube to 8.4.</li>

README.tpl.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
# sonar-scala-docker
22

33
[![GitHub version](<https://img.shields.io/badge/release_(for_SonarQube_{{current.sonar}})-v{{current.version}}-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
4-
[![GitHub version lts](<https://img.shields.io/badge/release_(for_SonarQube_LTS_7.9)-v{{lts.version}}-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
4+
[![GitHub version lts](<https://img.shields.io/badge/release_(for_SonarQube_LTS_8.9)-v{{lts.version}}-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
5+
[![GitHub version lts 7.9](<https://img.shields.io/badge/release_(for_SonarQube_LTS_7.9)-v{{lts79.version}}-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
56
[![GitHub version lts 6.7](<https://img.shields.io/badge/release_(for_SonarQube_LTS_6.7)-v{{lts67.version}}-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
67
[![Docker Pulls](https://img.shields.io/docker/pulls/mwizner/sonarqube-scala-plugins.svg)](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
78

89
Docker images and docker-compose recipes for out-of-the-box
9-
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts),
10+
[SonarQube {{current.sonar}}](https://www.sonarqube.org),
11+
[SonarQube 8.9 LTS](https://www.sonarqube.org/sonarqube-8-9-lts),
1012
[SonarQube 7.9 LTS](https://www.sonarqube.org/sonarqube-7-9-lts) and
11-
[SonarQube {{current.sonar}}](https://www.sonarqube.org) instance with support
12-
for [Scala](http://www.scala-lang.org),
13+
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts) instance with
14+
support for [Scala](http://www.scala-lang.org),
1315
[Scoverage](https://github.com/scoverage/scalac-scoverage-plugin) (code coverage
1416
metrics) and [Scalastyle](http://www.scalastyle.org) +
1517
[Scapegoat](https://github.com/sksamuel/scapegoat) (static code analysis).
@@ -39,8 +41,10 @@ bundled sonar-scala plugin,
3941
`mwizner/sonarqube-scala-plugins:latest-full`) and
4042
[`mwizner/sonarqube-scala-plugins:{{lts.version}}-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
4143
(or `mwizner/sonarqube-scala-plugins:latest-lts-full`) for the current LTS
42-
version. Alternatively, we also provide an image for the old SonarQube 6.7 LTS
44+
version. Alternatively, we also provide an image for the old SonarQube 7.9 LTS
4345
version -
46+
[`mwizner/sonarqube-scala-plugins:{{lts79.version}}-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
47+
and SonarQube 6.7 LTS version -
4448
[`mwizner/sonarqube-scala-plugins:{{lts67.version}}-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
4549

4650
To start the container issue the following command:
@@ -71,9 +75,10 @@ docker run -d \
7175

7276
## Dependencies
7377

74-
- [SonarQube 6.7 LTS](https://hub.docker.com/_/sonarqube) /
75-
[SonarQube 7.9 LTS](https://hub.docker.com/_/sonarqube) /
76-
[SonarQube {{current.sonar}}](https://hub.docker.com/_/sonarqube)
78+
- [SonarQube {{current.sonar}}](https://hub.docker.com/_/sonarqube) or
79+
[SonarQube 8.9 LTS](https://hub.docker.com/_/sonarqube) or
80+
[SonarQube 7.9 LTS](https://hub.docker.com/_/sonarqube) or
81+
[SonarQube 6.7 LTS](https://hub.docker.com/_/sonarqube)
7782
- [PostgreSQL 12](https://hub.docker.com/_/postgres)
7883
- [mwz/sonar-scala](https://github.com/mwz/sonar-scala) - provides support for
7984
scalastyle, scoverage and scapegoat
@@ -89,6 +94,7 @@ scapegoat support)_
8994
|--------|-----------|-------------|
9095
[{{current.version}}](https://github.com/mwz/sonarqube-scala-docker/releases/tag/{{current.version}}) | {{current.sonar}} [documentation]({{{current.sonarDocs}}}), [changelog]({{{current.sonarChangelog}}}) | [{{current.sonarScala}}](https://github.com/mwz/sonar-scala/releases/tag/v{{current.sonarScala}})
9196
[{{lts.version}}](https://github.com/mwz/sonarqube-scala-docker/releases/tag/{{lts.version}}) | {{lts.sonar}} [documentation]({{{lts.sonarDocs}}}), [changelog]({{{lts.sonarChangelog}}}) | [{{lts.sonarScala}}](https://github.com/mwz/sonar-scala/releases/tag/v{{lts.sonarScala}})
97+
[{{lts79.version}}](https://github.com/mwz/sonarqube-scala-docker/releases/tag/{{lts79.version}}) | {{lts79.sonar}} [documentation]({{{lts79.sonarDocs}}}), [changelog]({{{lts79.sonarChangelog}}}) | [{{lts.sonarScala}}](https://github.com/mwz/sonar-scala/releases/tag/v{{lts79.sonarScala}})
9298
[{{lts67.version}}](https://github.com/mwz/sonarqube-scala-docker/releases/tag/{{lts67.version}}) | {{lts67.sonar}} [documentation]({{{lts67.sonarDocs}}}), [changelog]({{{lts67.sonarChangelog}}}) | [{{lts67.sonarScala}}](https://github.com/mwz/sonar-scala/releases/tag/v{{lts67.sonarScala}})
9399
<!-- prettier-ignore-end -->
94100

@@ -135,6 +141,7 @@ way to automate analysis of Scala projects with SonarQube.
135141
<details>
136142
<summary>Expand to see the changelog.</summary>
137143
<ul>
144+
<li><strong>5.8.0</strong> - Upgraded sonar-scala to 8.9.0 & SonarQube to 8.9.4.</li>
138145
<li><strong>5.7.0</strong> - Upgraded sonar-scala to 8.7.0 & SonarQube to 8.7.1.</li>
139146
<li><strong>5.6.0</strong> - Upgraded sonar-scala to 8.6.0 & SonarQube to 8.5.1.</li>
140147
<li><strong>5.5.0</strong> - Upgraded sonar-scala to 8.5.0 & SonarQube to 8.4.</li>

README_DOCKERHUB.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
Docker images with out-of-the-box
2-
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts),
2+
[SonarQube 8.7.1](https://www.sonarqube.org),
3+
[SonarQube 8.9 LTS](https://www.sonarqube.org/sonarqube-8-9-lts),
34
[SonarQube 7.9 LTS](https://www.sonarqube.org/sonarqube-7-9-lts) and
4-
[SonarQube 8.7.1](https://www.sonarqube.org) instance with support
5-
for **[Scala](http://www.scala-lang.org)**,
5+
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts) instance with
6+
support for **[Scala](http://www.scala-lang.org)**,
67
**[Scoverage](https://github.com/scoverage/scalac-scoverage-plugin)** (code
78
coverage metrics) and **[Scalastyle](http://www.scalastyle.org)** +
89
**[Scapegoat](https://github.com/sksamuel/scapegoat)** (static code analysis).
@@ -23,6 +24,11 @@ sonar-scala provides Scapegoat support from version `6.5.0` onwards.
2324
`5.7.0-full`, `latest-full`
2425
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/5.7.0-full/Dockerfile),
2526
[Release 5.7.0](https://github.com/mwz/sonar-scala-docker/releases/tag/5.7.0)
27+
- `5.8.0`, `latest-lts` (8.9 LTS)
28+
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/5.8.0/Dockerfile),
29+
`5.8.0-full`, `latest-lts-full` (8.9 LTS)
30+
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/5.8.0-full/Dockerfile),
31+
[Release 5.8.0](https://github.com/mwz/sonar-scala-docker/releases/tag/5.8.0)
2632
- `4.2.0`, `latest-lts` (7.9 LTS)
2733
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/4.2.0/Dockerfile),
2834
`4.2.0-full`, `latest-lts-full` (7.9 LTS)
@@ -43,8 +49,10 @@ For older versions please check the
4349
| ------------------------ | ----------------- | ---------------------- |
4450
| 5.7.0 | | 8.7.0 |
4551
| 5.7.0-full | 8.7.1 | 8.7.0 |
46-
| 4.2.0 | | 7.9.0 |
47-
| 4.2.0-full | 7.9.1 LTS | 7.9.0 |
52+
| 5.8.0 | | 8.9.0 |
53+
| 5.8.0-full | 8.9.4 LTS | 8.9.0 |
54+
| 4.2.0 | | 7.9.0 |
55+
| 4.2.0-full | 7.9.1 LTS | 7.9.0 |
4856
| 2.12.0 | | 6.8.0 |
4957
| 2.12.0-full | 6.7.7 LTS | 6.8.0 |
5058

README_DOCKERHUB.tpl.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
Docker images with out-of-the-box
2-
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts),
2+
[SonarQube {{current.sonar}}](https://www.sonarqube.org),
3+
[SonarQube 8.9 LTS](https://www.sonarqube.org/sonarqube-8-9-lts),
34
[SonarQube 7.9 LTS](https://www.sonarqube.org/sonarqube-7-9-lts) and
4-
[SonarQube {{current.sonar}}](https://www.sonarqube.org) instance with support
5-
for **[Scala](http://www.scala-lang.org)**,
5+
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts) instance with
6+
support for **[Scala](http://www.scala-lang.org)**,
67
**[Scoverage](https://github.com/scoverage/scalac-scoverage-plugin)** (code
78
coverage metrics) and **[Scalastyle](http://www.scalastyle.org)** +
89
**[Scapegoat](https://github.com/sksamuel/scapegoat)** (static code analysis).
@@ -23,11 +24,16 @@ sonar-scala provides Scapegoat support from version `6.5.0` onwards.
2324
`{{current.version}}-full`, `latest-full`
2425
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{current.version}}-full/Dockerfile),
2526
[Release {{current.version}}](https://github.com/mwz/sonar-scala-docker/releases/tag/{{current.version}})
26-
- `{{lts.version}}`, `latest-lts` (7.9 LTS)
27+
- `{{lts.version}}`, `latest-lts` (8.9 LTS)
2728
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{lts.version}}/Dockerfile),
28-
`{{lts.version}}-full`, `latest-lts-full` (7.9 LTS)
29+
`{{lts.version}}-full`, `latest-lts-full` (8.9 LTS)
2930
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{lts.version}}-full/Dockerfile),
3031
[Release {{lts.version}}](https://github.com/mwz/sonar-scala-docker/releases/tag/{{lts.version}})
32+
- `{{lts79.version}}`, `latest-lts` (7.9 LTS)
33+
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{lts79.version}}/Dockerfile),
34+
`{{lts79.version}}-full`, `latest-lts-full` (7.9 LTS)
35+
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{lts79.version}}-full/Dockerfile),
36+
[Release {{lts79.version}}](https://github.com/mwz/sonar-scala-docker/releases/tag/{{lts79.version}})
3137
- `{{lts67.version}}` (6.7 LTS)
3238
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{lts67.version}}/Dockerfile),
3339
`{{lts67.version}}-full` (6.7 LTS)
@@ -45,6 +51,8 @@ For older versions please check the
4551
| {{current.version}}-full | {{current.sonar}} | {{current.sonarScala}} |
4652
| {{lts.version}} | | {{lts.sonarScala}} |
4753
| {{lts.version}}-full | {{lts.sonar}} | {{lts.sonarScala}} |
54+
| {{lts79.version}} | | {{lts79.sonarScala}} |
55+
| {{lts79.version}}-full | {{lts79.sonar}} | {{lts79.sonarScala}} |
4856
| {{lts67.version}} | | {{lts67.sonarScala}} |
4957
| {{lts67.version}}-full | {{lts67.sonar}} | {{lts67.sonarScala}} |
5058

0 commit comments

Comments
 (0)