ci(deploy): run the gate from the Taskfile, not an inlined copy (#1580)

deploy.yml inlined its own sequence, which drifted weaker than `task check`:
no db:check, news:check or ui:check, so a release could ship stale sqlc
output, a stale ui/dist, or release notes that disagree with CHANGELOG.md,
and the dashboard suite ran outside the gate without its type check.

The release now runs `task check TEST_FLAGS=-count=1`: same definition, the
full uncached suite including the Docker-backed tests -short skips. quality.yml
already invoked the Taskfile, so both pipelines now share one gate.
This commit is contained in:
sam committed 2026-10-31 00:37:26 +11:00
1 parent ad9ec16844
commit 6031a7a14b
3 files changed
+18 -26

No files matched your search

+6 -4
View File
@@ -127,10 +127,12 @@ Release asset is the durable, operator-reachable one.
## Gate
CI (`deploy.yml`) runs `task check` before building images, then verifies any
release tag at `HEAD` has a matching `[version]` section in `CHANGELOG.md`. A
tag with no changelog entry is a hard failure. No tags at `HEAD` is a warning,
not a failure — images get stamped `dev`.
CI (`deploy.yml`) runs `task check TEST_FLAGS=-count=1` before building images,
then verifies any release tag at `HEAD` has a matching `[version]` section in
`CHANGELOG.md`. The gate has one definition, in the Taskfile: the release runs
it with the uncached suite, including the Docker-backed tests `-short` skips.
A tag with no changelog entry is a hard failure. No tags at `HEAD` is a
warning, not a failure -- images get stamped `dev`.
One consequence worth knowing when a release commit needs amending: GitHub
Actions runs the workflow **from the commit that triggered it**, so a fix to