test against Vault 1.8.3 and JDK 17
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c60580481b
commit
7701f9f768
10
.drone.yml
10
.drone.yml
@ -25,12 +25,12 @@ steps:
|
|||||||
- name: unit-integration-tests
|
- name: unit-integration-tests
|
||||||
image: maven:3-jdk-11
|
image: maven:3-jdk-11
|
||||||
environment:
|
environment:
|
||||||
VAULT_VERSION: 1.7.3
|
VAULT_VERSION: 1.8.3
|
||||||
commands:
|
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 -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.7.3/vault_1.7.3_SHA256SUMS | grep linux_amd64 | sha256sum -c
|
- curl -s https://releases.hashicorp.com/vault/1.8.3/vault_1.8.3_SHA256SUMS | grep linux_amd64 | sha256sum -c
|
||||||
- unzip vault_1.7.3_linux_amd64.zip
|
- unzip vault_1.8.3_linux_amd64.zip
|
||||||
- rm vault_1.7.3_linux_amd64.zip
|
- rm vault_1.8.3_linux_amd64.zip
|
||||||
- mv vault /bin/
|
- mv vault /bin/
|
||||||
- mvn -B resources:testResources compiler:testCompile surefire:test
|
- mvn -B resources:testResources compiler:testCompile surefire:test
|
||||||
when:
|
when:
|
||||||
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -5,11 +5,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
jdk: [ 11, 16 ]
|
jdk: [ 11, 17 ]
|
||||||
vault: [ '1.7.3' ]
|
vault: [ '1.8.3' ]
|
||||||
include:
|
include:
|
||||||
- jdk: 11
|
- jdk: 11
|
||||||
vault: '1.7.3'
|
vault: '1.8.3'
|
||||||
analysis: true
|
analysis: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
* Introduce Java module descriptor
|
* Introduce Java module descriptor
|
||||||
|
|
||||||
### Test
|
### Test
|
||||||
* Tested against Vault 1.7.3
|
* Tested against Vault 1.8.3
|
||||||
|
|
||||||
|
|
||||||
## 0.9.4 (2021-06-06)
|
## 0.9.4 (2021-06-06)
|
||||||
|
@ -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.7.3
|
* Tested against Vault 1.8.3
|
||||||
|
|
||||||
|
|
||||||
## Maven Artifact
|
## Maven Artifact
|
||||||
|
@ -50,7 +50,7 @@ import static org.junit.jupiter.api.Assumptions.assumeTrue;
|
|||||||
*/
|
*/
|
||||||
@Tag("online")
|
@Tag("online")
|
||||||
class HTTPVaultConnectorTest {
|
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 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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user