Skip to content

feat(ci): add deployment mode smoke tests and integration testing - #46

Open
hkolvenbach wants to merge 7 commits into
mainfrom
worktree-test-deployment-modes
Open

feat(ci): add deployment mode smoke tests and integration testing#46
hkolvenbach wants to merge 7 commits into
mainfrom
worktree-test-deployment-modes

Conversation

@hkolvenbach

Copy link
Copy Markdown
Owner

Summary

  • Add smoke-test job to release workflow that gates Fly.io deploy — verifies container startup, binary execution, cosign signatures, and VEX attestations across all platforms before production deployment
  • Add integration-test job to CI that spins up the full docker-compose stack (app + MinIO) and runs scripts/test-cache.sh on every PR
  • Add explicit VEX/Trivy integration test step in CI for visibility
  • Remove inline single-platform smoke test from release-docker in favor of the dedicated multi-platform smoke-test job

Motivation

Previously, no deployment artifact was functionally verified before reaching production. The release pipeline built binaries and Docker images, signed them, and deployed to Fly.io — but never checked that anything actually started and served HTTP. The docker-compose stack was also never tested in CI.

Test plan

  • Verify YAML syntax is valid (done locally)
  • Trigger a dry-run release to confirm smoke-test and deploy-fly are correctly skipped
  • Trigger a real release to verify smoke-test job passes: container startup, binary execution, cosign verification, all-platform VEX verification
  • Open a PR to verify integration-test job runs docker-compose stack successfully
  • Verify explicit VEX integration test step appears as a distinct step in CI

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

hkolvenbach and others added 7 commits March 28, 2026 23:31
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…rom release-docker

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Tests container startup, binary execution, cosign signatures,
and VEX attestations across all platforms before deploying to Fly.io.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Runs the full docker-compose stack (app + MinIO) on every PR
and exercises cache behavior via scripts/test-cache.sh.
Makes integration test pass/fail visible as a distinct step
in the workflow UI rather than buried in go test output.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hkolvenbach
hkolvenbach force-pushed the worktree-test-deployment-modes branch from 80246ef to edf1d90 Compare March 28, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant