f3bc24b638
Separate test/e2e Go module drives the shipped deploy/docker-compose.yml (plus a test-only override: self-signed cert, low ports, isolated compose project) against a fake DNS zone (CoreDNS) and an smtp-sink MX, exactly as an administrator and their applications would over HTTP/SMTP — covering the class of failure unit tests can't see (container wiring). Positive path: setup -> login -> domain -> DKIM record published into the fake zone -> application -> SMTP AUTH send -> DKIM verified against the DNS-published key -> send-log queued->sent. Negative: no-AUTH/unauthenticated relay, sender/login mismatch, L1 (anvil) and L2 (panel) rate limits, journal-milter fail-open, SELFPOST_HOSTNAME gate, session survives docker restart. release.yml moves off qemu to a native per-arch build (amd64/arm64), each gated by this suite before its tag is pushed and merged into the version manifest. Verified green on selfpost.example.com via `make e2e`; go vet/gofmt clean in both modules. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
14 lines
389 B
Plaintext
14 lines
389 B
Plaintext
# Development-only material (secrets, server access notes) — never published.
|
|
dev/
|
|
|
|
# Build artifacts (binaries are built on the dev server, not committed).
|
|
/bin/
|
|
*.exe
|
|
|
|
# Local Go caches / test output, if ever present.
|
|
*.out
|
|
|
|
# e2e scratch stand (generated cert, DKIM zone, sink dump, /data bind mount)
|
|
# — recreated fresh by every `make e2e` run, never checked in.
|
|
/test/e2e/.stage/
|