Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS package installation #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/make-stages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,5 @@ jobs:
- name: 'make kubernetes'
run: make kubernetes
- uses: actions/checkout@v2
- name: 'make neovim'
run: make neovim
- uses: actions/checkout@v2
- name: 'make nodejs'
run: make nodejs
run: make nodejs
47 changes: 45 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,49 @@ endif

editor: editor-requisites neovim neovim-plugins emacs-dep emacs doom-emacs ## Configure text editor

# ___ ___ _____ _______ __
# | \/ | | _ / ___\ \ / /
# | . . | __ _ ___| | | \ `--. \ V /
# | |\/| |/ _` |/ __| | | |`--. \/ \
# | | | | (_| | (__\ \_/ /\__/ / /^\ \
# \_| |_/\__,_|\___|\___/\____/\/ \/
macos-install:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

macos-brew-dependencies: ## MacOS 13.X+ - Install basic MacOS utils
brew install coreutils neovim
brew install gcc
brew install --cask rectangle
brew install --cask netnewswire
brew install --cask marta
brew install --cask vscodium
brew install --cask bitwarden
# brew install --cask alfred

macos-brew-web-tools:
brew install --cask chromium
brew install --cask

macos-brew-sre-software: ## Basic SRE software needed for daily work
brew tap tofuutils/tap
brew install tenv
brew install tldr tree gnu-tar ripgrep tmux jq gnupg

macos-brew-dev-software: ## Installs development software
brew install --cask visual-studio-code
brew install go
brew install node@22

macos-upgrade: ## Update and upgrade
brew update
brew list
brew outdated
brew upgrade
brew cleanup --prune=all --dry-run
tldr --update



# ___ _ __ ___ __ _ ___ ___
# / _ \ '_ ` _ \ / _` |/ __/ __|
#| __/ | | | | | (_| | (__\__ \
Expand Down Expand Up @@ -139,7 +182,7 @@ asdf-setup-kubectl:
asdf install kubectl latest:1.19.
asdf install kubectl latest:1.18.
asdf global kubectl latest
=======

clean: ## Render a destructive statement
@echo "rm -rf ${DOTFILES_DIR}"

Expand All @@ -149,4 +192,4 @@ clean: ## Render a destructive statement

# nvm
nodejs:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
7 changes: 1 addition & 6 deletions config/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,4 @@ if [[ -f ${ALIASES_DIR}/functions/jump.sh ]] ; then
alias j=jump
else
echo "[ERR] jump function not found - Check private repo"
fi

# Kubernetes
alias kubectl="$(ls -1 /usr/local/bin/kubectl* | tail -n 1)"
alias helm="$(ls -1 /usr/local/bin/helm* | tail -n 1)"
alias argocd="$(ls -1 /usr/local/bin/argocd* | tail -n 1)"
fi
4 changes: 1 addition & 3 deletions config/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ plugins=(git)

# User configuration

source ~/.dotfiles/aliases
source ~/.dotfiles/config/aliases

# Functions
source ~/.dotfiles/functions/movement.sh
source ~/.dotfiles/functions/kubernetes.sh
source ~/.dotfiles/functions/terraform.sh

Expand Down Expand Up @@ -86,4 +85,3 @@ fi
if [[ -f "ASDF_BIN" ]]; then
source /usr/local/share/zsh/site-functions/_kubectl
fi

Loading