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
version: 0.2 | |
env: | |
# You can use env at variables, Parameter-store, secrets-manager | |
# need to add IAM Policy to CodeBuild Role | |
variables: | |
CLUSTER_NAME: "node-dev-apne2-cluster" | |
SERVICE_NAME: "nodejs_app_svc" | |
TASK_DEF_NAME: "nodejs_app" | |
Region: "ap-northeast-2" |
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
version: 0.2 | |
env: | |
variables: | |
AWS_DEFAULT_REGION: "ap-northeast-2" | |
AWS_ACCOUNT_ID: "348951190761" | |
IMAGE_REPO_NAME: "demo/app" | |
phases: | |
install: | |
runtime-versions: | |
java: corretto8 |
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
version: 0.2 | |
env: | |
variables: | |
SPRING_PROFILE: "prod" | |
phases: | |
pre_build: | |
commands: | |
- echo Logging in to Amazon ECR... |
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
version: 0.2 | |
phases: | |
install: | |
runtime-versions: | |
java: corretto11 | |
pre_build: | |
commands: | |
- REGION=ap-northeast-2 | |
- REPOSITORY_URI=xxxxx.dkr.ecr.ap-northeast-2.amazonaws.com |
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
# Dockerfile | |
FROM adoptopenjdk:11-jre-hotspot as builder | |
WORKDIR application | |
ARG JAR_FILE=build/libs/*.jar | |
COPY ${JAR_FILE} application.jar | |
RUN java -Djarmode=layertools -jar application.jar extract | |
FROM adoptopenjdk:11-jre-hotspot | |
WORKDIR application | |
COPY --from=builder application/dependencies/ ./ |
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
lombok.addLombokGeneratedAnnotation = true // Lombok에 의해 genrated된 코드 Test Coverage 산정 제외 옵션 | |
lombok.setter.flagUsage = ERROR // @Setter 사용으로 인해 발생 할 수 있는 객체 신뢰 하락 방지를 위한 Build 제한 옵션 | |
lombok.toString.flagUsage = ERROR // @ToString 사용으로 인해 발생 할 수 있는 양방향 순환참조 방지를 위한 Build 제한 옵션 |
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
🌞 Morning 179 commits ██▏░░░░░░░░░░░░░░░░░░ 10.6% | |
🌆 Daytime 607 commits ███████▌░░░░░░░░░░░░░ 35.8% | |
🌃 Evening 622 commits ███████▋░░░░░░░░░░░░░ 36.7% | |
🌙 Night 286 commits ███▌░░░░░░░░░░░░░░░░░ 16.9% |