test against older Vault versions to provide a supported range
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
We've only tested the connector against the latest Vault version available at release time. However, we do support a wider range. Test against the oldest supported release, the latest with AppID and the actual latest.
This commit is contained in:
parent
0c56813121
commit
adedc277fa
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -6,10 +6,10 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
jdk: [ 11, 17, 18 ]
|
jdk: [ 11, 17, 18 ]
|
||||||
vault: [ '1.12.0' ]
|
vault: [ '1.2.0', '1.11.4', '1.12.0' ]
|
||||||
include:
|
include:
|
||||||
- jdk: 17
|
- jdk: 17
|
||||||
vault: '1.12.0'
|
vault: '1.11.4'
|
||||||
analysis: true
|
analysis: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## unreleased
|
## unreleased
|
||||||
|
|
||||||
### Test
|
### Test
|
||||||
* Tested against Vault 1.12.0
|
* Tested against Vault 1.2.0 to 1.12.0
|
||||||
* Disable AppID tests for Vault 1.12 and above (auth method removed)
|
* Disable AppID tests for Vault 1.12 and above (auth method removed)
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.12.0
|
* Tested against Vault 1.2.0 to 1.12.0
|
||||||
|
|
||||||
|
|
||||||
## Maven Artifact
|
## Maven Artifact
|
||||||
|
@ -552,7 +552,8 @@ class HTTPVaultConnectorIT {
|
|||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@DisplayName("App-ID Tests")
|
@DisplayName("App-ID Tests")
|
||||||
@EnabledIf(value = "de.stklcode.jvault.connector.HTTPVaultConnectorIT#isLegacy")
|
@EnabledIf(value = "de.stklcode.jvault.connector.HTTPVaultConnectorIT#isLegacy",
|
||||||
|
disabledReason = "AppID tests no longer available for Vault 1.12 and above")
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
class AppIdTests {
|
class AppIdTests {
|
||||||
private static final String APP_ID = "152AEA38-85FB-47A8-9CBD-612D645BFACA";
|
private static final String APP_ID = "152AEA38-85FB-47A8-9CBD-612D645BFACA";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user