Skip to content

Commit

Permalink
Test GitHub actions workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
elibon99 committed Jan 30, 2024
1 parent 037810f commit 987291c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ jobs:
tlspwd: ${{ secrets.TLSPWD }}
run: |
openssl aes-256-cbc -k "$tlspwd" -md sha256 -in ./.ci/client-combined.pem.enc -out ./.ci/client-combined.pem -d
echo "decrypted client cert"
export krnl="$(uname -s | tr '[:upper:]' '[:lower:]')"
wget https://github.com/square/ghostunnel/releases/download/v1.3.1/ghostunnel-v1.3.1-$krnl-amd64-with-pkcs11 -O ghostunnel
chmod +x ./ghostunnel
./ghostunnel client --listen localhost:12345 --target hsm-connector01.sthlm.in.yubico.org:8443 --keystore ./.ci/client-combined.pem --cacert ./.ci/server-crt.pem 2>/dev/null &
./ghostunnel client --listen localhost:12345 --target hsm-connector01.sthlm.in.yubico.org:8443 --keystore ./.ci/client-combined.pem --cacert ./.ci/server-crt.pem &
sleep 3
echo "started ghostunnel"
echo "BACKEND=$(curl http://localhost:12345/dispatcher/request)" >> $GITHUB_ENV
- name: Run device tests
Expand Down

0 comments on commit 987291c

Please sign in to comment.