From be1b72e0c5e31598b6005b8102a89c8b4dcb31d3 Mon Sep 17 00:00:00 2001 From: Eism Date: Tue, 3 Sep 2024 12:07:36 +0200 Subject: [PATCH] updated server to sentry.dev.mu.se --- .github/workflows/build_linux.yml | 12 +++++----- .github/workflows/build_linux_arm.yml | 34 +++++++++++++++++---------- .github/workflows/build_macos.yml | 12 +++++----- .github/workflows/build_windows.yml | 12 +++++----- 4 files changed, 40 insertions(+), 30 deletions(-) diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index 5bbbf4c17d29b..8584edcda4630 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -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 }} @@ -121,14 +121,14 @@ 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 @@ -136,9 +136,9 @@ jobs: 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 diff --git a/.github/workflows/build_linux_arm.yml b/.github/workflows/build_linux_arm.yml index 7d3ed7a6e570d..1a1e2832d761b 100644 --- a/.github/workflows/build_linux_arm.yml +++ b/.github/workflows/build_linux_arm.yml @@ -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 }} @@ -118,14 +118,14 @@ 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 @@ -133,9 +133,9 @@ jobs: 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 @@ -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 diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml index 76f360cd76f0d..1e67dcb61ad80 100644 --- a/.github/workflows/build_macos.yml +++ b/.github/workflows/build_macos.yml @@ -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 }} @@ -135,14 +135,14 @@ 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 @@ -150,9 +150,9 @@ jobs: 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 diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index ba370e81c4a44..6d8ddb88d0e54 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -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 }} @@ -130,14 +130,14 @@ 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 @@ -145,9 +145,9 @@ jobs: 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