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
@@ -425,10 +425,30 @@ The project includes Helm charts for Kubernetes deployment in the `recipai-chart
425
425
## CI/CD Pipeline
426
426
427
427
The project includes a GitHub Actions workflow `ci-cd.yml` for:
428
-
429
-
-**Testing Server**: For each push, server tests on server microservices are run.
430
428
-**Building Docker Images**: Automatically builds and pushes Docker images to GitHub Container Registry.
431
429
-**Deploying Docker Images**: Automatically deploys the application to a production environment by using deployment manifests in helm for K8s cluster.
430
+
-**Running Server Tests**: For each push, server tests on server microservices are run.
431
+
-**Running GenAI Tests**: Automatically runs the tests defined in the `genai/tests` directory on every code push in genai module.
432
+
-**Running Client Tests**: Automatically runs the UI tests defined in the `client/src/components/__tests__` directory on every code push in client module.
433
+
434
+
### CI/CD Pipeline Workflow (`ci-cd.yml`)
435
+
436
+
**Triggers:**
437
+
- Push to `main` or `feature/**` branches
438
+
- Changes in `genai/**`, `server/**`, `client/**`, or workflow files
439
+
440
+
**Features:**
441
+
-**Change Detection**: Uses `dorny/paths-filter` to detect which services have changed
442
+
-**Conditional Builds**: Only builds and tests services that have been modified
443
+
-**Multi-stage Pipeline**: Build → Test → Docker → Deploy
444
+
445
+
**Jobs:**
446
+
-`detect-changes`: Identifies which services need building/testing
447
+
-`build-genai`: Python linting, dependency installation, and genai tests
448
+
-`build-server`: Java microservices build and test (API Gateway, Chat, User)
449
+
-`build-client`: Node.js build and test
450
+
-`docker-release-*`: Builds and pushes Docker images to GitHub Container Registry
451
+
-`helm-deploy`: Deploys to Kubernetes using Helm charts
432
452
433
453
The project includes a GitHub Actions workflow `helm-manual.yml` for:
434
454
@@ -438,10 +458,6 @@ The project includes a GitHub Actions workflow `ansible-manual.yml` for:
438
458
439
459
-**Running Ansible Playbook**: Manually runs any Ansible playbook defined in the `ansible/playbooks` directory against an EC2 instance securely using SSH and Ansible Vault.
440
460
441
-
The project includes a GitHub Actions workflow `genai-tests.yml` for:
442
-
443
-
-**Running GenAI Tests**: Automatically runs the tests defined in the `genai/tests` directory on every code push in genai module.
0 commit comments