Skip to content

Commit

Permalink
Merge pull request #419 from boostcampwm-2022/dev
Browse files Browse the repository at this point in the history
WeView v1.0.0 정식 배포
  • Loading branch information
kimtaehoonDev authored Dec 12, 2022
2 parents f89219c + aac1a8c commit b68f070
Show file tree
Hide file tree
Showing 92 changed files with 1,445 additions and 905 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/client-integration.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/deployment-dev-api-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "[CD] DEV API 서버"
on:
push:
branches:
- dev
paths:
- "server/**"
workflow_dispatch:

jobs:
reusable:
uses: ./.github/workflows/reusable-deployment-server.yml
with:
docker-context: server
docker-image-name: weview-dev
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
NCLOUD_HOST: ${{ secrets.DEV_NCLOUD_HOST }}
NCLOUD_USERNAME: ${{ secrets.DEV_NCLOUD_USERNAME }}
NCLOUD_PASSWORD: ${{ secrets.DEV_NCLOUD_PASSWORD }}
NCLOUD_PORT: ${{ secrets.DEV_NCLOUD_PORT }}
25 changes: 25 additions & 0 deletions .github/workflows/deployment-dev-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "[CD] DEV 클라이언트"
on:
push:
branches:
- dev
paths:
- "client/**"
workflow_dispatch:

jobs:
reusable:
uses: ./.github/workflows/reusable-deployment-client.yml
with:
bucket-name: weview-dev
secrets:
VITE_SERVER_URL: ${{ secrets.DEV_VITE_SERVER_URL }}
VITE_LOCAL_URL: ${{ secrets.DEV_VITE_LOCAL_URL }}
VITE_GITHUB_AUTH_SERVER_URL: ${{ secrets.DEV_VITE_GITHUB_AUTH_SERVER_URL }}
VITE_API_MODE: ${{ secrets.DEV_VITE_API_MODE }}
NCLOUD_BUCKET_ACCESS_KEY: ${{ secrets.DEV_NCLOUD_BUCKET_ACCESS_KEY }}
NCLOUD_BUCKET_SECRET_KEY: ${{ secrets.DEV_NCLOUD_BUCKET_SECRET_KEY }}
NCLOUD_HOST: ${{ secrets.DEV_NCLOUD_HOST }}
NCLOUD_USERNAME: ${{ secrets.DEV_NCLOUD_USERNAME }}
NCLOUD_PASSWORD: ${{ secrets.DEV_NCLOUD_PASSWORD }}
NCLOUD_PORT: ${{ secrets.DEV_NCLOUD_PORT }}
22 changes: 22 additions & 0 deletions .github/workflows/deployment-dev-scheduler-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "[CD] DEV 스케쥴러 서버"
on:
push:
branches:
- dev
paths:
- "scheduler-server/**"
workflow_dispatch:

jobs:
reusable:
uses: ./.github/workflows/reusable-deployment-server.yml
with:
docker-context: scheduler-server
docker-image-name: weview-scheduler-dev
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
NCLOUD_HOST: ${{ secrets.DEV_NCLOUD_HOST }}
NCLOUD_USERNAME: ${{ secrets.DEV_NCLOUD_USERNAME }}
NCLOUD_PASSWORD: ${{ secrets.DEV_NCLOUD_PASSWORD }}
NCLOUD_PORT: ${{ secrets.DEV_NCLOUD_PORT }}
22 changes: 22 additions & 0 deletions .github/workflows/deployment-main-api-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "[CD] MAIN API 서버"
on:
push:
tags:
- "v*"
paths:
- "server/**"
workflow_dispatch:

jobs:
reusable:
uses: ./.github/workflows/reusable-deployment-server.yml
with:
docker-context: server
docker-image-name: weview-main
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
NCLOUD_HOST: ${{ secrets.MAIN_NCLOUD_HOST }}
NCLOUD_USERNAME: ${{ secrets.MAIN_NCLOUD_USERNAME }}
NCLOUD_PASSWORD: ${{ secrets.MAIN_NCLOUD_PASSWORD }}
NCLOUD_PORT: ${{ secrets.MAIN_NCLOUD_PORT }}
25 changes: 25 additions & 0 deletions .github/workflows/deployment-main-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "[CD] MAIN 클라이언트"
on:
push:
tags:
- "v*"
paths:
- "client/**"
workflow_dispatch:

jobs:
reusable:
uses: ./.github/workflows/reusable-deployment-client.yml
with:
bucket-name: weview
secrets:
VITE_SERVER_URL: ${{ secrets.MAIN_VITE_SERVER_URL }}
VITE_LOCAL_URL: ${{ secrets.MAIN_VITE_LOCAL_URL }}
VITE_GITHUB_AUTH_SERVER_URL: ${{ secrets.MAIN_VITE_GITHUB_AUTH_SERVER_URL }}
VITE_API_MODE: ${{ secrets.MAIN_VITE_API_MODE }}
NCLOUD_BUCKET_ACCESS_KEY: ${{ secrets.MAIN_NCLOUD_BUCKET_ACCESS_KEY }}
NCLOUD_BUCKET_SECRET_KEY: ${{ secrets.MAIN_NCLOUD_BUCKET_SECRET_KEY }}
NCLOUD_HOST: ${{ secrets.MAIN_NCLOUD_HOST }}
NCLOUD_USERNAME: ${{ secrets.MAIN_NCLOUD_USERNAME }}
NCLOUD_PASSWORD: ${{ secrets.MAIN_NCLOUD_PASSWORD }}
NCLOUD_PORT: ${{ secrets.MAIN_NCLOUD_PORT }}
22 changes: 22 additions & 0 deletions .github/workflows/deployment-main-scheduler-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "[CD] MAIN 스케쥴러 서버"
on:
push:
tags:
- "v*"
paths:
- "scheduler-server/**"
workflow_dispatch:

jobs:
reusable:
uses: ./.github/workflows/reusable-deployment-server.yml
with:
docker-context: scheduler-server
docker-image-name: weview-scheduler-main
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
NCLOUD_HOST: ${{ secrets.MAIN_NCLOUD_HOST }}
NCLOUD_USERNAME: ${{ secrets.MAIN_NCLOUD_USERNAME }}
NCLOUD_PASSWORD: ${{ secrets.MAIN_NCLOUD_PASSWORD }}
NCLOUD_PORT: ${{ secrets.MAIN_NCLOUD_PORT }}
56 changes: 0 additions & 56 deletions .github/workflows/dev-client-deploy.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/dev-scheduler-server-deploy.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/dev-server-deploy.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/integration-api-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "[CI] API 서버(Pull Request)"
on:
pull_request:
branches: ["main", "dev"]
paths:
- "server/**"
workflow_dispatch:

jobs:
reusable:
uses: ./.github/workflows/reusable-integration.yml
with:
working-directory: server
13 changes: 13 additions & 0 deletions .github/workflows/integration-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "[CI] 클라이언트(Pull Request)"
on:
pull_request:
branches: ["main", "dev"]
paths:
- "client/**"
workflow_dispatch:

jobs:
reusable:
uses: ./.github/workflows/reusable-integration.yml
with:
working-directory: client
13 changes: 13 additions & 0 deletions .github/workflows/integration-scheduler-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "[CI] 스케쥴러 서버(Pull Request)"
on:
pull_request:
branches: ["main", "dev"]
paths:
- "scheduler-server/**"
workflow_dispatch:

jobs:
reusable:
uses: ./.github/workflows/reusable-integration.yml
with:
working-directory: scheduler-server
Loading

0 comments on commit b68f070

Please sign in to comment.