test against Vault 1.15.0
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Stefan Kalscheuer 2023-09-27 20:18:34 +02:00
parent c06cb9b0fb
commit 08e8c9f090
Signed by: stefan
GPG Key ID: 3887EC2A53B55430
5 changed files with 8 additions and 5 deletions

View File

@ -25,7 +25,7 @@ steps:
- name: setup-vault - name: setup-vault
image: alpine:latest image: alpine:latest
environment: environment:
VAULT_VERSION: 1.14.0 VAULT_VERSION: 1.15.0
commands: commands:
- wget -q -O vault_$${VAULT_VERSION}_linux_amd64.zip https://releases.hashicorp.com/vault/$${VAULT_VERSION}/vault_$${VAULT_VERSION}_linux_amd64.zip - wget -q -O vault_$${VAULT_VERSION}_linux_amd64.zip https://releases.hashicorp.com/vault/$${VAULT_VERSION}/vault_$${VAULT_VERSION}_linux_amd64.zip
- wget -q -O - https://releases.hashicorp.com/vault/$${VAULT_VERSION}/vault_$${VAULT_VERSION}_SHA256SUMS | grep linux_amd64 | sha256sum -c - wget -q -O - https://releases.hashicorp.com/vault/$${VAULT_VERSION}/vault_$${VAULT_VERSION}_SHA256SUMS | grep linux_amd64 | sha256sum -c
@ -40,7 +40,7 @@ steps:
- name: unit-integration-tests - name: unit-integration-tests
image: maven:3-eclipse-temurin-17 image: maven:3-eclipse-temurin-17
environment: environment:
VAULT_VERSION: 1.14.0 VAULT_VERSION: 1.15.0
commands: commands:
- export PATH=.bin:$${PATH} - export PATH=.bin:$${PATH}
- mvn -B -P integration-test verify - mvn -B -P integration-test verify

View File

@ -6,7 +6,7 @@ jobs:
strategy: strategy:
matrix: matrix:
jdk: [ 11, 17, 20 ] jdk: [ 11, 17, 20 ]
vault: [ '1.2.0', '1.11.12', '1.14.0' ] vault: [ '1.2.0', '1.11.12', '1.15.0' ]
include: include:
- jdk: 17 - jdk: 17
vault: '1.11.12' vault: '1.11.12'

View File

@ -3,6 +3,9 @@
### Fix ### Fix
* Fixed JSON type conversion in `SecretResponse#get(String, Class)` (#67) * Fixed JSON type conversion in `SecretResponse#get(String, Class)` (#67)
### Test
* Tested against Vault 1.2 to 1.15
## 1.1.4 (2023-06-15) ## 1.1.4 (2023-06-15)

View File

@ -32,7 +32,7 @@ Java Vault Connector is a connector library for [Vault](https://www.vaultproject
* SQL secret handling * SQL secret handling
* KV v1 and v2 support * KV v1 and v2 support
* Connector Factory with builder pattern * Connector Factory with builder pattern
* Tested against Vault 1.2 to 1.14 * Tested against Vault 1.2 to 1.15
## Maven Artifact ## Maven Artifact

View File

@ -51,7 +51,7 @@ import static org.junit.jupiter.api.Assumptions.assumeTrue;
* @since 0.1 * @since 0.1
*/ */
class HTTPVaultConnectorIT { class HTTPVaultConnectorIT {
private static String VAULT_VERSION = "1.14.0"; // The vault version this test is supposed to run against. private static String VAULT_VERSION = "1.15.0"; // The vault version this test is supposed to run against.
private static final String KEY1 = "E38bkCm0VhUvpdCKGQpcohhD9XmcHJ/2hreOSY019Lho"; private static final String KEY1 = "E38bkCm0VhUvpdCKGQpcohhD9XmcHJ/2hreOSY019Lho";
private static final String KEY2 = "O5OHwDleY3IiPdgw61cgHlhsrEm6tVJkrxhF6QAnILd1"; private static final String KEY2 = "O5OHwDleY3IiPdgw61cgHlhsrEm6tVJkrxhF6QAnILd1";
private static final String KEY3 = "mw7Bm3nbt/UWa/juDjjL2EPQ04kiJ0saC5JEXwJvXYsB"; private static final String KEY3 = "mw7Bm3nbt/UWa/juDjjL2EPQ04kiJ0saC5JEXwJvXYsB";