This commit is contained in:
Brian Zalewski 2023-07-11 05:05:07 +00:00
parent f335102ec5
commit fc3ae3b5fc
7 changed files with 10 additions and 6 deletions

View file

@ -1020,7 +1020,6 @@ softwareGroups:
- localtunnel
- majestic
- medusa
- miniflare
- mitmproxy
- muffet
- nativescript

View file

@ -58,4 +58,10 @@ ensurePackageManagerHomebrew() {
fi
}
ensurePackageManagerHomebrew
# @description Enable auto-update service
if brew autoupdate status | grep 'Autoupdate is not configured.' > /dev/null; then
logg info 'Enabling Homebrew auto-update service (every 24 hours)'
brew autoupdate start --cleanup --upgrade
fi
{{ end -}}

View file

@ -21,6 +21,7 @@ if command -v install-program > /dev/null; then
sudo echo "Sudo access granted."
export DEBIAN_FRONTEND=noninteractive
export HOMEBREW_NO_ENV_HINTS=true
export HOMEBREW_NO_ANALYTICS=1
if ! command -v gcc-11; then
if command -v gcc; then
log info 'gcc-11 command missing. Symlinking to gcc'

View file

@ -26,6 +26,7 @@ elif [ -f "/usr/local/bin/brew" ]; then
elif [ -f "/opt/homebrew/bin/brew" ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
export HOMEBREW_NO_ANALYTICS=1
### SDKMan
export SDKMAN_DIR="$XDG_DATA_HOME/sdkman"

View file

@ -52,6 +52,7 @@ export SSH_KEY_PATH="$HOME/.ssh/id_rsa"
### Homebrew
export HOMEBREW_NO_ENV_HINTS=true
export HOMEBREW_NO_ANALYTICS=1
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"
export HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar"

View file

@ -1433,11 +1433,6 @@ softwarePackages:
_name: CFSSL
brew: cfssl
pacman: cfssl
miniflare:
_bin: miniflare
_github: https://github.com/cloudflare/miniflare
_name: Miniflare
npm: miniflare
cf-terraforming:
_bin: cf-terraforming
_github: https://github.com/cloudflare/cf-terraforming

View file

@ -17,6 +17,7 @@ set -eo pipefail
DELAYED_CI_SYNC=""
ENSURED_TASKFILES=""
export HOMEBREW_NO_INSTALL_CLEANUP=true
export HOMEBREW_NO_ANALYTICS=1
# @description Ensure permissions in CI environments
if [ -n "$CI" ]; then