test against Vault 1.11.0
This commit is contained in:
parent
9ce819b1d0
commit
4b1b4399e1
10
.drone.yml
10
.drone.yml
@ -25,12 +25,12 @@ steps:
|
||||
- name: unit-integration-tests
|
||||
image: maven:3-jdk-11
|
||||
environment:
|
||||
VAULT_VERSION: 1.10.1
|
||||
VAULT_VERSION: 1.11.0
|
||||
commands:
|
||||
- curl -s -o vault_1.10.1_linux_amd64.zip https://releases.hashicorp.com/vault/1.10.1/vault_1.10.1_linux_amd64.zip
|
||||
- curl -s https://releases.hashicorp.com/vault/1.10.1/vault_1.10.1_SHA256SUMS | grep linux_amd64 | sha256sum -c
|
||||
- unzip vault_1.10.1_linux_amd64.zip
|
||||
- rm vault_1.10.1_linux_amd64.zip
|
||||
- curl -s -o vault_1.11.0_linux_amd64.zip https://releases.hashicorp.com/vault/1.11.0/vault_1.11.0_linux_amd64.zip
|
||||
- curl -s https://releases.hashicorp.com/vault/1.11.0/vault_1.11.0_SHA256SUMS | grep linux_amd64 | sha256sum -c
|
||||
- unzip vault_1.11.0_linux_amd64.zip
|
||||
- rm vault_1.11.0_linux_amd64.zip
|
||||
- mv vault /bin/
|
||||
- mvn -B -P integration-test verify
|
||||
when:
|
||||
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -6,10 +6,10 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
jdk: [ 11, 17 ]
|
||||
vault: [ '1.10.1' ]
|
||||
vault: [ '1.11.0' ]
|
||||
include:
|
||||
- jdk: 11
|
||||
vault: '1.10.1'
|
||||
vault: '1.11.0'
|
||||
analysis: true
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -1,3 +1,9 @@
|
||||
## UNRELEASED
|
||||
|
||||
### Test
|
||||
* Tested against Vault 1.11.0
|
||||
|
||||
|
||||
## 1.1.0 (2022-04-24)
|
||||
|
||||
### Fix
|
||||
|
@ -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.10.1
|
||||
* Tested against Vault 1.11.0
|
||||
|
||||
|
||||
## Maven Artifact
|
||||
|
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
||||
|
||||
<groupId>de.stklcode.jvault</groupId>
|
||||
<artifactId>jvault-connector</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<version>1.1.1-SNAPSHOT</version>
|
||||
|
||||
<packaging>jar</packaging>
|
||||
|
||||
|
@ -49,7 +49,7 @@ import static org.junit.jupiter.api.Assumptions.assumeTrue;
|
||||
* @since 0.1
|
||||
*/
|
||||
class HTTPVaultConnectorIT {
|
||||
private static String VAULT_VERSION = "1.10.1"; // The vault version this test is supposed to run against.
|
||||
private static String VAULT_VERSION = "1.11.0"; // 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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user