Repository navigation
ci: add backend verification and Docker image publishing - #36
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 55d9e4bce0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| mvn --batch-mode --no-transfer-progress \ | ||
| -f "${service}/pom.xml" clean verify |
There was a problem hiding this comment.
Configure dependencies for the Spring context tests
mvn clean verify runs the services’ @SpringBootTest context tests, but this job starts no PostgreSQL or Kafka services and sets none of the application environment variables. For example, the user-service test loads a localhost PostgreSQL URL and requires CLOUDINARY_* placeholders, so verification fails on a clean GitHub runner and prevents image publishing. Add CI dependencies and test-profile configuration, or make these tests independent of those services.
Useful? React with 👍 / 👎.
Summary
Introduces a GitHub Actions workflow to automate backend verification and Docker image publishing for SafarSaathi.
Changes
common-module.main..dockerignoreto exclude unnecessary files from Docker build contexts.Workflow Behavior
main: Run backend verification; skip Docker image publishing.main: Run verification, then publish Docker images if verification succeeds.Required Configuration
Configure the following GitHub repository secrets before image publishing:
DOCKERHUB_USERNAMEDOCKERHUB_TOKENTesting
Scope
This PR introduces CI and Docker image publishing. Automated Kubernetes deployment is not included in this change.