Skip to content

Commit

Permalink
Add OpenBao to test matrix
Browse files Browse the repository at this point in the history
This adds OpenBao to the test matrix.

Resolves: hvac#1162

Signed-off-by: Alexander Scheel <[email protected]>
  • Loading branch information
cipherboy committed Jan 24, 2025
1 parent 2d2c80e commit 0f5c338
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ jobs:
- "vault=1.14.*"
- "vault=1.15.*"
- "vault=1.16.*"
- "./bao_*.deb"

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -229,12 +230,16 @@ jobs:
-o APT::Get::List-Cleanup="0" \
-o Dir::Etc::sourcelist="sources.list.d/hashicorp.list"
[[ "${{ matrix.vault-version }}" =~ bao ]] && wget https://github.com/openbao/openbao/releases/download/v2.1.1/bao_2.1.1_linux_amd64.deb
sudo apt install \
consul \
${{ matrix.vault-version }} \
;
# We disble cap_ipc_lock here as its generally incompatabile with GitHub
[[ "${{ matrix.vault-version }}" =~ bao ]] && sudo ln -s /usr/bin/bao /usr/bin/vault
# We disble cap_ipc_lock here as its generally incompatible with GitHub
# Actions' runtime environments.
sudo setcap cap_ipc_lock= /usr/bin/vault
Expand Down

0 comments on commit 0f5c338

Please sign in to comment.