Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/dev-release-docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build and publish Docker distributions to Github Container Registry ghcr.io

on:
workflow_dispatch:
push:
branches:
- dev-version-*
paths:
- gradle.properties

jobs:
build-job:
uses: th2-net/.github/.github/workflows/compound-java.yml@main
with:
build-target: 'Docker'
docker-username: ${{ github.actor }}
devRelease: true
secrets:
docker-password: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gradle:6.6-jdk11 AS build
FROM gradle:7.6-jdk11 AS build
ARG release_version
COPY ./ .
RUN gradle build dockerPrepare \
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Csv codec (4.0.0)
# Csv codec (5.0.0)
## Description
Designed for decode csv raw messages from csv reader to the parsed messages.
It is based on [th2-codec](https://github.com/th2-net/th2-codec).
Expand Down Expand Up @@ -130,6 +130,20 @@ spec:

## Release notes

### 5.0.0
+ Migrated to books&pages concept

### 4.1.0

+ Migrated to `th2-codec:4.8.0`
+ Common updated to `3.44.1`
+ Bom updated to `4.2.0`
+ Codec to `4.8.1`

### 4.0.1

+ Migrated to `th2-codec:4.7.6`

### 4.0.0

+ Migration to **books/pages** cradle `4.0.0`
Expand Down
17 changes: 14 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'java-library'
id 'application'
id 'com.palantir.docker' version '0.25.0'
id "org.owasp.dependencycheck" version "8.1.0"
id "org.owasp.dependencycheck" version "8.1.2"
}

dependencyCheck {
Expand Down Expand Up @@ -60,8 +60,8 @@ jar {

dependencies {
api platform('com.exactpro.th2:bom:4.2.0')
implementation 'com.exactpro.th2:common:5.1.0-dev-version-5-4085018593-8adee33-SNAPSHOT'
implementation 'com.exactpro.th2:codec:5.0.1-dev-version-5-4162018353-c0c279d-SNAPSHOT'
implementation 'com.exactpro.th2:common:5.2.0-dev'
implementation 'com.exactpro.th2:codec:5.2.0-dev'

implementation "org.slf4j:slf4j-api"

Expand Down Expand Up @@ -95,4 +95,15 @@ dockerPrepare {

docker {
copySpec.from(tarTree("$buildDir/distributions/${applicationName}.tar"))
}

dependencyCheck {
formats=['SARIF', 'JSON', 'HTML']
failBuildOnCVSS=5

analyzers {
assemblyEnabled = false
nugetconfEnabled = false
nodeEnabled = false
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
release_version = 4.0.0
release_version = 5.0.0

docker_image_name=
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip