-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #437 from boostcampwm-2022/dev
실서버에 v1.0.1 버전을 배포합니다.
- Loading branch information
Showing
42 changed files
with
1,689 additions
and
919 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: "[CD] DEV" | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
workflow_dispatch: | ||
|
||
jobs: | ||
path-check: | ||
runs-on: ubuntu-20.04 | ||
outputs: | ||
client: ${{ steps.filter.outputs.client }} | ||
server: ${{ steps.filter.outputs.server }} | ||
scheduler-server: ${{ steps.filter.outputs.scheduler-server }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: dorny/paths-filter@v2 | ||
id: filter | ||
with: | ||
base: ${{ github.ref }} | ||
ref: ${{ github.head_ref }} | ||
filters: | | ||
client: | ||
- 'client/**' | ||
server: | ||
- 'server/**' | ||
scheduler-server: | ||
- 'scheduler-server/**' | ||
client: | ||
needs: path-check | ||
if: ${{ needs.path-check.outputs.client == 'true' }} | ||
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 }} | ||
|
||
server: | ||
needs: path-check | ||
if: ${{ needs.path-check.outputs.server == 'true' }} | ||
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 }} | ||
|
||
scheduler-server: | ||
needs: path-check | ||
if: ${{ needs.path-check.outputs.scheduler-server == 'true' }} | ||
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 }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: "[CD] MAIN" | ||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
path-check: | ||
runs-on: ubuntu-20.04 | ||
outputs: | ||
client: ${{ steps.filter.outputs.client }} | ||
server: ${{ steps.filter.outputs.server }} | ||
scheduler-server: ${{ steps.filter.outputs.scheduler-server }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: dorny/paths-filter@v2 | ||
id: filter | ||
with: | ||
base: ${{ github.ref }} | ||
ref: ${{ github.head_ref }} | ||
filters: | | ||
client: | ||
- 'client/**' | ||
server: | ||
- 'server/**' | ||
scheduler-server: | ||
- 'scheduler-server/**' | ||
client: | ||
needs: path-check | ||
if: ${{ needs.path-check.outputs.client == 'true' }} | ||
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 }} | ||
|
||
server: | ||
needs: path-check | ||
if: ${{ needs.path-check.outputs.server == 'true' }} | ||
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 }} | ||
|
||
scheduler-server: | ||
needs: path-check | ||
if: ${{ needs.path-check.outputs.scheduler-server == 'true' }} | ||
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 }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
branches: ["main", "dev"] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
path-check: | ||
runs-on: ubuntu-20.04 | ||
outputs: | ||
client: ${{ steps.filter.outputs.client }} | ||
server: ${{ steps.filter.outputs.server }} | ||
scheduler-server: ${{ steps.filter.outputs.scheduler-server }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: dorny/paths-filter@v2 | ||
id: filter | ||
with: | ||
base: ${{ github.ref }} | ||
ref: ${{ github.head_ref }} | ||
filters: | | ||
client: | ||
- 'client/**' | ||
server: | ||
- 'server/**' | ||
scheduler-server: | ||
- 'scheduler-server/**' | ||
client: | ||
needs: path-check | ||
if: ${{ needs.path-check.outputs.client == 'true' }} | ||
uses: ./.github/workflows/reusable-integration.yml | ||
with: | ||
working-directory: client | ||
|
||
server: | ||
needs: path-check | ||
if: ${{ needs.path-check.outputs.server == 'true' }} | ||
uses: ./.github/workflows/reusable-integration.yml | ||
with: | ||
working-directory: server | ||
|
||
scheduler-server: | ||
needs: path-check | ||
if: ${{ needs.path-check.outputs.scheduler-server == 'true' }} | ||
uses: ./.github/workflows/reusable-integration.yml | ||
with: | ||
working-directory: scheduler-server |
Oops, something went wrong.