feature(ci): adding example ci workflows#32
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Summary
Adds a complete CI/CD integration suite to pgFirstAid. In this PR, there are 5 reusable GitHub Actions workflows plus local test scripts to validate the workflows actually work. This will allow users to drop pgFirstAid into their pipeline for PR feedback, migration evaluation, Neon branching validation, scheduled health monitoring, and cloud compatibility testing.
CI/CD workflows (
workflows/)5 drop-in GitHub Actions workflows with full documentation in
workflows/README.md:pgfirstaid-pr-audit.yml+pgfirstaid_audit.pypre-post-migration-validate.ymlneon-before-after-validate.ymldb-health-checks.ymlmanaged-db-validate.ymlType of Change
Related Issues
Testing
PostgreSQL Version Compatibility
Has this code been tested against the following PostgreSQL versions?
Testing notes:
Local test suite (
testing/local-workflows/)5 standalone bash scripts that replicate the CI workflows locally:
test_db_health_checks.shtest_managed_db_validate.shtest_pre_post_migration.shtest_neon_before_after.shtest_pr_audit.shSupporting files:
Makefile,.env.example,.gitignore,docker-compose.yml.Managed Database Platforms
Has this code been deployed and tested on the following platforms?
Platform-specific notes:
Additional Notes
workflows/README.md-- full setup guide, secrets, integration examples (Flyway, Liquibase, ArgoCD), local testingImportant Files Changed
pythoninstead ofuv run python, causing psycopg2 to be missing at runtime, and has a duplicate header comment block.generate-summaryjob never installs the psql client, so the inlinepsqlcall in "Generate Summary" always fails.expires_atexpression always resolves to empty string.*.mdglob blocks all Markdown files in this directory, including any documentation thatworkflows/README.mdalready references (e.g.,TESTING_INSTRUCTIONS.md).$ROLE_ARGis a minor word-splitting risk but only affects names with spaces.Reviews (1): Last reviewed commit: "feat(ci): testing for example workflows" | Re-trigger Greptile
Context used: