fix: missing .dockerignore
Tests / build (push) Successful in 6m28s
Tests / lint (push) Canceled after 0s
Tests / test (push) Canceled after 6m54s

This commit is contained in:
2026-08-04 23:00:57 +02:00
parent b60e4aa457
commit 9b717f4d34
16 changed files with 90 additions and 63 deletions
-34
View File
@@ -58,40 +58,6 @@ tasks.withType<Test>().configureEach {
jvmArgs("-javaagent:$agentJar")
}
}
tasks.test {
dependsOn("copyEnv")
}
tasks.register<Copy>("copyEnv") {
group = "docker"
description = "copy the default dotenv file"
from("docker")
into("docker")
rename {
it.removeSuffix(".template")
}
include(".env.template")
eachFile {
if (File("docker/$name").exists()) {
exclude()
}
}
val files =
buildList {
add(File("docker/postgresql.secret"))
if (!project.hasProperty("ci")) {
add(File("docker/pgadmin.secret"))
}
}
outputs.files(*files.toTypedArray())
doLast {
files.forEach {
if (!it.exists()) {
it.writeText("changeit")
}
}
}
}
dependencies {
implementation("io.ktor:ktor-server-core-jvm")