Skip to content
Merged
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
10 changes: 10 additions & 0 deletions .github/actions/setup-sentry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,21 @@ runs:
run: |
sentry init

# Prevent git from spawning background gc/maintenance processes during
# dependency clones, which races with shutil.copytree (git 2.54 regression).
git config --global gc.auto 0
git config --global maintenance.auto 0
git config --global fetch.writeCommitGraph false

# This is necessary to bring up devservices with appropriate sentry config
cd "$WORKDIR"

timeout "${DEVSERVICES_TIMEOUT}m" devservices up --mode "$DEVSERVICES_MODE"

git config --global --unset gc.auto
git config --global --unset maintenance.auto
git config --global --unset fetch.writeCommitGraph

# have tests listen on the docker gateway ip so loopback can occur
echo "DJANGO_LIVE_TEST_SERVER_ADDRESS=$(docker network inspect bridge --format='{{(index .IPAM.Config 0).Gateway}}')" >> "$GITHUB_ENV"

Expand Down
Loading