Big refactoring #77
2
.env
2
.env
@@ -5,7 +5,7 @@ DATABASE_URL=jdbc:postgresql:dc-project
|
|||||||
APP_PORT=8080
|
APP_PORT=8080
|
||||||
OPENAPI_PORT=8181
|
OPENAPI_PORT=8181
|
||||||
SONARQUBE_PORT=9002
|
SONARQUBE_PORT=9002
|
||||||
SONARQUBE_DB_PORT=5433
|
SONARQUBE_DB_PORT=5434
|
||||||
|
|
||||||
ELASTIC_REST=9200
|
ELASTIC_REST=9200
|
||||||
ELASTIC_NODES=9300
|
ELASTIC_NODES=9300
|
||||||
|
|||||||
@@ -191,6 +191,8 @@ dockerCompose {
|
|||||||
useComposeFiles = listOf("docker-compose.yml")
|
useComposeFiles = listOf("docker-compose.yml")
|
||||||
startedServices = listOf("db", "elasticsearch", "rabbitmq", "redis")
|
startedServices = listOf("db", "elasticsearch", "rabbitmq", "redis")
|
||||||
stopContainers = false
|
stopContainers = false
|
||||||
|
removeVolumes = false
|
||||||
|
removeContainers = false
|
||||||
isRequiredBy(project.tasks.run)
|
isRequiredBy(project.tasks.run)
|
||||||
createNested("test").apply {
|
createNested("test").apply {
|
||||||
projectName = "dc-project_test"
|
projectName = "dc-project_test"
|
||||||
@@ -203,9 +205,12 @@ dockerCompose {
|
|||||||
projectName = "dc-project"
|
projectName = "dc-project"
|
||||||
useComposeFiles = listOf("docker-compose-sonar.yml")
|
useComposeFiles = listOf("docker-compose-sonar.yml")
|
||||||
stopContainers = false
|
stopContainers = false
|
||||||
|
removeVolumes = false
|
||||||
|
removeContainers = false
|
||||||
// isRequiredBy(project.tasks.sonarqube)
|
// isRequiredBy(project.tasks.sonarqube)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
tasks.sonarqube.configure { dependsOn(tasks.named("sonarqubeComposeUp")) }
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
if (versioning.info.dirty == false) {
|
if (versioning.info.dirty == false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user