-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.install.yml
44 lines (38 loc) · 1.27 KB
/
Taskfile.install.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3'
vars:
HELM_VERSION: 3.12.3
K3D_VERSION: 5.5.2
K9S_VERSION: 0.27.4
KUBECTL_VERSION: 1.28.0
TILT_VERSION: 0.33.4
tasks:
helm:
dir: /tmp
cmds:
- curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
- chmod 700 get_helm.sh
- ./get_helm.sh --version v{{.HELM_VERSION}}
k3d:
dir: /tmp
cmds:
- curl -s -o install_k3d.sh https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh
- chmod +x install_k3d.sh
- TAG=v{{.K3D_VERSION}} ./install_k3d.sh
k9s:
dir: /tmp
cmds:
- rm -f k9s_Linux_amd64.tar.gz
- wget https://github.com/derailed/k9s/releases/download/v{{.K9S_VERSION}}/k9s_Linux_amd64.tar.gz
- tar -xzvf k9s_Linux_amd64.tar.gz
- sudo mv k9s /usr/local/bin/
kubectl:
dir: /tmp
cmds:
- curl -LO "https://dl.k8s.io/release/v{{.KUBECTL_VERSION}}/bin/linux/amd64/kubectl"
- sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- echo 'source <(kubectl completion bash)' >>~/.bashrc
tilt:
dir: /tmp
cmds:
- curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v{{.TILT_VERSION}}/tilt.{{.TILT_VERSION}}.linux.x86_64.tar.gz | tar -xzv tilt
- sudo mv tilt /usr/local/bin/tilt