Mercurial > code > home > repos > infra
changeset 56:4c15fc1e879d
bump some tool versions
author | drewp@bigasterisk.com |
---|---|
date | Wed, 06 Apr 2022 19:22:13 -0700 |
parents | d963290102a6 |
children | 16098abf8f0f |
files | kube.py packages.py |
diffstat | 2 files changed, 13 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/kube.py Wed Apr 06 19:20:57 2022 -0700 +++ b/kube.py Wed Apr 06 19:22:13 2022 -0700 @@ -9,7 +9,7 @@ k3s_version = 'v1.23.3+k3s1' # https://github.com/GoogleContainerTools/skaffold/releases -skaffold_version = 'v1.36.0' +skaffold_version = 'v1.37.0' master_ip = "10.5.0.1" server_node = 'bang'
--- a/packages.py Wed Apr 06 19:20:57 2022 -0700 +++ b/packages.py Wed Apr 06 19:22:13 2022 -0700 @@ -49,6 +49,7 @@ 'mosquitto-clients', 'ncdu', "udns-utils", + "atool", ]) if not is_pi: @@ -63,18 +64,26 @@ 'lxterminal', 'iotop', 'lpr', + 'nodejs', + 'npm', ]) - vers = '0.24.4' + vers = '0.24.4' # see https://github.com/kovidgoyal/kitty/releases home = '/home/drewp' local = f"{home}/.local/kitty" + dl = f'/tmp/kitty-{vers}-x86_64.txz' files.download(src=f"https://github.com/kovidgoyal/kitty/releases/download/v{vers}/kitty-{vers}-x86_64.txz", - dest=f'/tmp/kitty-{vers}-x86_64.txz') + dest=dl) files.makedirs(local, exist_ok=True) server.shell([ - f"aunpack -Z {local} /tmp/kitty-{vers}-x86_64.txz", + f"mkdir -p {local}", # https://github.com/Fizzadar/pyinfra/issues/777 + f"aunpack --extract-to={local} {dl}", ]) files.link(target="{local}/bin/kitty", path="{home}/bin/kitty") + server.shell([ + "npm install -g pnpm@6.32.3", + ]) + if not is_pi and not (host.name == 'prime'): apt.packages(packages='mlocate', present=False) apt.packages(packages='plocate')