配置(#24): 放宽发布验收配置校验 (#22)

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
2026-06-11 02:48:03 -07:00
committed by GitHub
parent c39bfd39dd
commit 3e6318dcdf
2 changed files with 40 additions and 17 deletions
+4 -3
View File
@@ -10,9 +10,11 @@ go test ./tests/acceptance/... -staging-url=https://tapi.hifast.biz
Without credentials, tests that require admin/user login or NodeSecret are skipped and unauthenticated error-path checks still run.
## Required secrets
## Workflow configuration
The staging workflow should provide these values through GitHub Actions secrets or environment variables:
`STAGING_BASE_URL` should be provided through GitHub Actions secrets or variables. When omitted, the workflow falls back to `https://tapi.hifast.biz`.
The following secrets are optional. When any of them are missing, the workflow still runs and the corresponding acceptance cases are skipped automatically:
- `ACCEPTANCE_ADMIN_EMAIL`
- `ACCEPTANCE_ADMIN_PASSWORD`
@@ -24,7 +26,6 @@ The staging workflow should provide these values through GitHub Actions secrets
- `STAGING_DB_NAME`
- `STAGING_REDIS_ADDR`
- `STAGING_REDIS_PASSWORD`
- `STAGING_BASE_URL`
`ACCEPTANCE_NODE_SECRET` is optional. When DB credentials are present, the loader reads NodeSecret from the staging `system` table instead of storing it as a long-lived secret.