Skip to content

feat: new stripN and ability to download blobs from homebrew #446

feat: new stripN and ability to download blobs from homebrew

feat: new stripN and ability to download blobs from homebrew #446

Workflow file for this run

name: bootstrap
on:
push:
branches:
- main
pull_request:
defaults:
run:
# enable xtrace by default
# use a login shell, to enable ~/.profile
# the default default is:
# bash --noprofile --norc -eo pipefail {0}
shell: bash --login -eo pipefail -x {0}
env:
SHELL: /bin/bash
PYTHONUNBUFFERED: "1"
DEBUG: "1"
jobs:
bootstrap:
runs-on: ubuntu-22.04
timeout-minutes: 60
env:
SENTRY_BRANCH: master
SNTY_DEVENV_BRANCH:
"${{ github.event.pull_request && github.head_ref || github.ref_name }}"
steps:
- uses: actions/checkout@v4
- name: install
run: |
set -u
: should be able to be run from anywhere:
repo=$PWD
mv install-devenv.sh /tmp
cd /tmp
./install-devenv.sh < $repo/ci/install-devenv-checks.sh
- name: bootstrap sentry
run: ./ci/devenv-bootstrap.sh
# macos-14 doesn't support the virtualization needed for colima... yet
bootstrap-macos-13:
# This job takes half an hour and costs a lot of money.
# Let's just run on main commits.
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: macos-13
timeout-minutes: 60
env:
SENTRY_BRANCH: master
SNTY_DEVENV_BRANCH:
"${{ github.event.pull_request && github.head_ref || github.ref_name }}"
steps:
- uses: actions/checkout@v4
- name: remove homebrew
run: |
sudo rm -rf \
/usr/local/var/homebrew \
/usr/local/bin/brew /usr/local/Homebrew /usr/local/Cellar /usr/local/Caskroom \
/usr/local/bin/pydoc* /usr/local/bin/python* /usr/local/bin/2to3* /usr/local/bin/idle3* \
/usr/local/bin/chromedriver
- name: install
run: |
set -u
: should be able to be run from anywhere:
repo=$PWD
mv install-devenv.sh /tmp
cd /tmp
./install-devenv.sh < $repo/ci/install-devenv-checks.sh
- name: bootstrap sentry
run: ./ci/devenv-bootstrap.sh