fix: [nomad-step-2] S2-fix-C — make tools/vault-import.sh --sops optional (spec regression) (#921)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/secret-scan Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful

This commit is contained in:
dev-qwen2 2026-04-16 21:15:54 +00:00
parent 3e29a9a61d
commit 6971d5e2ff
3 changed files with 144 additions and 42 deletions

17
tests/fixtures/dot-env-for-env-only vendored Normal file
View file

@ -0,0 +1,17 @@
# Test fixture .env file for env-only vault-import.sh test
# Contains minimal keys for testing env-only import (no sops)
# Generic forge creds
FORGE_TOKEN=generic-forge-token
FORGE_PASS=generic-forge-pass
FORGE_ADMIN_TOKEN=generic-admin-token
# Bot tokens (review only for minimal test)
FORGE_REVIEW_TOKEN=review-token
FORGE_REVIEW_PASS=review-pass
# Woodpecker secrets
WOODPECKER_AGENT_SECRET=wp-agent-secret
# Chat secrets
FORWARD_AUTH_SECRET=forward-auth-secret