File tree Expand file tree Collapse file tree 3 files changed +8
-17
lines changed
Expand file tree Collapse file tree 3 files changed +8
-17
lines changed Original file line number Diff line number Diff line change 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"
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"
Original file line number Diff line number Diff line change 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` ` `
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` ` `
Original file line number Diff line number Diff line change 11server {
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;
You can’t perform that action at this time.
0 commit comments