Fixes for Darwin
All checks were successful
Test / tests (ubuntu-latest) (push) Successful in 25s
Test / tests (darwin-amd64) (push) Successful in 50s
Run Gosec / tests (push) Successful in 53s

This commit is contained in:
2025-09-09 11:47:01 +02:00
parent 08b16211ca
commit c5ce3d7be1

View File

@@ -36,11 +36,12 @@ jobs:
run: | run: |
# Start Vault server in background # Start Vault server in background
echo "🔐 Starting Hashicorp Vault development server" echo "🔐 Starting Hashicorp Vault development server"
vault server -dev -dev-root-token-id=root -dev-listen-address=0.0.0.0:8200 -dev-tls > vault.log 2>&1 & vault server -dev -dev-root-token-id=root -dev-listen-address=127.0.0.1:8200 -dev-tls > vault.log 2>&1 &
VAULT_PID=$! VAULT_PID=$!
echo $VAULT_PID > vault.pid echo $VAULT_PID > vault.pid
sleep 3 sleep 3
export VAULT_SKIP_VERIFY=true
if ! vault status; then if ! vault status; then
echo "❌ Vault failed to start. Logs ($(wc -l vault.log) lines):" echo "❌ Vault failed to start. Logs ($(wc -l vault.log) lines):"
cat vault.log cat vault.log