chore: move more tools into alpine repos
This commit is contained in:
1 parent
8728c6b115
commit
b229ffc732
1 file changed
+8
-12
@@ -4,24 +4,21 @@ set -o noglob
|
|||||||
|
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
age bash bind-tools ca-certificates curl direnv fish fzf \
|
age bash bind-tools ca-certificates curl direnv fish fzf \
|
||||||
gettext git github-cli helm iputils jq k9s kubectl kustomize \
|
gettext git github-cli helm iputils jq k9s python3 py3-pip \
|
||||||
python3 py3-pip moreutils openssh-client openssl starship yq
|
moreutils openssh-client openssl starship yq
|
||||||
|
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
|
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
|
||||||
go-task sops
|
kubectl kustomize go-task sops
|
||||||
|
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing \
|
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing \
|
||||||
cilium-cli kubeconform lsd stern
|
cloudflared cilium-cli helmfile kubeconform kubectl-krew lsd stern
|
||||||
|
|
||||||
for app in \
|
for app in \
|
||||||
"budimanjojo/talhelper!!?as=talhelper&type=script" \
|
"budimanjojo/talhelper!!?as=talhelper&type=script" \
|
||||||
"cloudflare/cloudflared!!?as=cloudflared&type=script" \
|
|
||||||
"fluxcd/flux2!!?as=flux&type=script" \
|
"fluxcd/flux2!!?as=flux&type=script" \
|
||||||
"helmfile/helmfile!!?as=helmfile&type=script" \
|
|
||||||
"kubecolor/kubecolor!!?as=kubecolor&type=script" \
|
"kubecolor/kubecolor!!?as=kubecolor&type=script" \
|
||||||
"kubernetes-sigs/krew!!?as=krew&type=script" \
|
|
||||||
"siderolabs/talos!!?as=talosctl&type=script"
|
"siderolabs/talos!!?as=talosctl&type=script"
|
||||||
do
|
do
|
||||||
echo "=== Installing ${app} ==="
|
echo "=== Installing ${app} ==="
|
||||||
@@ -32,12 +29,11 @@ done
|
|||||||
mkdir -p /home/vscode/.config/fish/{completions,conf.d}
|
mkdir -p /home/vscode/.config/fish/{completions,conf.d}
|
||||||
|
|
||||||
# Setup autocompletions for fish
|
# Setup autocompletions for fish
|
||||||
for tool in cilium flux helm helmfile k9s kubectl kustomize talhelper talosctl; do
|
flux completion fish > /home/vscode/.config/fish/completions/flux.fish
|
||||||
$tool completion fish > /home/vscode/.config/fish/completions/$tool.fish
|
|
||||||
done
|
|
||||||
gh completion --shell fish > /home/vscode/.config/fish/completions/gh.fish
|
gh completion --shell fish > /home/vscode/.config/fish/completions/gh.fish
|
||||||
stern --completion fish > /home/vscode/.config/fish/completions/stern.fish
|
kubectl completion fish > /home/vscode/.config/fish/completions/kubectl.fish
|
||||||
yq shell-completion fish > /home/vscode/.config/fish/completions/yq.fish
|
talhelper completion fish > /home/vscode/.config/fish/completions/talhelper.fish
|
||||||
|
talosctl completion fish > /home/vscode/.config/fish/completions/talosctl.fish
|
||||||
|
|
||||||
# Add hooks into fish
|
# Add hooks into fish
|
||||||
tee /home/vscode/.config/fish/conf.d/hooks.fish > /dev/null <<EOF
|
tee /home/vscode/.config/fish/conf.d/hooks.fish > /dev/null <<EOF
|
||||||
|
|||||||
Reference in new issue
Block a user