test against older Vault versions to provide a supported range
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:
Stefan Kalscheuer 2022-10-13 11:01:14 +02:00
parent 0c56813121
commit adedc277fa
Signed by: stefan
GPG Key ID: 3887EC2A53B55430
4 changed files with 6 additions and 5 deletions

View File

@ -6,10 +6,10 @@ jobs:
strategy:
matrix:
jdk: [ 11, 17, 18 ]
vault: [ '1.12.0' ]
vault: [ '1.2.0', '1.11.4', '1.12.0' ]
include:
- jdk: 17
vault: '1.12.0'
vault: '1.11.4'
analysis: true
steps:
- name: Checkout

View File

@ -1,7 +1,7 @@
## unreleased
### 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)

View File

@ -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.12.0
* Tested against Vault 1.2.0 to 1.12.0
## Maven Artifact

View File

@ -552,7 +552,8 @@ class HTTPVaultConnectorIT {
@Nested
@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")
class AppIdTests {
private static final String APP_ID = "152AEA38-85FB-47A8-9CBD-612D645BFACA";