release-0.11.1
This commit is contained in:
parent
ef56118ccb
commit
4fafe1ac56
2 changed files with 8 additions and 3 deletions
|
@ -18,7 +18,7 @@ apply plugin: "kotlinx-serialization"
|
|||
|
||||
|
||||
group = "org.domaindrivenarchitecture.provs"
|
||||
version = "0.11.1-SNAPSHOT"
|
||||
version = "release-0.11.1"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
|
|
@ -7,6 +7,8 @@ import org.domaindrivenarchitecture.provs.framework.ubuntu.install.base.aptInsta
|
|||
import org.domaindrivenarchitecture.provs.framework.ubuntu.web.base.downloadFromURL
|
||||
|
||||
|
||||
private const val resourcePath = "org/domaindrivenarchitecture/provs/desktop/infrastructure"
|
||||
|
||||
fun Prov.installDevOps() = task {
|
||||
installTerraform()
|
||||
installKubectlAndTools()
|
||||
|
@ -36,7 +38,6 @@ fun Prov.installYq(
|
|||
}
|
||||
|
||||
fun Prov.installKubectlAndTools(): ProvResult = task {
|
||||
val resourcePath = "org/domaindrivenarchitecture/provs/desktop/infrastructure"
|
||||
|
||||
task("installKubectl") {
|
||||
val kubeConfigFile = ".bashrc.d/kubectl.sh"
|
||||
|
@ -58,6 +59,11 @@ fun Prov.installKubectlAndTools(): ProvResult = task {
|
|||
}
|
||||
}
|
||||
|
||||
installDevopsScripts()
|
||||
}
|
||||
|
||||
fun Prov.installDevopsScripts() {
|
||||
|
||||
task("install ssh helper") {
|
||||
createFileFromResource(
|
||||
"/usr/local/bin/sshu.sh",
|
||||
|
@ -120,7 +126,6 @@ fun Prov.installKubectlAndTools(): ProvResult = task {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
fun Prov.installTerraform(): ProvResult = task {
|
||||
val dir = "/usr/lib/tfenv/"
|
||||
|
||||
|
|
Loading…
Reference in a new issue