-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup-mac.sh
More file actions
executable file
·50 lines (27 loc) · 841 Bytes
/
setup-mac.sh
File metadata and controls
executable file
·50 lines (27 loc) · 841 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
45
46
47
48
49
50
set -e
# xcode-select --install
# Clone repos
# sudo easy_install pip
# ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# brew install python
# pip install --upgrade pip setuptools wheel ansible
# ./virtual-env-create.sh
# touch secrets.local.yml
# add git_token, releng password, dock
# mkdir ~/.m2
# chmod 600 ~/.netrc
# mac-dev-playbook/ansible-galaxy install -r requirements.yml
# clean up ekrylov
# gnu-tar
# ---
ansible-playbook setup-mac.yml -i inventory $* --tags "home-dir"
pushd ../mac-dev-playbook
ansible-playbook main.yml -i inventory $*
popd
ansible-playbook setup-mac.yml -i inventory $* --tags "dev-tools"
# Freeze latest versions after pip updates
./virtual-env-freeze.sh
# Cleanup and validate home brew installation
brew cleanup -s
brew doctor
brew missing