release-0.9.12
This commit is contained in:
parent
064243da60
commit
dfd656739e
3 changed files with 4 additions and 3 deletions
|
@ -18,7 +18,7 @@ apply plugin: 'kotlinx-serialization'
|
|||
|
||||
|
||||
group = 'org.domaindrivenarchitecture.provs'
|
||||
version = '0.9.12-SNAPSHOT'
|
||||
version = 'release-0.9.12'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
|
|
@ -11,7 +11,7 @@ private const val DEFAULT_CONFIG_FILE = "server-config.yaml"
|
|||
|
||||
fun getK3sConfig(fileName: ConfigFileName?): K3sConfig {
|
||||
val filename = fileName?.fileName ?: DEFAULT_CONFIG_FILE
|
||||
return if (File(filename).exists()) {
|
||||
return if (File(filename).exists() || (filename != DEFAULT_CONFIG_FILE)) {
|
||||
readFromFile(filename).yamlToType()
|
||||
} else {
|
||||
K3sConfig("localhost", Node("127.0.0.1"), apple = true)
|
||||
|
|
|
@ -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.test.defaultTestContainer
|
||||
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.Test
|
||||
|
||||
|
@ -30,7 +31,7 @@ internal class GitKtTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
@ContainerTest
|
||||
@ExtensiveContainerTest
|
||||
fun gitClone() {
|
||||
// given
|
||||
val prov = defaultTestContainer()
|
||||
|
|
Loading…
Reference in a new issue