File tree Expand file tree Collapse file tree 7 files changed +26
-51
lines changed
Expand file tree Collapse file tree 7 files changed +26
-51
lines changed Original file line number Diff line number Diff line change 33on :
44 pull_request :
55 push :
6- branches :
6+ branches :
77 - ' master'
88 tags :
99 - ' *'
@@ -40,12 +40,21 @@ jobs:
4040 include :
4141 - python-version : 3.6
4242 tox-env : py36-tests
43+ auth-method : token
4344 - python-version : 3.7
4445 tox-env : py37-tests
46+ auth-method : token
4547 - python-version : 3.8
4648 tox-env : py38-tests
49+ auth-method : token
50+ - python-version : 3.8
51+ tox-env : py38-tests
52+ auth-method : userpass
53+ - python-version : 3.8
54+ tox-env : py38-tests
55+ auth-method : cert
4756
48- name : Test (python ${{ matrix.python-version }})
57+ name : Test (python ${{ matrix.python-version }} / ${{ matrix.auth-method }} )
4958 runs-on : ubuntu-latest
5059
5160 services :
6675 set -xeu
6776 pwd
6877 python -VV
69- ./dev-env auth token
78+ ./dev-env auth ${{ matrix.auth-method }}
7079 pip install tox
7180 - name : Run tox targets for ${{ matrix.python-version }}
7281 run : tox -e ${{ matrix.tox-env }}
Original file line number Diff line number Diff line change 1010docs /_build
1111htmlcov /
1212vault.yml
13+ server-chain.crt
14+ client.crt
15+ client.key
Original file line number Diff line number Diff line change 22
33case ${1-default} in
44 auth)
5+ curl -o server-chain.crt https://raw.githubusercontent.com/ewjoachim/vault-cli-dev/master/conf/certs/server-chain.crt
6+ if [ " ${2} " = " cert" ]; then
7+ curl -o client.crt https://raw.githubusercontent.com/ewjoachim/vault-cli-dev/master/conf/certs/client.crt
8+ curl -o client.key https://raw.githubusercontent.com/ewjoachim/vault-cli-dev/master/conf/certs/client.key
9+ fi
510 ln -fs vault.${2} .yml vault.yml
611 ;;
712 * )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ install_requires =
2424 Click>=7.0
2525 pyyaml>=5.3.1
2626 jinja2
27- hvac
27+ hvac<0.10.12 # Temporary fix for #191
2828
2929[options.entry_points]
3030console_scripts =
Original file line number Diff line number Diff line change 11---
22url : https://localhost:8443
33base_path : secretkvv1/
4- ca_bundle : dev_docker_config/certs/ server-chain.crt
5- login_cert : dev_docker_config/certs/ client.crt
6- login_cert_key : dev_docker_config/certs/ client.key
4+ ca_bundle : server-chain.crt
5+ login_cert : client.crt
6+ login_cert_key : client.key
Original file line number Diff line number Diff line change 11---
2- base_path : secretkvv1/
3- ca_bundle : dev_docker_config/certs/server-chain.crt
42url : https://localhost:8443
3+ base_path : secretkvv1/
4+ ca_bundle : server-chain.crt
55username : userpass-login
66password : userpass-pass
You can’t perform that action at this time.
0 commit comments