ci: compile the e2e on every push; test/ out of the build context (audit M20, L33)
test / test (push) Canceled after 0s
test / test (push) Canceled after 0s
- test.yml: after go test, `go vet ./...` and `go test -c -o /dev/null .` in test/e2e - compiled and linked, not run. Not `go test -run xxx` as the plan said: TestMain would still run and bring up the stand. The Go cache now keys on test/e2e/go.sum too. - .dockerignore: test (e2e leftovers in test/e2e/.stage - DKIM keys, sasldb2 - no longer reach the builder; the sink image is built from test/e2e/sink as its own context, so it is unaffected). - development.md (test.yml line), CHANGELOG [Unreleased], audit plan lines ticked, roadmap 3/61. Evidence on the test server for this tree: make e2e (no SELFPOST_E2E_VERSION, so the "e2e" default path) exit 0, including image_stamped_with_version and the logrotate-mode build; in test/e2e go vet ./... and go test -c -o /dev/null . clean; docker build of build/Dockerfile with a file under test/e2e/.stage succeeds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,12 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version
|
||||
`selfpost-backup -version` against it, and `release.yml` checks the stamp
|
||||
again on the image right before pushing it. Images already published are
|
||||
left as they are.
|
||||
- **The e2e module is compiled on every push** (`test.yml`: `go vet` and
|
||||
`go test -c` in `test/e2e`), so a type error there no longer first shows
|
||||
up in `release.yml` after a release is published (audit 2026-10-12, M20).
|
||||
- **`test/` is out of the image's build context** (`.dockerignore`): a
|
||||
developer build after an e2e run sent the stand's leftovers - DKIM keys,
|
||||
`sasldb2` - to the builder (audit 2026-10-12, L33).
|
||||
|
||||
## [2.4.1] - 2026-10-12
|
||||
|
||||
|
||||
Reference in New Issue
Block a user