test against Vault 1.6.0
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
4ba81492d5
commit
c8ca5c4091
10
.drone.yml
10
.drone.yml
@ -25,12 +25,12 @@ steps:
|
||||
- name: unit-integration-tests
|
||||
image: maven:3-jdk-11
|
||||
environment:
|
||||
VAULT_VERSION: 1.5.0
|
||||
VAULT_VERSION: 1.6.0
|
||||
commands:
|
||||
- curl -s -o vault_1.5.0_linux_amd64.zip https://releases.hashicorp.com/vault/1.5.0/vault_1.5.0_linux_amd64.zip
|
||||
- curl -s https://releases.hashicorp.com/vault/1.5.0/vault_1.5.0_SHA256SUMS | grep linux_amd64 | sha256sum -c
|
||||
- unzip vault_1.5.0_linux_amd64.zip
|
||||
- rm vault_1.5.0_linux_amd64.zip
|
||||
- curl -s -o vault_1.6.0_linux_amd64.zip https://releases.hashicorp.com/vault/1.6.0/vault_1.6.0_linux_amd64.zip
|
||||
- curl -s https://releases.hashicorp.com/vault/1.6.0/vault_1.6.0_SHA256SUMS | grep linux_amd64 | sha256sum -c
|
||||
- unzip vault_1.6.0_linux_amd64.zip
|
||||
- rm vault_1.6.0_linux_amd64.zip
|
||||
- mv vault /bin/
|
||||
- mvn test
|
||||
when:
|
||||
|
@ -12,7 +12,7 @@ stages:
|
||||
- Test
|
||||
- Analysis
|
||||
env:
|
||||
- PATH=$PATH:. VAULT_VERSION=1.5.0
|
||||
- PATH=$PATH:. VAULT_VERSION=1.6.0
|
||||
before_script:
|
||||
- |
|
||||
if [[ "$TRAVIS_BRANCH" =~ ^master|(release\/.+)$ ]]; then
|
||||
|
@ -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.5.0
|
||||
* Tested against Vault 1.6.0
|
||||
|
||||
|
||||
## Maven Artifact
|
||||
|
@ -53,7 +53,7 @@ import static org.junit.jupiter.api.Assumptions.assumeTrue;
|
||||
*/
|
||||
@Tag("online")
|
||||
public class HTTPVaultConnectorTest {
|
||||
private static String VAULT_VERSION = "1.5.0"; // the vault version this test is supposed to run against
|
||||
private static String VAULT_VERSION = "1.6.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