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

Commit

Permalink
Upgrade SonarQube to 8.9.4 & sonar-scala to 8.9.0 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwz authored Dec 16, 2021
1 parent 1620213 commit 6d5849d
Show file tree
Hide file tree
Showing 13 changed files with 553 additions and 485 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
logs/
.idea
.metals
.vscode
*.jar
*.orig
.metals
logs
39 changes: 23 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# sonar-scala-docker

[![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)
[![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)
[![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)
[![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)
[![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)
[![Docker Pulls](https://img.shields.io/docker/pulls/mwizner/sonarqube-scala-plugins.svg)](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)

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

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

## Dependencies

- [SonarQube 6.7 LTS](https://hub.docker.com/_/sonarqube) /
[SonarQube 7.9 LTS](https://hub.docker.com/_/sonarqube) /
[SonarQube 8.7.1](https://hub.docker.com/_/sonarqube)
- [SonarQube 8.7.1](https://hub.docker.com/_/sonarqube) or
[SonarQube 8.9 LTS](https://hub.docker.com/_/sonarqube) or
[SonarQube 7.9 LTS](https://hub.docker.com/_/sonarqube) or
[SonarQube 6.7 LTS](https://hub.docker.com/_/sonarqube)
- [PostgreSQL 12](https://hub.docker.com/_/postgres)
- [mwz/sonar-scala](https://github.com/mwz/sonar-scala) - provides support for
scalastyle, scoverage and scapegoat
Expand All @@ -88,7 +93,8 @@ scapegoat support)_
|Version | SonarQube | sonar-scala |
|--------|-----------|-------------|
[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)
[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)
[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)
[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)
[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)
<!-- prettier-ignore-end -->

Expand Down Expand Up @@ -197,6 +203,12 @@ scapegoat support)_
<td><a href="https://github.com/mwz/sonar-scala/releases/tag/v7.0.0">7.0.0</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/mwz/sonarqube-scala-docker/releases/tag/4.2.0">4.2.0</a></td>
<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>
<td><a href="https://github.com/mwz/sonar-scala/releases/tag/v7.9.0">7.9.0</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/mwz/sonarqube-scala-docker/releases/tag/4.1.0">4.1.0</a></td>
<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>
Expand All @@ -209,12 +221,6 @@ scapegoat support)_
<td><a href="https://github.com/mwz/sonar-scala/releases/tag/v7.7.0">7.7.0</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/mwz/sonarqube-scala-docker/releases/tag/2.12.0">2.12.0</a></td>
<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>
<td><a href="https://github.com/mwz/sonar-scala/releases/tag/v6.8.0">6.8.0</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/mwz/sonarqube-scala-docker/releases/tag/2.11.0">2.11.0</a></td>
<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>
Expand Down Expand Up @@ -305,6 +311,7 @@ way to automate analysis of Scala projects with SonarQube.
<details>
<summary>Expand to see the changelog.</summary>
<ul>
<li><strong>5.8.0</strong> - Upgraded sonar-scala to 8.9.0 & SonarQube to 8.9.4.</li>
<li><strong>5.7.0</strong> - Upgraded sonar-scala to 8.7.0 & SonarQube to 8.7.1.</li>
<li><strong>5.6.0</strong> - Upgraded sonar-scala to 8.6.0 & SonarQube to 8.5.1.</li>
<li><strong>5.5.0</strong> - Upgraded sonar-scala to 8.5.0 & SonarQube to 8.4.</li>
Expand Down
23 changes: 15 additions & 8 deletions README.tpl.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# sonar-scala-docker

[![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)
[![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)
[![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)
[![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)
[![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)
[![Docker Pulls](https://img.shields.io/docker/pulls/mwizner/sonarqube-scala-plugins.svg)](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)

Docker images and docker-compose recipes for out-of-the-box
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts),
[SonarQube {{current.sonar}}](https://www.sonarqube.org),
[SonarQube 8.9 LTS](https://www.sonarqube.org/sonarqube-8-9-lts),
[SonarQube 7.9 LTS](https://www.sonarqube.org/sonarqube-7-9-lts) and
[SonarQube {{current.sonar}}](https://www.sonarqube.org) instance with support
for [Scala](http://www.scala-lang.org),
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts) instance with
support for [Scala](http://www.scala-lang.org),
[Scoverage](https://github.com/scoverage/scalac-scoverage-plugin) (code coverage
metrics) and [Scalastyle](http://www.scalastyle.org) +
[Scapegoat](https://github.com/sksamuel/scapegoat) (static code analysis).
Expand Down Expand Up @@ -39,8 +41,10 @@ bundled sonar-scala plugin,
`mwizner/sonarqube-scala-plugins:latest-full`) and
[`mwizner/sonarqube-scala-plugins:{{lts.version}}-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
(or `mwizner/sonarqube-scala-plugins:latest-lts-full`) for the current LTS
version. Alternatively, we also provide an image for the old SonarQube 6.7 LTS
version. Alternatively, we also provide an image for the old SonarQube 7.9 LTS
version -
[`mwizner/sonarqube-scala-plugins:{{lts79.version}}-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
and SonarQube 6.7 LTS version -
[`mwizner/sonarqube-scala-plugins:{{lts67.version}}-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)

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

## Dependencies

- [SonarQube 6.7 LTS](https://hub.docker.com/_/sonarqube) /
[SonarQube 7.9 LTS](https://hub.docker.com/_/sonarqube) /
[SonarQube {{current.sonar}}](https://hub.docker.com/_/sonarqube)
- [SonarQube {{current.sonar}}](https://hub.docker.com/_/sonarqube) or
[SonarQube 8.9 LTS](https://hub.docker.com/_/sonarqube) or
[SonarQube 7.9 LTS](https://hub.docker.com/_/sonarqube) or
[SonarQube 6.7 LTS](https://hub.docker.com/_/sonarqube)
- [PostgreSQL 12](https://hub.docker.com/_/postgres)
- [mwz/sonar-scala](https://github.com/mwz/sonar-scala) - provides support for
scalastyle, scoverage and scapegoat
Expand All @@ -89,6 +94,7 @@ scapegoat support)_
|--------|-----------|-------------|
[{{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}})
[{{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}})
[{{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}})
[{{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}})
<!-- prettier-ignore-end -->

Expand Down Expand Up @@ -135,6 +141,7 @@ way to automate analysis of Scala projects with SonarQube.
<details>
<summary>Expand to see the changelog.</summary>
<ul>
<li><strong>5.8.0</strong> - Upgraded sonar-scala to 8.9.0 & SonarQube to 8.9.4.</li>
<li><strong>5.7.0</strong> - Upgraded sonar-scala to 8.7.0 & SonarQube to 8.7.1.</li>
<li><strong>5.6.0</strong> - Upgraded sonar-scala to 8.6.0 & SonarQube to 8.5.1.</li>
<li><strong>5.5.0</strong> - Upgraded sonar-scala to 8.5.0 & SonarQube to 8.4.</li>
Expand Down
18 changes: 13 additions & 5 deletions README_DOCKERHUB.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Docker images with out-of-the-box
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts),
[SonarQube 8.7.1](https://www.sonarqube.org),
[SonarQube 8.9 LTS](https://www.sonarqube.org/sonarqube-8-9-lts),
[SonarQube 7.9 LTS](https://www.sonarqube.org/sonarqube-7-9-lts) and
[SonarQube 8.7.1](https://www.sonarqube.org) instance with support
for **[Scala](http://www.scala-lang.org)**,
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts) instance with
support for **[Scala](http://www.scala-lang.org)**,
**[Scoverage](https://github.com/scoverage/scalac-scoverage-plugin)** (code
coverage metrics) and **[Scalastyle](http://www.scalastyle.org)** +
**[Scapegoat](https://github.com/sksamuel/scapegoat)** (static code analysis).
Expand All @@ -23,6 +24,11 @@ sonar-scala provides Scapegoat support from version `6.5.0` onwards.
`5.7.0-full`, `latest-full`
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/5.7.0-full/Dockerfile),
[Release 5.7.0](https://github.com/mwz/sonar-scala-docker/releases/tag/5.7.0)
- `5.8.0`, `latest-lts` (8.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/5.8.0/Dockerfile),
`5.8.0-full`, `latest-lts-full` (8.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/5.8.0-full/Dockerfile),
[Release 5.8.0](https://github.com/mwz/sonar-scala-docker/releases/tag/5.8.0)
- `4.2.0`, `latest-lts` (7.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/4.2.0/Dockerfile),
`4.2.0-full`, `latest-lts-full` (7.9 LTS)
Expand All @@ -43,8 +49,10 @@ For older versions please check the
| ------------------------ | ----------------- | ---------------------- |
| 5.7.0 | | 8.7.0 |
| 5.7.0-full | 8.7.1 | 8.7.0 |
| 4.2.0 | | 7.9.0 |
| 4.2.0-full | 7.9.1 LTS | 7.9.0 |
| 5.8.0 | | 8.9.0 |
| 5.8.0-full | 8.9.4 LTS | 8.9.0 |
| 4.2.0 | | 7.9.0 |
| 4.2.0-full | 7.9.1 LTS | 7.9.0 |
| 2.12.0 | | 6.8.0 |
| 2.12.0-full | 6.7.7 LTS | 6.8.0 |

Expand Down
18 changes: 13 additions & 5 deletions README_DOCKERHUB.tpl.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Docker images with out-of-the-box
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts),
[SonarQube {{current.sonar}}](https://www.sonarqube.org),
[SonarQube 8.9 LTS](https://www.sonarqube.org/sonarqube-8-9-lts),
[SonarQube 7.9 LTS](https://www.sonarqube.org/sonarqube-7-9-lts) and
[SonarQube {{current.sonar}}](https://www.sonarqube.org) instance with support
for **[Scala](http://www.scala-lang.org)**,
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts) instance with
support for **[Scala](http://www.scala-lang.org)**,
**[Scoverage](https://github.com/scoverage/scalac-scoverage-plugin)** (code
coverage metrics) and **[Scalastyle](http://www.scalastyle.org)** +
**[Scapegoat](https://github.com/sksamuel/scapegoat)** (static code analysis).
Expand All @@ -23,11 +24,16 @@ sonar-scala provides Scapegoat support from version `6.5.0` onwards.
`{{current.version}}-full`, `latest-full`
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{current.version}}-full/Dockerfile),
[Release {{current.version}}](https://github.com/mwz/sonar-scala-docker/releases/tag/{{current.version}})
- `{{lts.version}}`, `latest-lts` (7.9 LTS)
- `{{lts.version}}`, `latest-lts` (8.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{lts.version}}/Dockerfile),
`{{lts.version}}-full`, `latest-lts-full` (7.9 LTS)
`{{lts.version}}-full`, `latest-lts-full` (8.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{lts.version}}-full/Dockerfile),
[Release {{lts.version}}](https://github.com/mwz/sonar-scala-docker/releases/tag/{{lts.version}})
- `{{lts79.version}}`, `latest-lts` (7.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{lts79.version}}/Dockerfile),
`{{lts79.version}}-full`, `latest-lts-full` (7.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{lts79.version}}-full/Dockerfile),
[Release {{lts79.version}}](https://github.com/mwz/sonar-scala-docker/releases/tag/{{lts79.version}})
- `{{lts67.version}}` (6.7 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/{{lts67.version}}/Dockerfile),
`{{lts67.version}}-full` (6.7 LTS)
Expand All @@ -45,6 +51,8 @@ For older versions please check the
| {{current.version}}-full | {{current.sonar}} | {{current.sonarScala}} |
| {{lts.version}} | | {{lts.sonarScala}} |
| {{lts.version}}-full | {{lts.sonar}} | {{lts.sonarScala}} |
| {{lts79.version}} | | {{lts79.sonarScala}} |
| {{lts79.version}}-full | {{lts79.sonar}} | {{lts79.sonarScala}} |
| {{lts67.version}} | | {{lts67.sonarScala}} |
| {{lts67.version}}-full | {{lts67.sonar}} | {{lts67.sonarScala}} |

Expand Down
Loading

0 comments on commit 6d5849d

Please sign in to comment.