Skip to content

Conversation

@percolating-sirsh
Copy link
Collaborator

Summary

  • Added .github/workflows/ci.yaml - PR validation workflow that runs frontend tests, backend tests, and kustomize validation
  • Added .github/workflows/release.yaml - Release workflow triggered on semantic version tags (v*..) that:
    • Runs all tests (frontend + backend)
    • Builds and pushes Docker images to ECR
    • Updates kustomize manifests with new image tags
    • Commits manifest changes to main branch
  • Fixed PostgreSQL 18 volume mount path for integration tests

Test plan

  • CI workflow runs on this PR
  • Merge PR to main
  • Tag a release (e.g., git tag v0.1.0 && git push origin v0.1.0)
  • Verify Release workflow triggers and completes
  • Verify images pushed to ECR with version tags
  • Verify kustomize manifests updated

- Add CI workflow for PR validation (frontend/backend tests, kustomize validation)
- Add Release workflow triggered by semantic version tags (v*.*.*)
- Consolidate all env vars into single rem-config ConfigMap
- Simplify API and worker deployments to use rem-config + secrets
- Add OTEL documentation to backend README
- Add git hooks for pre-commit tests and pre-push migration sync
- Update kustomize image configuration in base (not overlay)

The release workflow:
1. Runs all tests
2. Builds Docker images and pushes to ECR
3. Updates kustomize manifests with new image tags
4. Commits manifest changes to main (ArgoCD picks up automatically)

ArgoCD sync is currently disabled - enable when ready to deploy.
Migrations regenerated from remdb package models.
These SQL files represent the current database schema state.

[pre-push hook]
PostgreSQL 18+ Docker images require /var/lib/postgresql instead of
/var/lib/postgresql/data to allow for major-version-specific subdirectories.

See: docker-library/postgres#1259
Migrations regenerated from remdb package models.
These SQL files represent the current database schema state.

[pre-push hook]
Switch staging postgres cluster to percolationlabs/rem-pg:18 which includes
the pg_net extension for async HTTP requests from the database.

Step 1 of 2: Change image only. Next commit will add shared_preload_libraries
config after the rolling restart completes.
@percolating-sirsh percolating-sirsh merged commit 7a5b671 into main Nov 29, 2025
6 checks passed
@percolating-sirsh percolating-sirsh deleted the feature/ci-cd-workflow branch November 29, 2025 16:30
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.

3 participants