Publish curated ForgeFlow source from 2ed1787c0b52
This commit is contained in:
commit
f60b269686
254 files changed
+46204
No files matched your search
@@ -0,0 +1,34 @@
|
||||
# End-to-end acceptance
|
||||
|
||||
ForgeFlow 0.8 includes a read-only acceptance harness for the real Local ->
|
||||
Gitea -> Server chain. It never deploys unless an execution flag is supplied.
|
||||
|
||||
Set `FORGEFLOW_GITEA_URL`, `FORGEFLOW_GITEA_TOKEN`, `FORGEFLOW_REPOSITORY`
|
||||
(`owner/repository`), `FORGEFLOW_LOCAL_PATH`, `FORGEFLOW_BRANCH`,
|
||||
`FORGEFLOW_STATUS_URL` and `FORGEFLOW_HEALTH_URL` locally. Optional variables
|
||||
are `FORGEFLOW_WORKFLOW`, `FORGEFLOW_ROLLBACK_WORKFLOW` and
|
||||
`FORGEFLOW_ENVIRONMENT`. Never commit the token.
|
||||
|
||||
```powershell
|
||||
npm run acceptance
|
||||
npm run acceptance -- --execute-deployment
|
||||
npm run acceptance -- --execute-rollback
|
||||
```
|
||||
|
||||
The first command is read-only. The mutation flags require every read-only
|
||||
check to pass, dispatch a controlled exact-SHA workflow with a unique request
|
||||
ID, and wait for matching status plus a successful health endpoint.
|
||||
|
||||
## Isolated production acceptance
|
||||
|
||||
`npm run acceptance:isolated` provisions disposable bare Git remotes, working
|
||||
trees, server appdata folders, Compose definitions, deployment keys,
|
||||
configuration migrations and release manifests below the operating-system temp
|
||||
directory. It covers clean and portable installs, the 0.10.0 migration path,
|
||||
both authentication modes, exact-SHA server pull and Direct Copy, adoption,
|
||||
external updates, deploy-key lifecycle, host-key changes, unhealthy activation,
|
||||
rollback, network interruption, shutdown recovery, stale plans, corrupt config,
|
||||
release integrity and inventories of more than twenty workloads.
|
||||
|
||||
Every fixture is removed after its test. The suite never discovers or mutates
|
||||
real project folders, configured servers, credentials, containers or releases.
|
||||
Reference in new issue
Block a user