Skip to content

Commit 459d7e2

Browse files
authored
Merge pull request #537 from RADAR-base/release-2.3.2
Release 2.3.2
2 parents 042e00e + aa07587 commit 459d7e2

File tree

15 files changed

+99
-40
lines changed

15 files changed

+99
-40
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
context: .
9090
file: ./Dockerfile
9191
cache-from: type=local,src=/tmp/.buildx-cache
92-
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
92+
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
9393
load: true
9494
tags: ${{ steps.docker_meta.outputs.tags }}
9595
# Use runtime labels from docker_meta as well as fixed labels
@@ -109,3 +109,8 @@ jobs:
109109
- name: Push image
110110
if: ${{ github.event_name != 'pull_request' }}
111111
run: docker push ${{ env.DOCKER_IMAGE }}:${{ steps.docker_meta.outputs.version }}
112+
113+
- name: Move cache
114+
run: |
115+
rm -rf /tmp/.buildx-cache
116+
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

.github/workflows/scheduled_snyk.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Snyk scheduled test
22
on:
33
schedule:
44
- cron: '0 2 * * 1'
5+
push:
6+
branches:
7+
- master
8+
59
jobs:
610
security:
711
runs-on: ubuntu-latest
@@ -27,13 +31,15 @@ jobs:
2731
run: >
2832
snyk test
2933
--configuration-matching='^runtimeClasspath$'
34+
--fail-on=upgradable
3035
--json-file-output=${{ env.REPORT_FILE }}
3136
--org=radar-base
37+
--policy-path=$PWD/.snyk
3238
3339
- name: Report new vulnerabilities
3440
uses: thehyve/report-vulnerability@master
41+
if: success() || failure()
3542
with:
3643
report-file: ${{ env.REPORT_FILE }}
3744
env:
3845
TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
if: ${{ failure() }}

.github/workflows/snyk.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
branches:
55
- main
6+
67
jobs:
78
security:
89
runs-on: ubuntu-latest
@@ -26,6 +27,5 @@ jobs:
2627
run: >
2728
snyk test
2829
--configuration-matching='^runtimeClasspath$'
29-
--fail-on=upgradable
3030
--org=radar-base
31-
--severity-threshold=high
31+
--policy-path=$PWD/.snyk

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.3.1 -o /output /myTopic
73+
docker run --rm -t --network s3 -v "$PWD/output:/output" radarbase/radar-output-restructure:2.3.2 -o /output /myTopic
7474
```
7575

7676
## Command line usage
@@ -228,7 +228,7 @@ This package requires at least Java JDK 8. Build the distribution with
228228
and install the package into `/usr/local` with for example
229229
```shell
230230
sudo mkdir -p /usr/local
231-
sudo tar -xzf build/distributions/radar-output-restructure-2.3.1.tar.gz -C /usr/local --strip-components=1
231+
sudo tar -xzf build/distributions/radar-output-restructure-2.3.2.tar.gz -C /usr/local --strip-components=1
232232
```
233233

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

build.gradle.kts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ plugins {
1616
}
1717

1818
group = "org.radarbase"
19-
version = "2.3.1"
19+
version = "2.3.2"
2020

2121
repositories {
2222
mavenCentral()
@@ -86,7 +86,9 @@ dependencies {
8686
val azureStorageVersion: String by project
8787
implementation("com.azure:azure-storage-blob:$azureStorageVersion") {
8888
val nettyVersion: String by project
89-
implementation(platform("io.netty:netty-bom:$nettyVersion"))
89+
runtimeOnly(platform("io.netty:netty-bom:$nettyVersion"))
90+
val projectReactorNettyVersion: String by project
91+
runtimeOnly("io.projectreactor.netty:reactor-netty-http:$projectReactorNettyVersion")
9092
}
9193
val opencsvVersion: String by project
9294
implementation("com.opencsv:opencsv:$opencsvVersion") {
@@ -321,5 +323,5 @@ ktlint {
321323
}
322324

323325
tasks.wrapper {
324-
gradleVersion = "7.5.1"
326+
gradleVersion = "7.6"
325327
}

gradle.properties

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,31 @@
11
kotlin.code.style=official
22

3-
kotlinVersion=1.7.20
3+
kotlinVersion=1.7.22
44
dokkaVersion=1.7.20
5-
dockerComposeVersion=0.16.9
6-
dependencyUpdateVersion=0.43.0
5+
dockerComposeVersion=0.16.11
6+
dependencyUpdateVersion=0.44.0
77
nexusPublishVersion=1.1.0
88
jsoupVersion=1.15.3
99

1010
coroutinesVersion=1.6.4
1111
avroVersion=1.11.1
1212
snappyVersion=1.1.8.4
13-
jacksonVersion=2.13.4.20221013
13+
jacksonVersion=2.14.1
1414
jCommanderVersion=1.82
1515
almworksVersion=1.1.2
16-
minioVersion=8.4.5
16+
minioVersion=8.4.6
1717
guavaVersion=31.1-jre
18-
opencsvVersion=5.7.0
18+
opencsvVersion=5.7.1
1919
okhttpVersion=4.10.0
20-
jedisVersion=4.3.0
21-
slf4jVersion=2.0.3
20+
jedisVersion=4.3.1
21+
slf4jVersion=2.0.5
2222
log4jVersion=2.19.0
23-
azureStorageVersion=12.20.0
24-
nettyVersion=4.1.84.Final
25-
snakeYamlVersion=1.32
23+
azureStorageVersion=12.20.1
24+
nettyVersion=4.1.85.Final
25+
snakeYamlVersion=1.33
2626
apacheCommonsTextVersion=1.10.0
27+
projectReactorNettyVersion=1.0.24
2728

2829
junitVersion=5.9.1
29-
mockitoKotlinVersion=4.0.0
30-
radarSchemasVersion=0.7.9
30+
mockitoKotlinVersion=4.1.0
31+
radarSchemasVersion=0.8.2

gradle/wrapper/gradle-wrapper.jar

818 Bytes
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

gradlew

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
8080
esac
8181
done
8282

83-
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84-
85-
APP_NAME="Gradle"
83+
# This is normally unused
84+
# shellcheck disable=SC2034
8685
APP_BASE_NAME=${0##*/}
86+
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8787

8888
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
8989
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -143,12 +143,16 @@ fi
143143
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144144
case $MAX_FD in #(
145145
max*)
146+
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147+
# shellcheck disable=SC3045
146148
MAX_FD=$( ulimit -H -n ) ||
147149
warn "Could not query maximum file descriptor limit"
148150
esac
149151
case $MAX_FD in #(
150152
'' | soft) :;; #(
151153
*)
154+
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155+
# shellcheck disable=SC3045
152156
ulimit -n "$MAX_FD" ||
153157
warn "Could not set maximum file descriptor limit to $MAX_FD"
154158
esac

gradlew.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
2828
if "%DIRNAME%"=="" set DIRNAME=.
29+
@rem This is normally unused
2930
set APP_BASE_NAME=%~n0
3031
set APP_HOME=%DIRNAME%
3132

0 commit comments

Comments
 (0)