mirror of
https://github.com/cna-bootcamp/lifesub.git
synced 2026-01-21 11:06:23 +00:00
release
This commit is contained in:
parent
8d6df6e323
commit
992edd0bd9
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8
.idea/modules/member/lifesub.member.test.iml
generated
8
.idea/modules/member/lifesub.member.test.iml
generated
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="4">
|
||||
<component name="AdditionalModuleElements">
|
||||
<content url="file://$MODULE_DIR$/../../../member/build/generated/sources/annotationProcessor/java/test">
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../../member/build/generated/sources/annotationProcessor/java/test" isTestSource="true" generated="true" />
|
||||
</content>
|
||||
</component>
|
||||
</module>
|
||||
32
build.gradle
32
build.gradle
@ -2,6 +2,8 @@ plugins {
|
||||
id 'org.springframework.boot' version '3.4.0' apply false
|
||||
//id 'io.spring.dependency-management' version '1.1.6' apply false
|
||||
id 'java'
|
||||
|
||||
id "org.sonarqube" version "5.0.0.4638" apply false //apply false 해야 서브 프로젝트에 제대로 적용됨
|
||||
}
|
||||
|
||||
allprojects {
|
||||
@ -15,6 +17,13 @@ subprojects {
|
||||
apply plugin: 'org.springframework.boot'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
|
||||
apply plugin: 'org.sonarqube'
|
||||
apply plugin: 'jacoco' // 서브 프로젝트에 JaCoCo 플러그인 적용
|
||||
|
||||
jacoco {
|
||||
toolVersion = "0.8.11" // JaCoCo 최신 버전 사용
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
@ -59,6 +68,29 @@ subprojects {
|
||||
testLogging {
|
||||
events "passed", "skipped", "failed"
|
||||
}
|
||||
finalizedBy jacocoTestReport // 테스트 후 JaCoCo 리포트 생성
|
||||
}
|
||||
|
||||
jacocoTestReport {
|
||||
dependsOn test
|
||||
reports {
|
||||
xml.required = true // SonarQube 분석을 위해 XML 형식 필요
|
||||
csv.required = false
|
||||
html.required = true
|
||||
html.outputLocation = layout.buildDirectory.dir("jacocoHtml").get().asFile
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
classDirectories.setFrom(files(classDirectories.files.collect {
|
||||
fileTree(dir: it, exclude: [
|
||||
"**/config/**", // 설정 클래스 제외
|
||||
"**/entity/**", // 엔티티 클래스 제외
|
||||
"**/dto/**", // DTO 클래스 제외
|
||||
"**/*Application.class", // 메인 애플리케이션 클래스 제외
|
||||
"**/exception/**" // 예외 클래스 제외
|
||||
])
|
||||
}))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
2
deployment/Jenkinsfile
vendored
2
deployment/Jenkinsfile
vendored
@ -39,7 +39,7 @@ podTemplate(
|
||||
stage("Get Source") {
|
||||
checkout scm
|
||||
props = readProperties file: "deployment/deploy_env_vars"
|
||||
namespace = "${props.teamid}-${props.root_project}-ns"
|
||||
namespace = "${props.namespace}"
|
||||
}
|
||||
|
||||
stage("Setup AKS") {
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
# Team Settings
|
||||
teamid=dg0200
|
||||
teamid=unicorn
|
||||
root_project=lifesub
|
||||
namespace=unicorn-lifesub-ns
|
||||
|
||||
# Container Registry Settings
|
||||
registry=dg0200cr.azurecr.io
|
||||
registry=unicorncr.azurecr.io
|
||||
image_org=lifesub
|
||||
|
||||
# Application Settings
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user