Move scripts out of the workflow itself
Some checks failed
Test / tests (darwin-amd64) (push) Successful in 20s
Test / tests (linux-amd64) (push) Successful in 25s
Run Gosec / tests (push) Successful in 50s
Test / tests (linux-arm64) (push) Successful in 2m58s
Test / tests (windows-amd64) (push) Failing after 15s

This commit is contained in:
2025-09-09 15:09:00 +02:00
parent 554b3dca69
commit c00bca7ba5
7 changed files with 159 additions and 99 deletions

12
script/vault-setup.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -u
# Populate our test secrets
echo "🔐 Populating test secrets:"
vault kv put "${TEST_VAULT_KEY}" data="${TEST_VAULT_VALUE}"
# Populate our test transit backend with key
echo "🔐 Populating test transit backend:"
vault secrets enable transit
vault write -f transit/keys/test