release-0.11.1

This commit is contained in:
ansgarz 2022-04-18 19:33:22 +02:00
parent ef56118ccb
commit 4fafe1ac56
2 changed files with 8 additions and 3 deletions

View file

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

View file

@ -7,6 +7,8 @@ import org.domaindrivenarchitecture.provs.framework.ubuntu.install.base.aptInsta
import org.domaindrivenarchitecture.provs.framework.ubuntu.web.base.downloadFromURL import org.domaindrivenarchitecture.provs.framework.ubuntu.web.base.downloadFromURL
private const val resourcePath = "org/domaindrivenarchitecture/provs/desktop/infrastructure"
fun Prov.installDevOps() = task { fun Prov.installDevOps() = task {
installTerraform() installTerraform()
installKubectlAndTools() installKubectlAndTools()
@ -36,7 +38,6 @@ fun Prov.installYq(
} }
fun Prov.installKubectlAndTools(): ProvResult = task { fun Prov.installKubectlAndTools(): ProvResult = task {
val resourcePath = "org/domaindrivenarchitecture/provs/desktop/infrastructure"
task("installKubectl") { task("installKubectl") {
val kubeConfigFile = ".bashrc.d/kubectl.sh" val kubeConfigFile = ".bashrc.d/kubectl.sh"
@ -58,6 +59,11 @@ fun Prov.installKubectlAndTools(): ProvResult = task {
} }
} }
installDevopsScripts()
}
fun Prov.installDevopsScripts() {
task("install ssh helper") { task("install ssh helper") {
createFileFromResource( createFileFromResource(
"/usr/local/bin/sshu.sh", "/usr/local/bin/sshu.sh",
@ -120,7 +126,6 @@ fun Prov.installKubectlAndTools(): ProvResult = task {
) )
} }
} }
fun Prov.installTerraform(): ProvResult = task { fun Prov.installTerraform(): ProvResult = task {
val dir = "/usr/lib/tfenv/" val dir = "/usr/lib/tfenv/"