Skip to content

Commit

Permalink
v20231008.0 버전 출시 (#288)
Browse files Browse the repository at this point in the history
Co-authored-by: 노가성 <[email protected]>
Co-authored-by: 변찬우 <[email protected]>
Co-authored-by: 최장우 <[email protected]>
Co-authored-by: 하제우 <[email protected]>
Co-authored-by: 박준호 <[email protected]>
  • Loading branch information
6 people authored Oct 8, 2023
1 parent 78f68e0 commit 49cf044
Show file tree
Hide file tree
Showing 235 changed files with 29,017 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @YangSiJun528 @chanwoo00106 @siwony @jyeonjyan
44 changes: 44 additions & 0 deletions .github/workflows/hello-gsm-back-CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Hello,GSM Back-V2 CI

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "*" ]

env:
REDIS_HOST: ${{secrets.REDIS_HOST}}

jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: 7
redis-port: 6379


- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Set up JDK 17 job has success
if: ${{ success() }}
run: echo "jdk 17 job succeeded"

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name : Setup Gradls's permission
run : chmod +x gradlew

- name: Run build with Gradle wrapper
run: ./gradlew clean hellogsm-web:build hellogsm-batch:build
4 changes: 4 additions & 0 deletions .github/workflows/hello-gsm-back-web-CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: Hello,GSM Back-V2 WEB Module CI

on:
push:
56 changes: 56 additions & 0 deletions .github/workflows/hello-gsm-dev-batch-CD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: HelloGSM dev batch CD workflow

on:
push:
paths:
- "hellogsm-batch/**"
branches: [ "develop" ]

workflow_dispatch:

jobs:
CD:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name : Setup Gradls's permission
run : chmod +x gradlew

- name: make yml file
run: touch ./hellogsm-batch/src/main/resources/application-dev.yml

echo "${{ secrets.DEV_BATCH_YML }}" > ./hellogsm-batch/src/main/resources/application-dev.yml

shell: bash

- name: Build with Gradle
run : ./gradlew clean hellogsm-batch:build

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Make zip file
run: zip -r ./$GITHUB_SHA.zip .
shell: bash

- name: Upload to S3
run: aws s3 cp --region ${{ secrets.AWS_REGION }} ./$GITHUB_SHA.zip s3://${{ secrets.BUCKET_NAME }}/dev/batch/$GITHUB_SHA.zip

- name: Code Deploy
run: aws deploy create-deployment --application-name hellogsm-dev-codedeploy --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name dev-batch-server --s3-location bucket=${{ secrets.BUCKET_NAME }},bundleType=zip,key=dev/batch/$GITHUB_SHA.zip
56 changes: 56 additions & 0 deletions .github/workflows/hello-gsm-dev-web-CD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: HelloGSM dev web CD workflow

on:
push:
paths:
- "hellogsm-web/**"
branches: [ "develop" ]

workflow_dispatch:

jobs:
CD:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name : Setup Gradls's permission
run : chmod +x gradlew

- name: make yml file
run: touch ./hellogsm-web/src/main/resources/application-dev.yml

echo "${{ secrets.DEV_WEB_YML }}" > ./hellogsm-web/src/main/resources/application-dev.yml

shell: bash

- name: Build with Gradle
run : ./gradlew clean hellogsm-web:build

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Make zip file
run: zip -r ./$GITHUB_SHA.zip .
shell: bash

- name: Upload to S3
run: aws s3 cp --region ${{ secrets.AWS_REGION }} ./$GITHUB_SHA.zip s3://${{ secrets.BUCKET_NAME }}/dev/web/$GITHUB_SHA.zip

- name: Code Deploy
run: aws deploy create-deployment --application-name hellogsm-dev-codedeploy --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name dev-web-server --s3-location bucket=${{ secrets.BUCKET_NAME }},bundleType=zip,key=dev/web/$GITHUB_SHA.zip
56 changes: 56 additions & 0 deletions .github/workflows/hello-gsm-prod-batch-CD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: HelloGSM prod batch CD workflow

on:
push:
paths:
- "hellogsm-batch/**"
branches: [ "main" ]

workflow_dispatch:

jobs:
CD:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name : Setup Gradls's permission
run : chmod +x gradlew

- name: make yml file
run: touch ./hellogsm-batch/src/main/resources/application-prod.yml

echo "${{ secrets.PROD_BATCH_YML }}" > ./hellogsm-batch/src/main/resources/application-prod.yml

shell: bash

- name: Build with Gradle
run : ./gradlew clean hellogsm-batch:build

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Make zip file
run: zip -r ./$GITHUB_SHA.zip .
shell: bash

- name: Upload to S3
run: aws s3 cp --region ${{ secrets.AWS_REGION }} ./$GITHUB_SHA.zip s3://${{ secrets.BUCKET_NAME }}/prod/batch/$GITHUB_SHA.zip

- name: Code Deploy
run: aws deploy create-deployment --application-name hellogsm-prod-codedeploy --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name prod-batch-server --s3-location bucket=${{ secrets.BUCKET_NAME }},bundleType=zip,key=prod/batch/$GITHUB_SHA.zip
56 changes: 56 additions & 0 deletions .github/workflows/hello-gsm-prod-web-CD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: HelloGSM prod web CD workflow

on:
push:
paths:
- "hellogsm-web/**"
branches: [ "main" ]

workflow_dispatch:

jobs:
CD:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name : Setup Gradls's permission
run : chmod +x gradlew

- name: make yml file
run: touch ./hellogsm-web/src/main/resources/application-prod.yml

echo "${{ secrets.PROD_WEB_YML }}" > ./hellogsm-web/src/main/resources/application-prod.yml

shell: bash

- name: Build with Gradle
run : ./gradlew clean hellogsm-web:build

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Make zip file
run: zip -r ./$GITHUB_SHA.zip .
shell: bash

- name: Upload to S3
run: aws s3 cp --region ${{ secrets.AWS_REGION }} ./$GITHUB_SHA.zip s3://${{ secrets.BUCKET_NAME }}/prod/web/$GITHUB_SHA.zip

- name: Code Deploy
run: aws deploy create-deployment --application-name hellogsm-prod-codedeploy --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name prod-web-server --s3-location bucket=${{ secrets.BUCKET_NAME }},bundleType=zip,key=prod/web/$GITHUB_SHA.zip
Loading

0 comments on commit 49cf044

Please sign in to comment.