You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-6Lines changed: 22 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -424,10 +424,30 @@ The project includes Helm charts for Kubernetes deployment in the `recipai-chart
424
424
## CI/CD Pipeline
425
425
426
426
The project includes a GitHub Actions workflow `ci-cd.yml` for:
427
-
428
-
-**Testing Server**: For each push, server tests on server microservices are run.
429
427
-**Building Docker Images**: Automatically builds and pushes Docker images to GitHub Container Registry.
430
428
-**Deploying Docker Images**: Automatically deploys the application to a production environment by using deployment manifests in helm for K8s cluster.
429
+
-**Running Server Tests**: For each push, server tests on server microservices are run.
430
+
-**Running GenAI Tests**: Automatically runs the tests defined in the `genai/tests` directory on every code push in genai module.
431
+
-**Running Client Tests**: Automatically runs the UI tests defined in the `client/src/components/__tests__` directory on every code push in client module.
432
+
433
+
### CI/CD Pipeline Workflow (`ci-cd.yml`)
434
+
435
+
**Triggers:**
436
+
- Push to `main` or `feature/**` branches
437
+
- Changes in `genai/**`, `server/**`, `client/**`, or workflow files
438
+
439
+
**Features:**
440
+
-**Change Detection**: Uses `dorny/paths-filter` to detect which services have changed
441
+
-**Conditional Builds**: Only builds and tests services that have been modified
442
+
-**Multi-stage Pipeline**: Build → Test → Docker → Deploy
443
+
444
+
**Jobs:**
445
+
-`detect-changes`: Identifies which services need building/testing
446
+
-`build-genai`: Python linting and dependency installation
447
+
-`build-server`: Java microservices build and test (API Gateway, Chat, User)
448
+
-`build-client`: Node.js build and test
449
+
-`docker-release-*`: Builds and pushes Docker images to GitHub Container Registry
450
+
-`helm-deploy`: Deploys to Kubernetes using Helm charts
431
451
432
452
The project includes a GitHub Actions workflow `helm-manual.yml` for:
433
453
@@ -437,10 +457,6 @@ The project includes a GitHub Actions workflow `ansible-manual.yml` for:
437
457
438
458
-**Running Ansible Playbook**: Manually runs any Ansible playbook defined in the `ansible/playbooks` directory against an EC2 instance securely using SSH and Ansible Vault.
439
459
440
-
The project includes a GitHub Actions workflow `genai-tests.yml` for:
441
-
442
-
-**Running GenAI Tests**: Automatically runs the tests defined in the `genai/tests` directory on every code push in genai module.
0 commit comments