Add Woodpecker validation and tag-release pipelines (ADR 0011) #153
No reviewers
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/mail-mind-mcp!153
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/132-release-delivery"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds CI to Mail Mind: a validation lane and a tag-release lane, ported from dev/people-mind-mcp#43 and #44 under the grill ruling on dev/people-mind-mcp#41. ADR 0011 records the decision.
One difference from People Mind ADR 0008: Mail Mind reads
__version__at run time (MCP server version,mail_status,--version), and the kustomize base names its own image. So thetagstep also refuses a tag whose version differs from these at the tagged commit:pyproject.tomlsrc/mail_mind_mcp/__init__.pydeploy/k8s/base/deployment.yamlThe bump merges first, and the tag goes on that commit.
Evidence
.woodpecker/, images built and pushed by hand.After:
make check: 999 passed, no audit findings.tests/test_deploy.py: 4 passed.v0.10.5andv0.10.4pass.deployment.yaml says '0.10.5', the tag says 9.9.90.10.5without thevmailmind --versionprintsmail-mind-mcp 0.10.5.mailmind, entrypointmailmind, commandapi, working directory/var/lib/mailmind,MAILMIND_CONFIGset.mailmind's,/appisroot's, and the model isroot's and read-only.embedandextract.Merge Danger
Door: two-way
Merging publishes nothing. Only a
v*tag pushed by the operator reachesrelease.yamland the token. The ADR's no-backfill rule stays in force: never re-pushv0.10.5or any earlier tag.Blast Radius: CI-only
The validation lane runs on every PR from now on; nothing is required yet (runbook §9). This PR does not complete the acceptance criteria. Acceptance is the first release tag after merge (the
v0.10.6bump, then the tag): the image exists,podman pull …@<digest>matches the logged digest, and a re-run fails at the publish probe.Operator acts:
allow_pris done.forgejo_package_tokenwith events["tag"].v*protected-tag rule forpiers.Refs #132
🤖 Generated with Claude Code