From 7701f9f7687a38b6e42b310963619749c3cf81c9 Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Sat, 2 Oct 2021 14:16:47 +0200 Subject: [PATCH] test against Vault 1.8.3 and JDK 17 --- .drone.yml | 10 +++++----- .github/workflows/ci.yml | 6 +++--- CHANGELOG.md | 2 +- README.md | 2 +- .../jvault/connector/HTTPVaultConnectorTest.java | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index fe692b8..eb3ea34 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,12 +25,12 @@ steps: - name: unit-integration-tests image: maven:3-jdk-11 environment: - VAULT_VERSION: 1.7.3 + VAULT_VERSION: 1.8.3 commands: - - curl -s -o vault_1.7.3_linux_amd64.zip https://releases.hashicorp.com/vault/1.7.3/vault_1.7.3_linux_amd64.zip - - curl -s https://releases.hashicorp.com/vault/1.7.3/vault_1.7.3_SHA256SUMS | grep linux_amd64 | sha256sum -c - - unzip vault_1.7.3_linux_amd64.zip - - rm vault_1.7.3_linux_amd64.zip + - curl -s -o vault_1.8.3_linux_amd64.zip https://releases.hashicorp.com/vault/1.8.3/vault_1.8.3_linux_amd64.zip + - curl -s https://releases.hashicorp.com/vault/1.8.3/vault_1.8.3_SHA256SUMS | grep linux_amd64 | sha256sum -c + - unzip vault_1.8.3_linux_amd64.zip + - rm vault_1.8.3_linux_amd64.zip - mv vault /bin/ - mvn -B resources:testResources compiler:testCompile surefire:test when: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34d7f68..df5fdda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,11 +5,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - jdk: [ 11, 16 ] - vault: [ '1.7.3' ] + jdk: [ 11, 17 ] + vault: [ '1.8.3' ] include: - jdk: 11 - vault: '1.7.3' + vault: '1.8.3' analysis: true steps: - name: Checkout diff --git a/CHANGELOG.md b/CHANGELOG.md index 07c8c3a..30465da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ * Introduce Java module descriptor ### Test -* Tested against Vault 1.7.3 +* Tested against Vault 1.8.3 ## 0.9.4 (2021-06-06) diff --git a/README.md b/README.md index 3f5684c..3f96343 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Java Vault Connector is a connector library for [Vault](https://www.vaultproject * SQL secret handling * KV v1 and v2 support * Connector Factory with builder pattern -* Tested against Vault 1.7.3 +* Tested against Vault 1.8.3 ## Maven Artifact diff --git a/src/test/java/de/stklcode/jvault/connector/HTTPVaultConnectorTest.java b/src/test/java/de/stklcode/jvault/connector/HTTPVaultConnectorTest.java index f7b1e15..dadbd7e 100644 --- a/src/test/java/de/stklcode/jvault/connector/HTTPVaultConnectorTest.java +++ b/src/test/java/de/stklcode/jvault/connector/HTTPVaultConnectorTest.java @@ -50,7 +50,7 @@ import static org.junit.jupiter.api.Assumptions.assumeTrue; */ @Tag("online") class HTTPVaultConnectorTest { - private static String VAULT_VERSION = "1.7.3"; // The vault version this test is supposed to run against. + private static String VAULT_VERSION = "1.8.3"; // The vault version this test is supposed to run against. private static final String KEY1 = "E38bkCm0VhUvpdCKGQpcohhD9XmcHJ/2hreOSY019Lho"; private static final String KEY2 = "O5OHwDleY3IiPdgw61cgHlhsrEm6tVJkrxhF6QAnILd1"; private static final String KEY3 = "mw7Bm3nbt/UWa/juDjjL2EPQ04kiJ0saC5JEXwJvXYsB";