-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbootstrap-workstation.sh
executable file
·85 lines (60 loc) · 1.32 KB
/
bootstrap-workstation.sh
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
#!/bin/bash
source ./bootstrap-lib.sh
source /etc/os-release
if [[ "${ID}" == "debian" ]]; then
# local user ssh agent
fn_local_user_ssh_agent
fn_system_setup_crostini
# rustup
fn_local_install_rustup
fn_local_install_neovim
fi
if [[ "${ID}" == "rhel" || "${ID}" == "redhat" || "${ID}" == "centos" || ${ID} == "fedora" ]]; then
fn_system_setup_fedora_el
# virtualenvwrapper
fn_local_install_virtualenvwrapper
if [[ "${ID}" == "rhel" || "${ID}" == "redhat" || "${ID}" == "centos" ]]; then
fn_local_install_neovim
fi
fi
# k8s stuff
fn_local_install_minikube
fn_local_install_kind
fn_local_install_kustomize
fn_local_install_kubectl
fn_local_install_k9s
fn_local_install_kubebuilder
fn_local_install_operator_sdk
# rosa
fn_local_install_rosa
# terraform
fn_local_install_terraform
# pipx
fn_local_pipx_packages_install
# rootless distrobox
fn_local_install_distrobox
# OPA
fn_local_install_opa
# GH cli
fn_local_install_gh
# Task
fn_local_install_task
# yq
fn_local_install_yq
# syft
fn_local_install_syft
# grype
fn_local_install_grype
# cosign
fn_local_install_cosign
# cheat.sh
fn_local_install_chtsh
# aws cli
fn_local_install_aws
# go-blueprint
fn_local_install_go_blueprint
# charms
fn_local_install_charm_apps
# print errors if there are any
fn_print_errors
printf "Done!\n"