jvaultconnector/.drone.yml
Stefan Kalscheuer dc4b62496a
All checks were successful
continuous-integration/drone/push Build is passing
model: use correct "replication_performance_mode" JSON field
The official docs incorrectly state "replication_perf_mode" which was
renamed to "replication_performance_mode" way back in Vault 0.9. We now
use the correct field name that is emitted by the API.
2021-12-27 18:54:49 +01:00

40 lines
952 B
YAML

kind: pipeline
name: default
steps:
- name: compile
image: maven:3-jdk-11
commands:
- mvn -B clean compile
when:
branch:
- main
- develop
- feature/*
- fix/*
- release/*
- name: unit-tests
image: maven:3-jdk-11
commands:
- mvn -B test
when:
branch:
- develop
- feature/*
- fix/*
- name: unit-integration-tests
image: maven:3-jdk-11
environment:
VAULT_VERSION: 1.9.2
commands:
- curl -s -o vault_1.9.2_linux_amd64.zip https://releases.hashicorp.com/vault/1.9.2/vault_1.9.2_linux_amd64.zip
- curl -s https://releases.hashicorp.com/vault/1.9.2/vault_1.9.2_SHA256SUMS | grep linux_amd64 | sha256sum -c
- unzip vault_1.9.2_linux_amd64.zip
- rm vault_1.9.2_linux_amd64.zip
- mv vault /bin/
- mvn -B -P integration-test verify
when:
branch:
- main
- release/*