Skip to content

Commit

Permalink
updated server to sentry.dev.mu.se
Browse files Browse the repository at this point in the history
  • Loading branch information
Eism committed Sep 3, 2024
1 parent 9e85b91 commit be1b72e
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 30 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
- name: "Configure workflow"
env:
pull_request_title: ${{ github.event.pull_request.title }}
SENTRY_SERVER_MU4_KEY: ${{ secrets.SENTRY_SERVER_MU4_KEY }}
SENTRY_SERVER_SANDBOX_KEY: ${{ secrets.SENTRY_SERVER_SANDBOX_KEY }}
SENTRY_MUSE_SERVER_MU4_KEY: ${{ secrets.SENTRY_MUSE_SERVER_MU4_KEY }}
SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY: ${{ secrets.SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY }}
SENTRY_PROJECT: ${{ inputs.sentry_project }}
run: |
sudo bash ./buildscripts/ci/tools/make_build_mode_env.sh -e ${{ github.event_name }} -m ${{ inputs.build_mode }}
Expand Down Expand Up @@ -121,24 +121,24 @@ jobs:
DO_UPLOAD_SYMBOLS='false'
SENTRY_URL=""
if [ "$SENTRY_SERVER_MU4_KEY" != "" ]; then
if [ "$SENTRY_MUSE_SERVER_MU4_KEY" != "" ]; then
if [ -z "$SENTRY_PROJECT" ] && [ "$BUILD_MODE" == "stable" ]; then
SENTRY_PROJECT="mu4"
fi
if [ "$SENTRY_PROJECT" == "mu4" ]; then
DO_UPLOAD_SYMBOLS='true'
SENTRY_URL=https://sentry.musescore.org/api/4/minidump/?sentry_key=$SENTRY_SERVER_MU4_KEY
SENTRY_URL=https://sentry.dev.mu.se/api/4/minidump/?sentry_key=$SENTRY_MUSE_SERVER_MU4_KEY
fi
fi
if [ -z "$SENTRY_PROJECT" ] && [ "$BUILD_MODE" == "nightly" ]; then
SENTRY_PROJECT="sandbox"
fi
if [ "$SENTRY_PROJECT" == "sandbox" ] && [ "$SENTRY_SERVER_SANDBOX_KEY" != "" ]; then
if [ "$SENTRY_PROJECT" == "sandbox" ] && [ "$SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY" != "" ]; then
DO_UPLOAD_SYMBOLS='true'
SENTRY_URL=https://sentry.musescore.org/api/3/minidump/?sentry_key=$SENTRY_SERVER_SANDBOX_KEY
SENTRY_URL=https://sentry.dev.mu.se/api/5/minidump/?sentry_key=$SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY
fi
if [ $DO_BUILD == 'false' ]; then
Expand Down
34 changes: 22 additions & 12 deletions .github/workflows/build_linux_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ jobs:
- name: "Configure workflow"
env:
pull_request_title: ${{ github.event.pull_request.title }}
SENTRY_SERVER_MU4_KEY: ${{ secrets.SENTRY_SERVER_MU4_KEY }}
SENTRY_SERVER_SANDBOX_KEY: ${{ secrets.SENTRY_SERVER_SANDBOX_KEY }}
SENTRY_MUSE_SERVER_MU4_KEY: ${{ secrets.SENTRY_MUSE_SERVER_MU4_KEY }}
SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY: ${{ secrets.SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY }}
SENTRY_PROJECT: ${{ inputs.sentry_project }}
run: |
sudo bash ./buildscripts/ci/tools/make_build_mode_env.sh -e ${{ github.event_name }} -m ${{ inputs.build_mode }}
Expand Down Expand Up @@ -118,24 +118,24 @@ jobs:
DO_UPLOAD_SYMBOLS='false'
SENTRY_URL=""
if [ "$SENTRY_SERVER_MU4_KEY" != "" ]; then
if [ "$SENTRY_MUSE_SERVER_MU4_KEY" != "" ]; then
if [ -z "$SENTRY_PROJECT" ] && [ "$BUILD_MODE" == "stable" ]; then
SENTRY_PROJECT="mu4"
fi
if [ "$SENTRY_PROJECT" == "mu4" ]; then
DO_UPLOAD_SYMBOLS='true'
SENTRY_URL=https://sentry.musescore.org/api/4/minidump/?sentry_key=$SENTRY_SERVER_MU4_KEY
SENTRY_URL=https://sentry.dev.mu.se/api/4/minidump/?sentry_key=$SENTRY_MUSE_SERVER_MU4_KEY
fi
fi
if [ -z "$SENTRY_PROJECT" ] && [ "$BUILD_MODE" == "nightly" ]; then
SENTRY_PROJECT="sandbox"
fi
if [ "$SENTRY_PROJECT" == "sandbox" ] && [ "$SENTRY_SERVER_SANDBOX_KEY" != "" ]; then
if [ "$SENTRY_PROJECT" == "sandbox" ] && [ "$SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY" != "" ]; then
DO_UPLOAD_SYMBOLS='true'
SENTRY_URL=https://sentry.musescore.org/api/3/minidump/?sentry_key=$SENTRY_SERVER_SANDBOX_KEY
SENTRY_URL=https://sentry.dev.mu.se/api/5/minidump/?sentry_key=$SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY
fi
if [ $DO_BUILD == 'false' ]; then
Expand Down Expand Up @@ -255,16 +255,26 @@ jobs:
fi
DO_UPLOAD_SYMBOLS='false'
SENTRY_PROJECT=${{ inputs.sentry_project }}
SENTRY_URL=""
if [ "$SENTRY_PROJECT" == "editor" ] && [ ${{ secrets.SENTRY_SERVER_MU3_KEY }} != 0 ]; then
DO_UPLOAD_SYMBOLS='true'
SENTRY_URL=https://sentry.musescore.org/api/2/minidump/?sentry_key=${{ secrets.SENTRY_SERVER_MU3_KEY }}
if [ "$SENTRY_MUSE_SERVER_MU4_KEY" != "" ]; then
if [ -z "$SENTRY_PROJECT" ] && [ "$BUILD_MODE" == "stable" ]; then
SENTRY_PROJECT="mu4"
fi
if [ "$SENTRY_PROJECT" == "mu4" ]; then
DO_UPLOAD_SYMBOLS='true'
SENTRY_URL=https://sentry.dev.mu.se/api/4/minidump/?sentry_key=$SENTRY_MUSE_SERVER_MU4_KEY
fi
fi
if [ -z "$SENTRY_PROJECT" ] && [ "$BUILD_MODE" == "nightly" ]; then
SENTRY_PROJECT="sandbox"
fi
if [ "$SENTRY_PROJECT" == "sandbox" ] && [ ${{ secrets.SENTRY_SERVER_SANDBOX_KEY }} != 0 ]; then
if [ "$SENTRY_PROJECT" == "sandbox" ] && [ "$SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY" != "" ]; then
DO_UPLOAD_SYMBOLS='true'
SENTRY_URL=https://sentry.musescore.org/api/3/minidump/?sentry_key=${{ secrets.SENTRY_SERVER_SANDBOX_KEY }}
SENTRY_URL=https://sentry.dev.mu.se/api/5/minidump/?sentry_key=$SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY
fi
if [ $DO_BUILD == 'false' ]; then
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ jobs:
- name: "Configure workflow"
env:
pull_request_title: ${{ github.event.pull_request.title }}
SENTRY_SERVER_MU4_KEY: ${{ secrets.SENTRY_SERVER_MU4_KEY }}
SENTRY_SERVER_SANDBOX_KEY: ${{ secrets.SENTRY_SERVER_SANDBOX_KEY }}
SENTRY_MUSE_SERVER_MU4_KEY: ${{ secrets.SENTRY_MUSE_SERVER_MU4_KEY }}
SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY: ${{ secrets.SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY }}
SENTRY_PROJECT: ${{ inputs.sentry_project }}
run: |
bash ./buildscripts/ci/tools/make_build_mode_env.sh -e ${{ github.event_name }} -m ${{ inputs.build_mode }}
Expand Down Expand Up @@ -135,24 +135,24 @@ jobs:
DO_UPLOAD_SYMBOLS='false'
SENTRY_URL=""
if [ "$SENTRY_SERVER_MU4_KEY" != "" ]; then
if [ "$SENTRY_MUSE_SERVER_MU4_KEY" != "" ]; then
if [ -z "$SENTRY_PROJECT" ] && [ "$BUILD_MODE" == "stable" ]; then
SENTRY_PROJECT="mu4"
fi
if [ "$SENTRY_PROJECT" == "mu4" ]; then
DO_UPLOAD_SYMBOLS='true'
SENTRY_URL=https://sentry.musescore.org/api/4/minidump/?sentry_key=$SENTRY_SERVER_MU4_KEY
SENTRY_URL=https://sentry.dev.mu.se/api/4/minidump/?sentry_key=$SENTRY_MUSE_SERVER_MU4_KEY
fi
fi
if [ -z "$SENTRY_PROJECT" ] && [ "$BUILD_MODE" == "nightly" ]; then
SENTRY_PROJECT="sandbox"
fi
if [ "$SENTRY_PROJECT" == "sandbox" ] && [ "$SENTRY_SERVER_SANDBOX_KEY" != "" ]; then
if [ "$SENTRY_PROJECT" == "sandbox" ] && [ "$SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY" != "" ]; then
DO_UPLOAD_SYMBOLS='true'
SENTRY_URL=https://sentry.musescore.org/api/3/minidump/?sentry_key=$SENTRY_SERVER_SANDBOX_KEY
SENTRY_URL=https://sentry.dev.mu.se/api/5/minidump/?sentry_key=$SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY
fi
if [ $DO_BUILD == 'false' ]; then
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ jobs:
shell: bash
env:
pull_request_title: ${{ github.event.pull_request.title }}
SENTRY_SERVER_MU4_KEY: ${{ secrets.SENTRY_SERVER_MU4_KEY }}
SENTRY_SERVER_SANDBOX_KEY: ${{ secrets.SENTRY_SERVER_SANDBOX_KEY }}
SENTRY_MUSE_SERVER_MU4_KEY: ${{ secrets.SENTRY_MUSE_SERVER_MU4_KEY }}
SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY: ${{ secrets.SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY }}
SENTRY_PROJECT: ${{ inputs.sentry_project }}
run: |
bash ./buildscripts/ci/tools/make_build_mode_env.sh -e ${{ github.event_name }} -m ${{ inputs.build_mode }}
Expand Down Expand Up @@ -130,24 +130,24 @@ jobs:
DO_UPLOAD_SYMBOLS='false'
SENTRY_URL=""
if [ "$SENTRY_SERVER_MU4_KEY" != "" ]; then
if [ "$SENTRY_MUSE_SERVER_MU4_KEY" != "" ]; then
if [ -z "$SENTRY_PROJECT" ] && [ "$BUILD_MODE" == "stable" ]; then
SENTRY_PROJECT="mu4"
fi
if [ "$SENTRY_PROJECT" == "mu4" ]; then
DO_UPLOAD_SYMBOLS='true'
SENTRY_URL=https://sentry.musescore.org/api/4/minidump/?sentry_key=$SENTRY_SERVER_MU4_KEY
SENTRY_URL=https://sentry.dev.mu.se/api/4/minidump/?sentry_key=$SENTRY_MUSE_SERVER_MU4_KEY
fi
fi
if [ -z "$SENTRY_PROJECT" ] && [ "$BUILD_MODE" == "nightly" ]; then
SENTRY_PROJECT="sandbox"
fi
if [ "$SENTRY_PROJECT" == "sandbox" ] && [ "$SENTRY_SERVER_SANDBOX_KEY" != "" ]; then
if [ "$SENTRY_PROJECT" == "sandbox" ] && [ "$SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY" != "" ]; then
DO_UPLOAD_SYMBOLS='true'
SENTRY_URL=https://sentry.musescore.org/api/3/minidump/?sentry_key=$SENTRY_SERVER_SANDBOX_KEY
SENTRY_URL=https://sentry.dev.mu.se/api/5/minidump/?sentry_key=$SENTRY_MUSE_SERVER_MU4_SANDBOX_KEY
fi
if [ $DO_BUILD == 'false' ]; then
Expand Down

0 comments on commit be1b72e

Please sign in to comment.