Skip to content

Commit 461d4c1

Browse files
authored
Release 1.1.0
1.1.0 버전 배포
2 parents d8bdae7 + 539e3ae commit 461d4c1

File tree

4,010 files changed

+264999
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,010 files changed

+264999
-0
lines changed

.github/CODEOWNERS

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
frontend/ @HyeryongChoi @n0eyes @ksone02
2+
backend/ @iamjooon2 @parkmuhyeun @wonyongChoi05 @kyY00n
3+
4+
.github/ @HyeryongChoi @n0eyes @ksone02 @iamjooon2 @parkmuhyeun @wonyongChoi05 @kyY00n

.github/ISSUE_TEMPLATE/bug.yml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ body:
1616
render: shell
1717
validations:
1818
required: false
19+
- type: textarea
20+
attributes:
21+
label: 🕖 예상 작업 소요 시간
22+
description: 예상 작업 소요 시간을 적어주세요!
1923
- type: textarea
2024
attributes:
2125
label: 🌏 Environment

.github/ISSUE_TEMPLATE/feature.yml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ body:
1616
placeholder: 최대한 세분화 해서 적어주세요!
1717
validations:
1818
required: true
19+
- type: textarea
20+
attributes:
21+
label: 🕖 예상 작업 소요 시간
22+
description: 예상 작업 소요 시간을 적어주세요!
1923
- type: textarea
2024
attributes:
2125
label: 🙋🏻 More

.github/ISSUE_TEMPLATE/meeting.yml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ body:
1616
placeholder: 최대한 세분화 해서 적어주세요!
1717
validations:
1818
required: true
19+
- type: textarea
20+
attributes:
21+
label: 🕖 예상 작업 소요 시간
22+
description: 예상 작업 소요 시간을 적어주세요!
1923
- type: textarea
2024
attributes:
2125
label: 🙋🏻 More

.github/ISSUE_TEMPLATE/refactor.yml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ body:
1616
placeholder: 최대한 세분화 해서 적어주세요!
1717
validations:
1818
required: true
19+
- type: textarea
20+
attributes:
21+
label: 🕖 예상 작업 소요 시간
22+
description: 예상 작업 소요 시간을 적어주세요!
1923
- type: textarea
2024
attributes:
2125
label: 🙋🏻 More

