-
Notifications
You must be signed in to change notification settings - Fork 0
CI/CD improvements for gateway #243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Changed Files
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request adds CI/CD infrastructure for the gateway component, enabling automated testing and deployment through GitHub Actions. The changes isolate the CI environment from local development, add health checks to Docker compose services for better reliability, and provide management commands for automated superuser creation in CI.
Changes:
- GitHub Actions workflow for pre-commit checks and Django tests
- New CI compose file and environment configuration
- Django management commands for CI superuser creation
- Enhanced health checks for PostgreSQL, Redis, and MinIO services
- Updated deployment scripts with MinIO bucket creation automation
Reviewed changes
Copilot reviewed 12 out of 14 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/gwy-code-quality.yaml |
New workflow for running pre-commit hooks and Django tests in CI |
gateway/compose.ci.yaml |
New CI-specific Docker Compose configuration with isolated volumes and networks |
gateway/compose.local.yaml |
Added health checks for postgres, redis, and minio services |
gateway/scripts/env-selection.sh |
Extended to detect CI environment and support three environment types |
gateway/scripts/deploy.sh |
Refactored to support CI deployment with automated MinIO bucket creation |
gateway/sds_gateway/users/management/commands/create_ci_superuser.py |
New command for automated superuser creation in CI |
gateway/sds_gateway/users/management/commands/check_superuser_exists.py |
New command to check if superuser exists |
gateway/justfile |
Added gact recipe for local GitHub Actions testing |
gateway/docs/*.md |
Updated documentation for MinIO bucket creation and deployment steps |
gateway/README.md |
Enhanced with CI setup instructions and usage examples |
.pre-commit-config.yaml |
Updated ruff version to v0.14.11 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
act- https://github.com/nektos/act