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.9.0. (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwz committed Jan 19, 2020
1 parent 24190cd commit 4cd3bb3
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 34 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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_(for_SonarQube_LTS_7.9)-v4.1.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 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)

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)(or
`mwizner/sonarqube-scala-plugins:latest-full`) and
[`mwizner/sonarqube-scala-plugins:4.1.0-full`](https://hub.docker.com/r/mwizner/sonarqube-scala-plugins)
[`mwizner/sonarqube-scala-plugins:4.2.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 -
Expand Down Expand Up @@ -86,7 +86,7 @@ scapegoat support)_
|Version | SonarQube | sonar-scala |
|--------|-----------|-------------|
[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.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)
[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)
[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 @@ -147,6 +147,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.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>
<td><a href="https://github.com/mwz/sonar-scala/releases/tag/v7.8.0">7.8.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>
Expand Down Expand Up @@ -249,6 +255,7 @@ way to automate analysis of Scala projects with SonarQube.
<details>
<summary>Expand to see the changelog.</summary>
<ul>
<li><strong>4.2.0</strong> - Upgraded sonar-scala to 7.9.0.</li>
<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>
Expand Down
1 change: 1 addition & 0 deletions README.tpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ way to automate analysis of Scala projects with SonarQube.
<details>
<summary>Expand to see the changelog.</summary>
<ul>
<li><strong>4.2.0</strong> - Upgraded sonar-scala to 7.9.0.</li>
<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>
Expand Down
28 changes: 13 additions & 15 deletions README_DOCKERHUB.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ sonar-scala provides Scapegoat support from version `6.5.0` onwards.
`3.7.0-full`, `latest-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.1.0`, `latest-lts` (7.9 LTS)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/4.1.0/Dockerfile),
`4.1.0-full`, `latest-lts-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)
- `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)
[Dockerfile](https://github.com/mwz/sonar-scala-docker/blob/master/4.2.0-full/Dockerfile),
[Release 4.2.0](https://github.com/mwz/sonar-scala-docker/releases/tag/4.2.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 @@ -38,16 +38,14 @@ For older versions please check the

## What's included

<!-- prettier-ignore-start -->
Version | SonarQube | sonar-scala |
--------|-----------|-------------|
3.7.0 || 7.6.0 |
3.7.0-full | 7.8 | 7.6.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 -->
| Version | SonarQube | sonar-scala |
| ------------------------ | ----------------- | ---------------------- |
| 3.7.0 | | 7.6.0 |
| 3.7.0-full | 7.8 | 7.6.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 |

## Usage

Expand Down
18 changes: 8 additions & 10 deletions README_DOCKERHUB.tpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,14 @@ For older versions please check the

## What's included

<!-- prettier-ignore-start -->
Version | SonarQube | sonar-scala |
--------|-----------|-------------|
{{current.version}} || {{current.sonarScala}} |
{{current.version}}-full | {{current.sonar}} | {{current.sonarScala}} |
{{lts.version}} || {{lts.sonarScala}} |
{{lts.version}}-full | {{lts.sonar}} | {{lts.sonarScala}} |
{{lts67.version}} || {{lts67.sonarScala}} |
{{lts67.version}}-full | {{lts67.sonar}} | {{lts67.sonarScala}} |
<!-- prettier-ignore-end -->
| Version | SonarQube | sonar-scala |
| ------------------------ | ----------------- | ---------------------- |
| {{current.version}} | | {{current.sonarScala}} |
| {{current.version}}-full | {{current.sonar}} | {{current.sonarScala}} |
| {{lts.version}} | | {{lts.sonarScala}} |
| {{lts.version}}-full | {{lts.sonar}} | {{lts.sonarScala}} |
| {{lts67.version}} | | {{lts67.sonarScala}} |
| {{lts67.version}}-full | {{lts67.sonar}} | {{lts67.sonarScala}} |

## Usage

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.9.0-SNAPSHOT
export SONAR_SCALA_VERSION=7.10.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} .
2 changes: 1 addition & 1 deletion docker-compose-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.0
image: mwizner/sonarqube-scala-plugins:4.2.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.8.0
ENV SONAR_SCALA_VERSION 7.9.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.8.0
ENV SONAR_SCALA_VERSION 7.9.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.1.0",
"version": "4.2.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.8.0"
"sonarScala": "7.9.0"
},
"lts67": {
"version": "2.12.0",
Expand Down Expand Up @@ -80,6 +80,13 @@
}
],
"lts": [
{
"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.8.0"
},
{
"version": "4.0.0",
"sonar": "7.9.1 LTS",
Expand Down

0 comments on commit 4cd3bb3

Please sign in to comment.