-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgithubReleaseManager.yaml
111 lines (110 loc) · 3.94 KB
/
githubReleaseManager.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
softwares:
- id: docker-compose-latest
url: |
"https://github.com/docker/compose/releases/download/v@version@/docker-compose-${kernel}-${MACHINE}"
version: latest
versionArg: --version
sudo: sudo
targetFile: /usr/local/bin/docker-compose
- id: hadolint
url: |
"https://github.com/hadolint/hadolint/releases/download/v@version@/hadolint-${KERNEL}-${MACHINE}"
version: latest
versionArg: --version
sudo: sudo
targetFile: /usr/local/bin/hadolint
- id: shellcheck
url: |
"https://github.com/koalaman/shellcheck/releases/download/v@version@/shellcheck-v@version@.${kernel}.${MACHINE}.tar.xz"
version: latest
versionArg: --version
sudo: sudo
targetFile: /usr/local/bin/shellcheck
installCallback: InstallCallbacks::installFromTarXz
- id: fd
url: |
"https://github.com/sharkdp/fd/releases/download/v@version@/fd_@version@_${ARCH}.deb"
version: latest
versionArg: --version
sudo: sudo
targetFile: /usr/bin/fd
installCallback: InstallCallbacks::installDeb
- id: bat
url: |
"https://github.com/sharkdp/bat/releases/download/v@version@/bat_@version@_${arch}.deb"
version: latest
versionArg: --version
sudo: sudo
targetFile: /usr/bin/bat
installCallback: InstallCallbacks::installDeb
- id: kind
url: |
"https://github.com/kubernetes-sigs/kind/releases/download/v@version@/kind-${kernel}-${arch}"
version: latest
versionArg: --version
sudo: sudo
targetFile: /usr/local/bin/kind
- id: minikube
url: |
"https://github.com/kubernetes/minikube/releases/download/v@version@/minikube-${kernel}-${arch}"
version: latest
versionArg: version
sudo: sudo
targetFile: /usr/local/bin/minikube
- id: plantuml
version: latest
url: |
"https://github.com/plantuml/plantuml/releases/download/v@version@/plantuml-@[email protected]"
versionArg:
java -jar /opt/java/plantuml.jar -version | head -1 | Version::parse
softVersionCallback: InstallCallbacks::getVersion
sudo: sudo
targetFile: /opt/java/plantuml.jar
- id: saml2aws
url: https://github.com/Versent/saml2aws/releases/download/v@version@/saml2aws_@version@_${kernel}_${arch}.tar.gz
version: latest
versionArg: --version
sudo: sudo
targetFile: /usr/local/bin/saml2aws
installCallback: InstallCallbacks::installFromTarGz
- id: docker-credential-wincred.exe
url: |
"https://github.com/docker/docker-credential-helpers/releases/download/v@version@/docker-credential-wincred-v@[email protected]${ARCH}.exe"
version: latest
versionArg: --version
sudo: sudo
targetFile: /usr/local/bin/docker-credential-wincred.exe
- id: oq
url: |
"https://github.com/Blacksmoke16/oq/releases/download/v@version@/oq-v@version@-${KERNEL}-${MACHINE}"
version: latest
versionArg: /usr/local/bin/oq --version | grep 'oq' | Version::parse
softVersionCallback: InstallCallbacks::getVersion
sudo: sudo
targetFile: /usr/local/bin/oq
- id: k9s
url: |
"https://github.com/derailed/k9s/releases/download/v@version@/k9s_${kernel}_${arch}.deb"
version: latest
versionArg: /usr/bin/k9s version | grep 'Version:' | Version::parse
softVersionCallback: InstallCallbacks::getVersion
sudo: sudo
targetFile: /usr/bin/k9s
installCallback: InstallCallbacks::installDeb
- id: shfmt
url: |
"https://github.com/mvdan/sh/releases/download/v@version@/shfmt_v@version@_${kernel}_${arch}"
version: latest
versionArg: --version
sudo: sudo
targetFile: /usr/local/bin/shfmt
# TODO
# SUDO=sudo GIT_CLONE_OPTIONS="--depth=1" Git::cloneOrPullIfNoChanges \
# "/opt/kubeps1" \
# "https://github.com/jonmosco/kube-ps1.git"
# SUDO=sudo GIT_CLONE_OPTIONS="--depth=1" Git::cloneOrPullIfNoChanges \
# "/opt/kubectx" \
# "https://github.com/ahmetb/kubectx"
# sudo ln -sf /opt/kubectx/kubectx /usr/local/bin/kubectx
# sudo ln -sf /opt/kubectx/kubens /usr/local/bin/kubens