release-0.9.12

This commit is contained in:
ansgarz 2022-03-10 21:24:17 +01:00
parent 064243da60
commit dfd656739e
3 changed files with 4 additions and 3 deletions

View file

@ -18,7 +18,7 @@ apply plugin: 'kotlinx-serialization'
group = 'org.domaindrivenarchitecture.provs' group = 'org.domaindrivenarchitecture.provs'
version = '0.9.12-SNAPSHOT' version = 'release-0.9.12'
repositories { repositories {
mavenCentral() mavenCentral()

View file

@ -11,7 +11,7 @@ private const val DEFAULT_CONFIG_FILE = "server-config.yaml"
fun getK3sConfig(fileName: ConfigFileName?): K3sConfig { fun getK3sConfig(fileName: ConfigFileName?): K3sConfig {
val filename = fileName?.fileName ?: DEFAULT_CONFIG_FILE val filename = fileName?.fileName ?: DEFAULT_CONFIG_FILE
return if (File(filename).exists()) { return if (File(filename).exists() || (filename != DEFAULT_CONFIG_FILE)) {
readFromFile(filename).yamlToType() readFromFile(filename).yamlToType()
} else { } else {
K3sConfig("localhost", Node("127.0.0.1"), apple = true) K3sConfig("localhost", Node("127.0.0.1"), apple = true)

View file

@ -4,6 +4,7 @@ import org.domaindrivenarchitecture.provs.framework.ubuntu.install.base.aptInsta
import org.domaindrivenarchitecture.provs.framework.ubuntu.keys.base.isHostKnown import org.domaindrivenarchitecture.provs.framework.ubuntu.keys.base.isHostKnown
import org.domaindrivenarchitecture.provs.test.defaultTestContainer import org.domaindrivenarchitecture.provs.test.defaultTestContainer
import org.domaindrivenarchitecture.provs.test.tags.ContainerTest import org.domaindrivenarchitecture.provs.test.tags.ContainerTest
import org.domaindrivenarchitecture.provs.test.tags.ExtensiveContainerTest
import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test import org.junit.jupiter.api.Test
@ -30,7 +31,7 @@ internal class GitKtTest {
} }
@Test @Test
@ContainerTest @ExtensiveContainerTest
fun gitClone() { fun gitClone() {
// given // given
val prov = defaultTestContainer() val prov = defaultTestContainer()