Compare commits
No commits in common. "507475f40e7af42da7d3284b1460811116aeeb90" and "38ff640b006439e04f57852aec57f44f00127ebe" have entirely different histories.
507475f40e
...
38ff640b00
2 changed files with 1 additions and 6 deletions
|
@ -15,7 +15,6 @@ fun Prov.provisionPython(venvHome: String? = "~/.venv/meissa") = task {
|
||||||
installJupyterlab(venvHome)
|
installJupyterlab(venvHome)
|
||||||
installLinters(venvHome)
|
installLinters(venvHome)
|
||||||
installAsciinema(venvHome)
|
installAsciinema(venvHome)
|
||||||
installPyTest(venvHome)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Prov.installPython3(): ProvResult = task {
|
fun Prov.installPython3(): ProvResult = task {
|
||||||
|
@ -51,10 +50,6 @@ fun Prov.installAsciinema(venvHome: String? = null): ProvResult = task {
|
||||||
pipInstall("asciinema", venvHome)
|
pipInstall("asciinema", venvHome)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Prov.installPyTest(venvHome: String? = null): ProvResult = task {
|
|
||||||
pipInstall("pytest", venvHome)
|
|
||||||
}
|
|
||||||
|
|
||||||
private fun Prov.pipInstall(pkg: String, venvHome: String? = null) {
|
private fun Prov.pipInstall(pkg: String, venvHome: String? = null) {
|
||||||
cmd(activateVenvCommandPrefix(venvHome) + "pip3 install $pkg")
|
cmd(activateVenvCommandPrefix(venvHome) + "pip3 install $pkg")
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ import java.io.File
|
||||||
|
|
||||||
// ----------------------------------- versions --------------------------------
|
// ----------------------------------- versions --------------------------------
|
||||||
|
|
||||||
const val K3S_VERSION = "v1.29.1+k3s2"
|
const val K3S_VERSION = "v1.27.4+k3s1"
|
||||||
|
|
||||||
// ----------------------------------- directories --------------------------------
|
// ----------------------------------- directories --------------------------------
|
||||||
const val k3sManualManifestsDir = "/etc/rancher/k3s/manifests/"
|
const val k3sManualManifestsDir = "/etc/rancher/k3s/manifests/"
|
||||||
|
|
Loading…
Reference in a new issue