Skip to content

Conversation

@lucaspar
Copy link
Member

  • GH actions for gateway pre-commit and tests
    • Template validation + django tests + JS tests will now run in GH actions if it goes well (already working with act - https://github.com/nektos/act
  • Isolated CI from local env, allowing running both setups more seamlessly on the same machine.
  • Added health checks for more compose services: minio, postgres, redis.
  • Upgraded project dependencies.

@lucaspar lucaspar self-assigned this Jan 13, 2026
Copilot AI review requested due to automatic review settings January 13, 2026 16:03
@lucaspar lucaspar added ci/cd GH actions, tests, builds, packaging, etc gateway Gateway component dependencies Pull requests that update a dependency file labels Jan 13, 2026
@semanticdiff-com
Copy link

semanticdiff-com bot commented Jan 13, 2026

Review changes with  SemanticDiff

Changed Files
File Status
  .github/workflows/gwy-code-quality.yaml  0% smaller
  .pre-commit-config.yaml  0% smaller
  gateway/README.md Unsupported file format
  gateway/compose.ci.yaml  0% smaller
  gateway/compose.local.yaml  0% smaller
  gateway/docs/detailed-deploy.md Unsupported file format
  gateway/docs/dev-notes.md Unsupported file format
  gateway/justfile Unsupported file format
  gateway/package-lock.json Unsupported file format
  gateway/scripts/deploy.sh Unsupported file format
  gateway/scripts/env-selection.sh Unsupported file format
  gateway/sds_gateway/users/management/commands/check_superuser_exists.py  0% smaller
  gateway/sds_gateway/users/management/commands/create_ci_superuser.py  0% smaller
  gateway/sds_gateway/users/tests/test_check_superuser_exists_command.py  0% smaller
  gateway/sds_gateway/users/tests/test_create_ci_superuser_command.py  0% smaller
  gateway/uv.lock Unsupported file format

Copy link
Contributor

Copilot AI left a 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.

@lucaspar lucaspar merged commit 6c70e4f into master Jan 13, 2026
2 checks passed
@lucaspar lucaspar deleted the lp/deploy branch January 13, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd GH actions, tests, builds, packaging, etc dependencies Pull requests that update a dependency file gateway Gateway component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants