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 396240b142
commit cc4f3af733
3 files changed
+18 -26

No files matched your search

+2 -2
View File
@@ -263,9 +263,9 @@ tasks:
- go build -trimpath -ldflags "-X github.com/samcharles93/archie-core/internal/app/agentworker.version={{.RUNTIME_VERSION}} -X github.com/samcharles93/archie-core/internal/installtype.buildType=binary" -o {{.BIN_DIR}}/archie-agent ./cmd/archie-agent
test:
desc: Run short Go tests with caching
desc: Run Go tests; the release gate passes TEST_FLAGS=-count=1
cmds:
- go test -short ./...
- go test {{.TEST_FLAGS | default "-short"}} ./...
image:agent:
desc: Build the agent image stamped with this checkout's version