forked from donnemartin/dev-setup
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdevops.sh
More file actions
executable file
·44 lines (29 loc) · 1017 Bytes
/
devops.sh
File metadata and controls
executable file
·44 lines (29 loc) · 1017 Bytes
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
#!/usr/bin/env bash
# Install devops tools using Homebrew. We recommend running the brew.sh script, as some
# basic tools are there.
# Ask for the administrator password upfront.
sudo -v
# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
# Check for Homebrew,
# Install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Make sure we’re using the latest Homebrew.
brew update
# Upgrade any already-installed formulae.
brew upgrade
brew install screen
brew install tmux
brew install kubernetes-cli
brew install terraform
brew cask install google-cloud-sdk
# Install Docker, which requires virtualbox
brew install docker
brew cask install minikube
# Installing aws client
pip3 install awscli --upgrade --user
# Remove outdated versions from the cellar.
brew cleanup