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

Commit

Permalink
Upgrade sonar-scala to 7.8.0. (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwz authored Dec 24, 2019
1 parent 1ae2971 commit ce8f984
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 28 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# sonar-scala-docker

[![GitHub version](https://img.shields.io/badge/release-v3.7.0-blue.svg)](https://github.com/mwz/sonarqube-scala-docker/releases)
[![GitHub version lts](<https://img.shields.io/badge/release_(LTS_7.9)-v4.0.0-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
[![GitHub version lts 6.7](<https://img.shields.io/badge/release_(LTS_6.7)-v2.12.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.1.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
Expand Down Expand Up @@ -36,7 +36,7 @@ You can also use a standalone docker image which contains SonarQube server with
bundled sonar-scala plugin,
[`mwizner/sonarqube-scala-plugins:3.7.0-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
and
[`mwizner/sonarqube-scala-plugins:4.0.0-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
[`mwizner/sonarqube-scala-plugins:4.1.0-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
for the current LTS version. Alternatively, we also provide an image for the old
6.7 LTS version -
[`mwizner/sonarqube-scala-plugins:2.12.0-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
Expand Down Expand Up @@ -85,7 +85,7 @@ scapegoat support)
|Version | SonarQube | sonar-scala | sonar-scala-extra|
|--------|-----------|-------------|------------------|
[3.7.0](https://github.com/mwz/sonarqube-scala-docker/releases/tag/3.7.0) | 7.8 [documentation](https://docs.sonarqube.org/7.8), [changelog](https://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10930&version=14939) | [7.6.0](https://github.com/mwz/sonar-scala/releases/tag/v7.6.0)
[4.0.0](https://github.com/mwz/sonarqube-scala-docker/releases/tag/4.0.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.7.0](https://github.com/mwz/sonar-scala/releases/tag/v7.7.0)
[4.1.0](https://github.com/mwz/sonarqube-scala-docker/releases/tag/4.1.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.8.0](https://github.com/mwz/sonar-scala/releases/tag/v7.8.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 @@ -146,6 +146,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.0.0">4.0.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.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>
Expand Down Expand Up @@ -242,6 +248,7 @@ way to automate analysis of Scala projects with SonarQube.
<details>
<summary>Expand to see the changelog.</summary>
<ul>
<li><strong>4.1.0</strong> - Upgraded sonar-scala to 7.8.0.</li>
<li><strong>4.0.0</strong> - Upgraded sonar-scala to 7.7.0 & SonarQube to 7.9.1 LTS.</li>
<li><strong>3.7.0</strong> - Upgraded sonar-scala to 7.6.0 & SonarQube to 7.8.</li>
<li><strong>3.6.0</strong> - Upgraded sonar-scala to 7.5.0 & SonarQube to 7.7.</li>
Expand Down
5 changes: 3 additions & 2 deletions README.tpl.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# sonar-scala-docker

[![GitHub version](https://img.shields.io/badge/release-v{{current.version}}-blue.svg)](https://github.com/mwz/sonarqube-scala-docker/releases)
[![GitHub version lts](<https://img.shields.io/badge/release_(LTS_7.9)-v{{lts.version}}-blue.svg>)](https://github.com/mwz/sonarqube-scala-docker/releases)
[![GitHub version lts 6.7](<https://img.shields.io/badge/release_(LTS_6.7)-v{{lts67.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 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
Expand Down Expand Up @@ -132,6 +132,7 @@ way to automate analysis of Scala projects with SonarQube.
<details>
<summary>Expand to see the changelog.</summary>
<ul>
<li><strong>4.1.0</strong> - Upgraded sonar-scala to 7.8.0.</li>
<li><strong>4.0.0</strong> - Upgraded sonar-scala to 7.7.0 & SonarQube to 7.9.1 LTS.</li>
<li><strong>3.7.0</strong> - Upgraded sonar-scala to 7.6.0 & SonarQube to 7.8.</li>
<li><strong>3.6.0</strong> - Upgraded sonar-scala to 7.5.0 & SonarQube to 7.7.</li>
Expand Down
22 changes: 11 additions & 11 deletions README_DOCKERHUB.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Docker images with out-of-the-box
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts) and
[SonarQube 7.9 LTS](https://www.sonarqube.org/sonarqube-7-9-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).
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).

## Available versions

Expand All @@ -22,11 +22,11 @@ sonar-scala provides Scapegoat support from version `6.5.0` onwards.
`3.7.0-full`
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/3.7.0-full/Dockerfile),
[Release 3.7.0](https://github.com/mwz/sonar-scala-docker/releases/tag/3.7.0)
- `4.0.0` (7.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/4.0.0/Dockerfile),
`4.0.0-full` (7.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/4.0.0-full/Dockerfile),
[Release 4.0.0](https://github.com/mwz/sonar-scala-docker/releases/tag/4.0.0)
- `4.1.0` (7.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/4.1.0/Dockerfile),
`4.1.0-full` (7.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/4.1.0-full/Dockerfile),
[Release 4.1.0](https://github.com/mwz/sonar-scala-docker/releases/tag/4.1.0)
- `2.12.0` (6.7 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/2.12.0/Dockerfile),
`2.12.0-full` (6.7 LTS)
Expand All @@ -43,8 +43,8 @@ Version | SonarQube | sonar-scala |
--------|-----------|-------------|
3.7.0 || 7.6.0 |
3.7.0-full | 7.8 | 7.6.0 |
4.0.0 || 7.7.0 |
4.0.0-full | 7.9.1 LTS | 7.7.0 |
4.1.0 || 7.8.0 |
4.1.0-full | 7.9.1 LTS | 7.8.0 |
2.12.0 || 6.8.0 |
2.12.0-full | 6.7.7 LTS | 6.8.0 |
<!-- prettier-ignore-end -->
Expand Down
8 changes: 4 additions & 4 deletions README_DOCKERHUB.tpl.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Docker images with out-of-the-box
[SonarQube 6.7 LTS](https://www.sonarqube.org/sonarqube-6-7-lts) and
[SonarQube 7.9 LTS](https://www.sonarqube.org/sonarqube-7-9-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).
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).

## Available versions

Expand Down
2 changes: 1 addition & 1 deletion dev/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -eu

export SONAR_SCALA_VERSION=7.7.0-SNAPSHOT
export SONAR_SCALA_VERSION=7.9.0-SNAPSHOT
cp ~/.ivy2/local/com.github.mwz/sonar-scala_2.12/${SONAR_SCALA_VERSION}/jars/sonar-scala_2.12-assembly.jar .
docker build -t mwizner/sonarqube-scala-plugins:dev --build-arg SONAR_SCALA_VERSION=${SONAR_SCALA_VERSION} .
4 changes: 2 additions & 2 deletions docker-compose-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
depends_on:
- db-lts
db-lts:
image: postgres:10.10-alpine
image: postgres:10.11-alpine
networks:
- sonarnet_lts
environment:
Expand All @@ -31,7 +31,7 @@ services:
- postgresql_lts:/var/lib/postgresql
- postgresql_lts_data:/var/lib/postgresql/data
plugins-lts:
image: mwizner/sonarqube-scala-plugins:4.0.0
image: mwizner/sonarqube-scala-plugins:4.1.0
volumes:
- sonarqube_lts_plugins:/opt/sonarqube/extensions/plugins
command: /bin/true
Expand Down
2 changes: 1 addition & 1 deletion lts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
FROM bitnami/minideb:stretch
RUN install_packages curl ca-certificates

ENV SONAR_SCALA_VERSION 7.7.0
ENV SONAR_SCALA_VERSION 7.8.0

RUN groupadd -r sonarqube && useradd -r -g sonarqube sonarqube
WORKDIR /opt/sonarqube/extensions/plugins
Expand Down
2 changes: 1 addition & 1 deletion lts/full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM sonarqube:7.9.1-community

ENV SONAR_SCALA_VERSION 7.7.0
ENV SONAR_SCALA_VERSION 7.8.0

WORKDIR /opt/sonarqube/extensions/plugins
RUN rm sonar-scala-plugin-* && curl -L -o "sonar-scala-plugin-${SONAR_SCALA_VERSION}.jar" \
Expand Down
11 changes: 9 additions & 2 deletions vars.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"sonarScala": "7.6.0"
},
"lts": {
"version": "4.0.0",
"version": "4.1.0",
"sonar": "7.9.1 LTS",
"sonarDocs": "https://docs.sonarqube.org/7.9",
"sonarChangelog": "https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10930&version=15029",
"sonarScala": "7.7.0"
"sonarScala": "7.8.0"
},
"lts67": {
"version": "2.12.0",
Expand Down Expand Up @@ -80,6 +80,13 @@
}
],
"lts": [
{
"version": "4.0.0",
"sonar": "7.9.1 LTS",
"sonarDocs": "https://docs.sonarqube.org/7.9",
"sonarChangelog": "https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10930&version=15029",
"sonarScala": "7.7.0"
},
{
"version": "2.12.0",
"sonar": "6.7.7 LTS",
Expand Down

0 comments on commit ce8f984

Please sign in to comment.