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