Skip to content

Commit 0cf9010

Browse files
authored
Merge pull request #521 from RADAR-base/release-2.1.0
Release 2.1.0
2 parents cf12250 + f68dbd7 commit 0cf9010

File tree

13 files changed

+161
-119
lines changed

13 files changed

+161
-119
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Continuous integration, including test and integration test
22
name: CI
33

4-
# Run in master and dev branches and in all pull requests to those branches
4+
# Run in main and dev branches and in all pull requests to those branches
55
on:
66
push:
7-
branches: [ master, dev ]
7+
branches: [ main, dev ]
88
pull_request:
9-
branches: [ master, dev ]
9+
branches: [ main, dev ]
1010

1111
env:
1212
DOCKER_IMAGE: radarbase/radar-output-restructure
@@ -22,21 +22,13 @@ jobs:
2222
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2323
- uses: actions/checkout@v2
2424

25-
- uses: actions/setup-java@v1
25+
- uses: actions/setup-java@v2
2626
with:
27+
distribution: zulu
2728
java-version: 17
2829

29-
- name: Gradle cache
30-
uses: actions/cache@v2
31-
with:
32-
# Cache gradle directories
33-
path: |
34-
~/.gradle/caches
35-
~/.gradle/wrapper
36-
# An explicit key for restoring and saving the cache
37-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts', 'gradle.properties') }}
38-
restore-keys: |
39-
${{ runner.os }}-gradle-
30+
- name: Setup Gradle
31+
uses: gradle/gradle-build-action@v2
4032

4133
# Compile the code
4234
- name: Compile code

.github/workflows/publish_snapshots.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,13 @@ jobs:
2121
id: is-snapshot
2222
run: grep 'version = ".*-SNAPSHOT"' build.gradle.kts
2323

24-
- uses: actions/setup-java@v1
24+
- uses: actions/setup-java@v2
2525
with:
26+
distribution: zulu
2627
java-version: 17
2728

28-
- name: Cache
29-
uses: actions/cache@v2
30-
with:
31-
# Cache gradle directories
32-
path: |
33-
~/.gradle/caches
34-
~/.gradle/wrapper
35-
# Key for restoring and saving the cache
36-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts', 'gradle.properties') }}
37-
restore-keys: |
38-
${{ runner.os }}-gradle
29+
- name: Setup Gradle
30+
uses: gradle/gradle-build-action@v2
3931

4032
- name: Install gpg secret key
4133
run: |

.github/workflows/release.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,14 @@ jobs:
1717
steps:
1818
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1919
- uses: actions/checkout@v2
20-
- uses: actions/setup-java@v1
20+
21+
- uses: actions/setup-java@v2
2122
with:
23+
distribution: zulu
2224
java-version: 17
2325

24-
- name: Gradle cache
25-
uses: actions/cache@v2
26-
with:
27-
# Cache gradle directories
28-
path: |
29-
~/.gradle/caches
30-
~/.gradle/wrapper
31-
# An explicit key for restoring and saving the cache
32-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts', 'gradle.properties') }}
33-
restore-keys: |
34-
${{ runner.os }}-gradle-
26+
- name: Setup Gradle
27+
uses: gradle/gradle-build-action@v2
3528

3629
# Compile code
3730
- name: Compile code

.github/workflows/scheduled_snyk.yaml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,21 @@ jobs:
99
REPORT_FILE: test.json
1010
steps:
1111
- uses: actions/checkout@master
12+
- uses: snyk/actions/setup@master
1213

13-
- name: Run Snyk to check for vulnerabilities
14-
uses: snyk/actions/gradle-jdk11@master
15-
env:
16-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
14+
- uses: actions/setup-java@v2
1715
with:
18-
command: test
19-
args: --json-file-output=${{ env.REPORT_FILE }}
16+
distribution: zulu
17+
java-version: 17
2018

21-
- name: Report new vulnerabilities
22-
uses: thehyve/report-vulnerability@master
23-
with:
24-
report-file: ${{ env.REPORT_FILE }}
19+
- name: Setup Gradle
20+
uses: gradle/gradle-build-action@v2
21+
22+
- name: Run Snyk
2523
env:
26-
TOKEN: ${{ secrets.GITHUB_TOKEN }}
27-
if: ${{ failure() }}
24+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
25+
run: >
26+
snyk test
27+
--configuration-matching='^runtimeClasspath$'
28+
--json-file-output=${{ env.REPORT_FILE }}
29+
--org=radar-base

