Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: deploy applicaition using GitHub Actions #90

Merged
merged 4 commits into from
Feb 21, 2023

Conversation

junghoon-vans
Copy link
Member

Related Issue

#25

Description

  • 배포 자동화를 위한 GitHub Actions 워크플로우를 작성하였습니다.
  • 도커 이미지 빌드를 위해 GoogleContainerTools/jib을 사용하였습니다.
  • 배포 시 필요한 task-definition.json 파일을 추가하였습니다.

배포 과정

깃헙 액션이 수행하는 워크플로우는 다음과 같습니다.

flowchart TD
    .[GitHub Actions]
    . --> |1. Setup credentials| 1[AWS Credentials] --> 2[Login ECR]
    . --> |2. Prepare container image| a[Set Up Java] --> b[Jib] --> |Image Build & Push| c[Amazon ECR]
    . --> |3. Deploy application| A[Task Definition] --> |Use task-definition.json| B[Amazon ECS]
Loading
  1. AWS Credentials 설정
  2. Amazon ECR 로그인
  3. 자바 설정 - Jib 실행을 위해 필요
  4. Jib을 사용하여 도커 이미지 빌드ECR에 배포
  5. task-definition을 이용하여 서비스 배포

Screenshots (if appropriate):

@junghoon-vans junghoon-vans added the 🚀 build 빌드 작업과 관련된 작업을 명시합니다. (Gradle, CI/CD 등) label Feb 21, 2023
@junghoon-vans junghoon-vans self-assigned this Feb 21, 2023
@sonarcloud
Copy link

sonarcloud bot commented Feb 21, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Member

@Chaerim1001 Chaerim1001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고해주셔서 감사합니다!!

@junghoon-vans junghoon-vans merged commit 581b3e4 into develop Feb 21, 2023
@junghoon-vans junghoon-vans deleted the build/deploy-application-using-github-actions branch February 21, 2023 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 build 빌드 작업과 관련된 작업을 명시합니다. (Gradle, CI/CD 등)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants