test: run IT against Vault 1.18.0 (#82)

This commit is contained in:
Stefan Kalscheuer 2024-10-09 18:09:30 +02:00
parent d4066c1829
commit e6ef19f1a1
Signed by: stefan
GPG Key ID: 3887EC2A53B55430
4 changed files with 6 additions and 6 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.17.6 VAULT_VERSION: 1.18.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
@ -39,7 +39,7 @@ steps:
- name: unit-integration-tests - name: unit-integration-tests
image: maven:3-eclipse-temurin-21 image: maven:3-eclipse-temurin-21
environment: environment:
VAULT_VERSION: 1.17.6 VAULT_VERSION: 1.18.0
commands: commands:
- export PATH=$${DRONE_WORKSPACE}/.bin:$${PATH} - export PATH=$${DRONE_WORKSPACE}/.bin:$${PATH}
- mvn -B -P integration-test verify - mvn -B -P integration-test verify

View File

@ -6,10 +6,10 @@ jobs:
strategy: strategy:
matrix: matrix:
jdk: [ 11, 17, 21 ] jdk: [ 11, 17, 21 ]
vault: [ '1.2.0', '1.11.12', '1.17.6' ] vault: [ '1.2.0', '1.11.12', '1.18.0' ]
include: include:
- jdk: 21 - jdk: 21
vault: '1.17.6' vault: '1.18.0'
analysis: true analysis: true
steps: steps:
- name: Checkout - name: Checkout

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.17 * Tested against Vault 1.2 to 1.18
## Maven Artifact ## Maven Artifact

View File

@ -52,7 +52,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.17.6"; // The vault version this test is supposed to run against. private static String VAULT_VERSION = "1.18.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";