Skip to content

Commit

Permalink
[macos] Update homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwartzentruber committed Jun 29, 2023
1 parent 40c67fe commit b27e8c6
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion services/ci-py-310-osx/service.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ci-py-310-osx
type: homebrew
base: https://github.com/Homebrew/brew/archive/refs/tags/3.6.9.tar.gz
base: https://github.com/Homebrew/brew/archive/refs/tags/4.0.26.tar.gz
force_dirty:
- orion-decision
2 changes: 1 addition & 1 deletion services/ci-py-310-osx/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e -x
retry () { i=0; while [ $i -lt 9 ]; do if "$@"; then return; else sleep 30; fi; i="${i+1}"; done; "$@"; }
retry_curl () { curl -sSL --connect-timeout 25 --fail --retry 5 "$@"; }

retry brew install --force-bottle openssl@1.1 python@3.10
retry brew install --force-bottle openssl@3 python@3.10
# shellcheck disable=SC2016
sed -i '' 's,export PATH=\\",&${HOMEBREW_PREFIX}/opt/python@3.10/libexec/bin:${HOMEBREW_PREFIX}/opt/python@3.10/bin:${HOMEBREW_PREFIX}/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/bin:,' homebrew/Library/Homebrew/cmd/shellenv.sh
PATH="$HOMEBREW_PREFIX/opt/python@3.10/libexec/bin:$HOMEBREW_PREFIX/opt/python@3.10/bin:$HOMEBREW_PREFIX/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/bin:$PATH"
Expand Down
2 changes: 1 addition & 1 deletion services/ci-py-38-osx/service.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ci-py-38-osx
type: homebrew
base: https://github.com/Homebrew/brew/archive/refs/tags/3.6.9.tar.gz
base: https://github.com/Homebrew/brew/archive/refs/tags/4.0.26.tar.gz
force_dirty:
- orion-decision
2 changes: 1 addition & 1 deletion services/ci-py-38-osx/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e -x
retry () { i=0; while [ $i -lt 9 ]; do if "$@"; then return; else sleep 30; fi; i="${i+1}"; done; "$@"; }
retry_curl () { curl -sSL --connect-timeout 25 --fail --retry 5 "$@"; }

retry brew install --force-bottle openssl@1.1 python@3.8 tcl-tk
retry brew install --force-bottle openssl@3 python@3.8 tcl-tk
# shellcheck disable=SC2016
sed -i '' 's,export PATH=\\",&${HOMEBREW_PREFIX}/opt/python@3.8/libexec/bin:${HOMEBREW_PREFIX}/opt/python@3.8/bin:${HOMEBREW_PREFIX}/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/bin:,' homebrew/Library/Homebrew/cmd/shellenv.sh
PATH="$HOMEBREW_PREFIX/opt/python@3.8/libexec/bin:$HOMEBREW_PREFIX/opt/python@3.8/bin:$HOMEBREW_PREFIX/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/bin:$PATH"
Expand Down
2 changes: 1 addition & 1 deletion services/ci-py-39-osx/service.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ci-py-39-osx
type: homebrew
base: https://github.com/Homebrew/brew/archive/refs/tags/3.6.9.tar.gz
base: https://github.com/Homebrew/brew/archive/refs/tags/4.0.26.tar.gz
force_dirty:
- orion-decision
2 changes: 1 addition & 1 deletion services/ci-py-39-osx/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e -x
retry () { i=0; while [ $i -lt 9 ]; do if "$@"; then return; else sleep 30; fi; i="${i+1}"; done; "$@"; }
retry_curl () { curl -sSL --connect-timeout 25 --fail --retry 5 "$@"; }

retry brew install --force-bottle openssl@1.1 python@3.9
retry brew install --force-bottle openssl@3 python@3.9
# shellcheck disable=SC2016
sed -i '' 's,export PATH=\\",&${HOMEBREW_PREFIX}/opt/python@3.9/libexec/bin:${HOMEBREW_PREFIX}/opt/python@3.9/bin:${HOMEBREW_PREFIX}/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/bin:,' homebrew/Library/Homebrew/cmd/shellenv.sh
PATH="$HOMEBREW_PREFIX/opt/python@3.9/libexec/bin:$HOMEBREW_PREFIX/opt/python@3.9/bin:$HOMEBREW_PREFIX/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/bin:$PATH"
Expand Down
2 changes: 1 addition & 1 deletion services/grizzly-macos/service.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: grizzly-macos
type: homebrew
base: https://github.com/Homebrew/brew/archive/refs/tags/3.6.11.tar.gz
base: https://github.com/Homebrew/brew/archive/refs/tags/4.0.26.tar.gz
force_dirty:
- fuzzing-decision
9 changes: 4 additions & 5 deletions services/grizzly-macos/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

retry_curl () { curl -sSL --connect-timeout 25 --fail --retry 5 "$@"; }

brew install --force-bottle openssl@1.1 python@3.9
brew install --force-bottle openssl@3 python@3.9
chmod +w "$HOMEBREW_PREFIX/lib/python3.9/site-packages"
# shellcheck disable=SC2016
sed -i '' 's,export PATH=\\",&${HOMEBREW_PREFIX}/opt/python@3.9/libexec/bin:${HOMEBREW_PREFIX}/opt/python@3.9/bin:${HOMEBREW_PREFIX}/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/bin:,' "$HOMEBREW_PREFIX/Library/Homebrew/cmd/shellenv.sh"
Expand All @@ -13,11 +13,10 @@ brew install --force-bottle p7zip zstd
brew install --force-bottle fluent-bit
brew install --force-bottle apr-util gettext subversion

brew install --force-bottle node@14
brew install --force-bottle node@16
# shellcheck disable=SC2016
sed -i '' 's,export PATH=\\",&${HOMEBREW_PREFIX}/opt/node@14/bin:,' "$HOMEBREW_PREFIX/Library/Homebrew/cmd/shellenv.sh"
PATH="$HOMEBREW_PREFIX/opt/node@14/bin:$PATH"
retry_curl https://www.npmjs.com/install.sh | npm_install="7.24.2" sh
sed -i '' 's,export PATH=\\",&${HOMEBREW_PREFIX}/opt/node@16/bin:,' "$HOMEBREW_PREFIX/Library/Homebrew/cmd/shellenv.sh"
PATH="$HOMEBREW_PREFIX/opt/node@16/bin:$PATH"

# configure pip
mkdir -p pip
Expand Down

0 comments on commit b27e8c6

Please sign in to comment.