Skip to content

Commit

Permalink
Update architecture, folders and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
n-y-kim committed Mar 10, 2024
1 parent fd752d5 commit 1f421ff
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 59 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/backend.yaml → .github/workflows/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: frontend_build_deploy
on:
push:
paths:
- "backend-app/**"
- "app/**"
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -19,8 +19,8 @@ jobs:
tenant: ${{ secrets.tenant }}
registry: ${{ secrets.registry }}
repository: ${{ secrets.repository }}
image: chatbot-backend-app
folder: backend-app
image: chatbot-app
folder: app
branch: main
tag: ${{ github.sha }}

Expand All @@ -35,7 +35,7 @@ jobs:
uses: azure/aks-set-context@v3
with:
resource-group: '${{ secrets.resource_group }}'
cluster-name: '${{ secrets.backend_cluster_name }}'
cluster-name: '${{ secrets.cluster_name }}'

- name: Setup kubectl
id: install-kubectl
Expand All @@ -47,6 +47,6 @@ jobs:
with:
namespace: 'default'
manifests: |
manifest/backend-app.yaml
images: '${{ secrets.registry }}.azurecr.io/${{ secrets.repository }}/chatbot-backend-app:${{ github.sha }}'
manifest/app.yaml
images: '${{ secrets.registry }}.azurecr.io/${{ secrets.repository }}/chatbot-app:${{ github.sha }}'
pull-images: false
52 changes: 0 additions & 52 deletions .github/workflows/frontend.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

## 아키텍처

![Architecture](docs/images/archi.png)
![Architecture](docs/images/archi-new.png)

## 시나리오

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added docs/images/archi-new.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file removed frontend-app/app.py
Empty file.
Empty file removed frontend-app/requirements.txt
Empty file.
File renamed without changes.
Empty file removed manifest/backend-app.yaml
Empty file.
Empty file removed manifest/frontend-app.yaml
Empty file.

0 comments on commit 1f421ff

Please sign in to comment.