11
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2026-04-06 17:56:55 +00:00

Fix bug with tlsSkipVerify and add test coverage

This commit is contained in:
Jason O'Donnell 2020-08-07 14:57:44 -04:00
parent 6cf013b5c0
commit e5ef6c9c11
5 changed files with 32 additions and 3 deletions

View file

@ -221,6 +221,17 @@ jobs:
test secret | NAMED_SECRET ;
nested/test otherSecret ;
- name: Test Vault Action (tlsSkipVerify)
uses: ./
with:
url: https://localhost:8200
token: ${{ env.VAULT_TOKEN }}
tlsSkipVerify: true
clientCertificate: ${{ secrets.VAULT_CLIENT_CERT }}
clientKey: ${{ secrets.VAULT_CLIENT_KEY }}
secrets: |
tlsSkipVerify skip ;
- name: Test Vault Action (default KV V1)
uses: ./
with:
@ -255,7 +266,7 @@ jobs:
# Removing publish step for now.
# publish:
# if: github.event_name == 'push' && contains(github.ref, 'master')
# runs-on: ubuntu-latest
# needs: [build, integration, e2e]
# steps: