Skip to content

Commit

Permalink
#67: Fixed checksum mismatch (#68)
Browse files Browse the repository at this point in the history
Fixes #67
  • Loading branch information
morazow authored Jan 19, 2022
1 parent 83408da commit 9850f35
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
strategy:
fail-fast: false
matrix:
scala: [ 2.13.7 ]
exasol-docker-version: [ 6.2.17-d1, 7.0.14, 7.1.3 ]
scala: [ 2.13.8 ]
exasol-docker-version: [ 7.0.14, 7.1.4 ]

steps:
- name: Checkout the Repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ jobs:
- name: Assembly with SBT skipping tests
run: sbt assembly
- name: Generate sha256sum files
run: find target/scala* -maxdepth 1 -name *.jar -exec bash -c 'sha256sum {} > {}.sha256' \;
run: |
cd target/scala-2.13/stripped/
find *.jar -exec bash -c 'sha256sum {} > {}.sha256' \;
- name: Upload assets to the GitHub release draft
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.inputs.upload_url }}
asset_path: target/scala*/stripped/*.jar
asset_path: target/scala-2.13/stripped/*.jar
- name: Upload sha256sum files
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.inputs.upload_url }}
asset_path: target/scala*/*.sha256
asset_path: target/scala-2.13/stripped/*.sha256
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ lazy val orgSettings = Seq(
)

lazy val buildSettings = Seq(
scalaVersion := "2.13.7"
scalaVersion := "2.13.8"
)

lazy val root =
project
.in(file("."))
.settings(moduleName := "exasol-kafka-connector-extension")
.settings(version := "1.5.2")
.settings(version := "1.5.3")
.settings(orgSettings)
.settings(buildSettings)
.settings(Settings.projectSettings(scalaVersion))
Expand Down
1 change: 1 addition & 0 deletions doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Releases

* [1.5.3](changes_1.5.3.md)
* [1.5.2](changes_1.5.2.md)
* [1.5.1](changes_1.5.1.md)
* [1.5.0](changes_1.5.0.md)
Expand Down
27 changes: 27 additions & 0 deletions doc/changes/changes_1.5.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Kafka Connector Extension 1.5.3, released 2022-01-19

Code name: Fixed mismatch between uploaded jar and checksum

## Summary

In this release, we fixed mismatch between release artifact jar file and uploaded checksum file value.

## Bug Fixes

* #67: Fixed mismatch between jar artifact and checksum value

## Dependency Updates

### Runtime Dependency Updates

* Updated `org.scala-lang:scala-library:2.13.7` to `2.13.8`

### Test Dependency Updates

* Updated `com.exasol:test-db-builder-java:3.2.1` to `3.2.2`

### Plugin Updates

* Updated `org.scalameta:sbt-scalafmt:2.4.5` to `2.4.6`
* Updated `org.scoverage:sbt-scoverage:1.9.2` to `1.9.3`
* Updated `com.timushev.sbt:sbt-updates:0.6.0` to `0.6.1`
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ object Dependencies {
private val ScalaTestPlusVersion = "1.0.0-M2"
private val MockitoCoreVersion = "4.2.0"
private val KafkaSchemaRegistryVersion = "7.0.0"
private val ExasolTestDBBuilderVersion = "3.2.1"
private val ExasolTestDBBuilderVersion = "3.2.2"
private val ExasolTestContainersVersion = "5.1.1"
private val ExasolHamcrestMatcherVersion = "1.5.1"

Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.5.7
sbt.version=1.6.1
6 changes: 3 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Adds a `scalafmt` sbt plugin
// https://github.com/scalameta/sbt-scalafmt
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.5")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")

// Adds a `wartremover` a flexible Scala code linting tool
// http://github.com/puffnfresh/wartremover
Expand All @@ -21,7 +21,7 @@ addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.0")

// Adds Scala Code Coverage (Scoverage) used during unit tests
// http://github.com/scoverage/sbt-scoverage
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.2")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3")

// Adds SBT Coveralls plugin for uploading Scala code coverage to
// https://coveralls.io
Expand All @@ -31,7 +31,7 @@ addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.1")
// Adds a `dependencyUpdates` task to check Maven repositories for
// dependency updates
// http://github.com/rtimush/sbt-updates
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.0")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.1")

// Adds `scalastyle` a coding style checker and enforcer
// https://github.com/scalastyle/scalastyle-sbt-plugin
Expand Down
2 changes: 1 addition & 1 deletion project/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Used to get updates for plugins
// see https://github.com/rtimush/sbt-updates/issues/10
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.0")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.1")
2 changes: 1 addition & 1 deletion scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -o errtrace -o nounset -o pipefail -o errexit
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/.. && pwd )"
cd "$BASE_DIR"

DEFAULT_SCALA_VERSION=2.13.6
DEFAULT_SCALA_VERSION=2.13.8

if [[ -z "${SCALA_VERSION:-}" ]]; then
echo "Environment variable SCALA_VERSION is not set"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import org.scalatest.funsuite.AnyFunSuite
trait BaseDockerIntegrationTest extends AnyFunSuite with BeforeAndAfterAll {
private[this] val JAR_DIRECTORY_PATTERN = "scala-"
private[this] val JAR_NAME_PATTERN = "exasol-kafka-connector-extension-"
private[this] val DEFAULT_EXASOL_DOCKER_IMAGE = "7.1.3"
private[this] val DEFAULT_EXASOL_DOCKER_IMAGE = "7.1.4"

val network = DockerNamedNetwork("kafka-it-tests", true)
val exasolContainer = {
Expand Down

0 comments on commit 9850f35

Please sign in to comment.