.github/ISSUE_TEMPLATE/support.yml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ body:
1616
placeholder: 최대한 세분화 해서 적어주세요!
1717
validations:
1818
required: true
19+
- type: textarea
20+
attributes:
21+
label: 🕖 예상 작업 소요 시간
22+
description: 예상 작업 소요 시간을 적어주세요!
1923
- type: textarea
2024
attributes:
2125
label: 🙋🏻 More
+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Frontend Deploy to Dev
2+
3+
on:
4+
push:
5+
branches: [develop]
6+
paths: frontend/**
7+
8+
jobs:
9+
build-dockerfile:
10+
defaults:
11+
run:
12+
working-directory: frontend
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: '18.x'
20+
21+
- name: Install dependencies
22+
run: yarn
23+
24+
- name: Set up QEMU
25+
uses: docker/setup-qemu-action@v2
26+
27+
- name: Set up Docker Buildx
28+
uses: docker/setup-buildx-action@v2
29+
30+
- name: Log in to DockerHub
31+
uses: docker/login-action@v2
32+
with:
33+
username: ${{ secrets.DOCKER_USERNAME }}
34+
password: ${{ secrets.DOCKER_PASSWORD }}
35+
36+
- name: Build and push
37+
uses: docker/build-push-action@v4
38+
with:
39+
context: ./frontend
40+
file: ./frontend/Dockerfile.dev
41+
push: true
42+
tags: ${{ secrets.FRONTEND_IMAGE_NAME }}:latest
43+
platforms: |
44+
linux/amd64
45+
linux/arm64
46+
47+
deploy-to-develop-EC2:
48+
needs: build-dockerfile
49+
runs-on: front-dev-server
50+
51+
steps:
52+
- name: Deploy to Develop EC2
53+
run: |
54+
docker stop ${{ secrets.FRONTEND_CONTAINER_NAME }} || true
55+
docker rm ${{ secrets.FRONTEND_CONTAINER_NAME }} || true
56+
docker pull ${{ secrets.FRONTEND_IMAGE_NAME }}:latest
57+
docker run -d -p 3000:3000 --name ${{ secrets.FRONTEND_CONTAINER_NAME }} ${{ secrets.FRONTEND_IMAGE_NAME }}:latest
58+
59+
- name: Slack Notification
60+
uses: 8398a7/action-slack@v3
61+
with:
62+
status: ${{ job.status }}
63+
author_name: 프론트엔드 배포 알림
64+
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
65+
env:
66+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
67+
if: always()
+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Frontend Deploy to Prod
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths: frontend/**
7+
8+
jobs:
9+
build-dockerfile:
10+
defaults:
11+
run:
12+
working-directory: frontend
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: '18.x'
20+
21+
- name: Install dependencies
22+
run: yarn
23+
24+
- name: Set up QEMU
25+
uses: docker/setup-qemu-action@v2
26+
27+
- name: Set up Docker Buildx
28+
uses: docker/setup-buildx-action@v2
29+
30+
- name: Log in to DockerHub
31+
uses: docker/login-action@v2
32+
with:
33+
username: ${{ secrets.DOCKER_USERNAME }}
34+
password: ${{ secrets.DOCKER_PASSWORD }}
35+
36+
- name: Build and push
37+
uses: docker/build-push-action@v4
38+
with:
39+
context: ./frontend
40+
push: true
41+
tags: ${{ secrets.FRONTEND_IMAGE_NAME }}:latest
42+
platforms: |
43+
linux/amd64
44+
linux/arm64
45+
46+
deploy-to-develop-EC2:
47+
needs: build-dockerfile
48+
runs-on: front-prod-server
49+
50+
steps:
51+
- name: Deploy to Develop EC2
52+
run: |
53+
docker stop ${{ secrets.FRONTEND_CONTAINER_NAME }} || true
54+
docker rm ${{ secrets.FRONTEND_CONTAINER_NAME }} || true
55+
docker pull ${{ secrets.FRONTEND_IMAGE_NAME }}:latest
56+
docker run -d -p 3000:3000 --name ${{ secrets.FRONTEND_CONTAINER_NAME }} ${{ secrets.FRONTEND_IMAGE_NAME }}:latest
57+
58+
- name: Slack Notification
59+
uses: 8398a7/action-slack@v3
60+
with:
61+
status: ${{ job.status }}
62+
author_name: 프론트엔드 배포 알림
63+
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
64+
env:
65+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
66+
if: always()

.github/workflows/gradle.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Java build test
2+
3+
on:
4+
push:
5+
branches: [ main, develop ]
6+
paths: backend/**
7+
pull_request:
8+
branches: [ main, develop ]
9+
paths: backend/**
10+
11+
jobs:
12+
build:
13+
defaults:
14+
run:
15+
working-directory: backend
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up JDK 17
21+
uses: actions/setup-java@v3
22+
with:
23+
java-version: '17'
24+
distribution: 'adopt'
25+
- name: Grant execute permission for gradlew
26+
run: chmod +x gradlew
27+
- name: Build with Gradle
28+
run: ./gradlew build

.github/workflows/storybook.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Frontend Storybook Test
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
paths: frontend/**
7+
pull_request:
8+
branches: [main, develop]
9+
paths: frontend/**
10+
11+
jobs:
12+
storybook-test:
13+
defaults:
14+
run:
15+
working-directory: frontend
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- uses: actions/setup-node@v3
21+
with:
22+
node-version: '18.x'
23+
- name: Install dependencies
24+
run: yarn
25+
- name: Install Playwright
26+
run: npx playwright install --with-deps
27+
- name: Build Storybook
28+
run: yarn build:sb
29+
- name: Serve Storybook and run tests
30+
run: |
31+
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
32+
"yarn start:sb" \
33+
"npx wait-on tcp:6006 && yarn test-storybook"

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
.idea

backend/.gitignore

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
HELP.md
2+
.gradle
3+
build/
4+
!gradle/wrapper/gradle-wrapper.jar
5+
!**/src/main/**/build/
6+
!**/src/test/**/build/
7+
8+
**/src/main/resources/static/docs/
9+
src/main/resources/env.properties
10+
11+
### STS ###
12+
.apt_generated
13+
.classpath
14+
.factorypath
15+
.project
16+
.settings
17+
.springBeans
18+
.sts4-cache
19+
bin/
20+
!**/src/main/**/bin/
21+
!**/src/test/**/bin/
22+
23+
### IntelliJ IDEA ###
24+
.idea
25+
*.iws
26+
*.iml
27+
*.ipr
28+
out/
29+
!**/src/main/**/out/
30+
!**/src/test/**/out/
31+
/src/main/generated/**
32+
33+
### NetBeans ###
34+
/nbproject/private/
35+
/nbbuild/
36+
/dist/
37+
/nbdist/
38+
/.nb-gradle/
39+
40+
### VS Code ###
41+
.vscode/
42+
43+
### logs ###
44+
/logs
45+
/was-logs

0 commit comments

Comments
 (0)