Skip to content

Commit

Permalink
fix node lookup command
Browse files Browse the repository at this point in the history
  • Loading branch information
Esgrove committed Oct 28, 2024
1 parent caa4553 commit 7ea97bd
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,25 @@ jobs:
- name: Check help output
run: |
echo "========== Python Vault CLI =========="
vault --help
echo "--------------------------------------"
echo "======= Python-pyo3 Vault CLI ========"
pvault --help
echo "--------------------------------------"
echo "=========== Go Vault CLI ============="
bin/go/vault --help
bin/rust/vault --help
echo "--------------------------------------"
echo "========== Rust Vault CLI ============"
bin/rust/vault -h
echo "--------------------------------------"
echo "========= Node.js Vault CLI =========="
nodejs/dist/cli/vault.js --help
echo "--------------------------------------"
- name: Store secret with Python
run: vault -s 'secret-python' -v 'sha-${{github.sha}}' -w
Expand Down Expand Up @@ -155,7 +169,7 @@ jobs:
run: diff <(bin/rust/vault -l secret-python-pyo3) <(bin/go/vault -l secret-python-pyo3)

- name: Validate Rust and Python secret equality with Go and Nodejs
run: diff <(bin/go/vault -l secret-rust) <(nodejs/dist/cli/vault.js l secret-python)
run: diff <(bin/go/vault -l secret-rust) <(nodejs/dist/cli/vault.js lookup secret-python)

- name: Validate Go and Python secret equality with Rust and Go
run: diff <(bin/rust/vault -l secret-go) <(bin/go/vault -l secret-python)
Expand All @@ -164,10 +178,10 @@ jobs:
run: diff <(bin/rust/vault -l secret-python) <(bin/rust/vault -l secret-nodejs)

- name: Validate Rust and Go secret equality with Nodejs and Go
run: diff <(bin/rust/vault -l secret-rust) <(nodejs/dist/cli/vault.js l secret-nodejs)
run: diff <(bin/rust/vault -l secret-rust) <(nodejs/dist/cli/vault.js lookup secret-nodejs)

- name: Validate Python and Python-pyo3 secret equality with Nodejs
run: diff <(nodejs/dist/cli/vault.js -l secret-python) <(bin/go/vault -l secret-python-pyo3)
run: diff <(nodejs/dist/cli/vault.js lookup secret-python) <(bin/go/vault -l secret-python-pyo3)

- name: Delete secret with Python
run: vault -d 'secret-python'
Expand Down

0 comments on commit 7ea97bd

Please sign in to comment.