.github/workflows/snyk.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,22 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@master
11+
- uses: snyk/actions/setup@master
12+
13+
- uses: actions/setup-java@v2
14+
with:
15+
distribution: zulu
16+
java-version: 17
17+
18+
- name: Setup Gradle
19+
uses: gradle/gradle-build-action@v2
20+
1121
- name: Run Snyk to check for vulnerabilities
12-
uses: snyk/actions/gradle-jdk11@master
1322
env:
1423
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
15-
with:
16-
args: --severity-threshold=high
24+
run: >
25+
snyk test
26+
--severity-threshold=high
27+
--configuration-matching='^runtimeClasspath$'
28+
--fail-on=upgradable
29+
--org=radar-base

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# See the License for the specific language governing permissions and
1111
# limitations under the License.
1212

13-
FROM gradle:7.3-jdk17 AS builder
13+
FROM --platform=$BUILDPLATFORM gradle:7.4-jdk17 AS builder
1414

1515
RUN mkdir /code
1616
WORKDIR /code

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ When upgrading to version 0.6.0 from version 0.5.x or earlier, please follow the
7070
This package is available as docker image [`radarbase/radar-output-restructure`](https://hub.docker.com/r/radarbase/radar-output-restructure). The entrypoint of the image is the current application. So in all the commands listed in usage, replace `radar-output-restructure` with for example:
7171

7272
```shell
73-
docker run --rm -t --network s3 -v "$PWD/output:/output" radarbase/radar-output-restructure:2.0.2 -o /output /myTopic
73+
docker run --rm -t --network s3 -v "$PWD/output:/output" radarbase/radar-output-restructure:2.1.0 -o /output /myTopic
7474
```
7575

7676
## Command line usage
@@ -182,7 +182,7 @@ This package requires at least Java JDK 8. Build the distribution with
182182
and install the package into `/usr/local` with for example
183183
```shell
184184
sudo mkdir -p /usr/local
185-
sudo tar -xzf build/distributions/radar-output-restructure-2.0.2.tar.gz -C /usr/local --strip-components=1
185+
sudo tar -xzf build/distributions/radar-output-restructure-2.1.0.tar.gz -C /usr/local --strip-components=1
186186
```
187187

188188
Now the `radar-output-restructure` command should be available.

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ plugins {
1515
}
1616

1717
group = "org.radarbase"
18-
version = "2.0.2"
18+
version = "2.1.0"
1919

2020
repositories {
2121
mavenCentral()
@@ -299,5 +299,5 @@ tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {
299299
}
300300

301301
tasks.wrapper {
302-
gradleVersion = "7.3.3"
302+
gradleVersion = "7.4.1"
303303
}

gradle.properties

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@ kotlin.code.style=official
22

33
kotlinVersion=1.6.10
44
dokkaVersion=1.6.10
5-
dockerComposeVersion=0.14.11
6-
dependencyUpdateVersion=0.40.0
5+
dockerComposeVersion=0.15.2
6+
dependencyUpdateVersion=0.42.0
77
nexusPublishVersion=1.1.0
88
jsoupVersion=1.14.3
99

1010
avroVersion=1.11.0
1111
snappyVersion=1.1.8.4
12-
jacksonVersion=2.13.1
13-
jCommanderVersion=1.81
12+
jacksonVersion=2.13.2
13+
jCommanderVersion=1.82
1414
almworksVersion=1.1.2
15-
minioVersion=8.3.4
16-
guavaVersion=31.0.1-jre
17-
opencsvVersion=5.5.2
15+
minioVersion=8.3.7
16+
guavaVersion=31.1-jre
17+
opencsvVersion=5.6
1818
okhttpVersion=4.9.3
19-
jedisVersion=4.0.1
20-
slf4jVersion=1.7.32
21-
log4jVersion=2.17.1
22-
azureStorageVersion=12.14.2
23-
nettyVersion=4.1.72.Final
19+
jedisVersion=4.1.1
20+
slf4jVersion=1.7.36
21+
log4jVersion=2.17.2
22+
azureStorageVersion=12.15.0
23+
nettyVersion=4.1.75.Final
2424

2525
junitVersion=5.8.2
2626
mockitoKotlinVersion=4.0.0
27-
radarSchemasVersion=0.7.5
27+
radarSchemasVersion=0.7.7

gradle/wrapper/gradle-wrapper.jar

285 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)