Skip to content

Commit e5f7661

Browse files
committed
Fix genAi Renaming References
1 parent 883642a commit e5f7661

File tree

3 files changed

+8
-17
lines changed

3 files changed

+8
-17
lines changed

.github/workflows/deploy-genai-backend.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
push:
55
branches: [main]
66
paths:
7-
- 'genAi/**'
7+
- 'genai/**'
88
- 'infra/helm-charts/genai-backend/**'
99
- '.github/workflows/deploy-genai-backend.yml'
1010
pull_request:
1111
types: [opened, synchronize, reopened]
1212
paths:
13-
- 'genAi/**'
13+
- 'genai/**'
1414
- 'infra/helm-charts/genai-backend/**'
1515
- '.github/workflows/deploy-genai-backend.yml'
1616
workflow_dispatch:
@@ -37,19 +37,19 @@ jobs:
3737
uses: actions/cache@v3
3838
with:
3939
path: ~/.cache/pip
40-
key: ${{ runner.os }}-pip-${{ hashFiles('genAi/requirements.txt') }}
40+
key: ${{ runner.os }}-pip-${{ hashFiles('genai/requirements.txt') }}
4141
restore-keys: |
4242
${{ runner.os }}-pip-
4343
4444
- name: Install dependencies
4545
run: |
46-
cd genAi
46+
cd genai
4747
pip install -r requirements.txt
4848
echo "✅ Dependencies installed successfully"
4949
5050
- name: Build Docker Image
5151
run: |
52-
cd genAi
52+
cd genai
5353
docker build -t ghcr.io/aet-devops25/team-3/genai:${{ github.event.inputs.image_tag || github.sha }} .
5454
docker build -t ghcr.io/aet-devops25/team-3/genai:latest .
5555
echo "✅ Docker image built successfully"
@@ -63,7 +63,7 @@ jobs:
6363

6464
- name: Push Docker Image
6565
run: |
66-
cd genAi
66+
cd genai
6767
docker push ghcr.io/aet-devops25/team-3/genai:${{ github.event.inputs.image_tag || github.sha }}
6868
docker push ghcr.io/aet-devops25/team-3/genai:latest
6969
echo "✅ Docker image pushed successfully"

DEPLOYMENT_WORKFLOWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ on:
3333
paths:
3434
- 'server/**' # Any server changes
3535
- 'client/**' # Any client changes
36-
- 'genAi/**' # Any GenAI changes
36+
- 'genai/**' # Any GenAI changes
3737
- 'infra/helm/**' # Any Helm chart changes
3838
- '.github/workflows/**' # Workflow changes
3939
```
@@ -46,7 +46,7 @@ on:
4646
paths:
4747
- 'server/**' # Server changes in PR
4848
- 'client/**' # Client changes in PR
49-
- 'genAi/**' # GenAI changes in PR
49+
- 'genai/**' # GenAI changes in PR
5050
- 'infra/helm/**' # Helm chart changes in PR
5151
- '.github/workflows/**' # Workflow changes in PR
5252
```

nginx-dev-gateway.conf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
server {
22
listen 80;
33

4-
# Remove these CORS headers - let Spring Boot handle them
5-
# add_header 'Access-Control-Allow-Origin' 'http://localhost:3000' always;
6-
# add_header 'Access-Control-Allow-Methods' '*' always;
7-
# add_header 'Access-Control-Allow-Headers' '*' always;
8-
9-
# if ($request_method = OPTIONS) {
10-
# return 204;
11-
# }
12-
134
location /api/auth {
145
proxy_pass http://auth-service:8083/api/auth;
156
proxy_set_header Host $host;

0 commit comments

Comments
 (0)