Skip to content

Commit

Permalink
Change sentry to self-hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Dec 1, 2024
1 parent c7a2654 commit 47baedf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/actions/build_android/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ runs:
SENTRY_ORG: ${{ inputs.sentry-org }}
SENTRY_PROJECT: ${{ inputs.sentry-project }}
SENTRY_DSN: ${{ inputs.sentry-dsn }}
#SENTRY_URL: ${{ inputs.sentry-url }}
SENTRY_URL: ${{ inputs.sentry-url }}
- name: Build AppBundle
if: inputs.build-mode == 'bundle'
shell: bash
Expand All @@ -69,8 +69,7 @@ runs:
SENTRY_ORG: ${{ inputs.sentry-org }}
SENTRY_PROJECT: ${{ inputs.sentry-project }}
SENTRY_DSN: ${{ inputs.sentry-dsn }}

#SENTRY_URL: ${{ inputs.sentry-url }}
SENTRY_URL: ${{ inputs.sentry-url }}
- name: list dependencies
shell: bash
run: cd android && ./gradlew app:dependencies --configuration releaseCompileClasspath
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
sentry-project: ${{ secrets.SENTRY_PROJECT }}
sentry-dsn: ${{ secrets.SENTRY_DSN }}
build-mode: ${{ matrix.build }}
#sentry-url: ${{ secrets.SENTRY_URL }}
sentry-url: ${{ secrets.SENTRY_URL }}
- name: Build IOS / Upload Beta
if: github.event_name == 'push' && matrix.build != 'apk'
run: bash ${GITHUB_WORKSPACE}/Scripts/fastlane.sh
Expand All @@ -68,7 +68,7 @@ jobs:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
#SENTRY_URL: ${{ secrets.SENTRY_URL }}
SENTRY_URL: ${{ secrets.SENTRY_URL }}
- name: Upload Dart/Flutter debug symbols
run: dart pub global activate sentry_dart_plugin && dart pub global run sentry_dart_plugin
if: github.event_name == 'push'
Expand All @@ -77,6 +77,6 @@ jobs:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
#SENTRY_URL: ${{ secrets.SENTRY_URL }}
SENTRY_URL: ${{ secrets.SENTRY_URL }}
SENTRY_RELEASE: ${{ steps.version.outputs.version }}
SENTRY_DIST: ${{ steps.version.outputs.build-number }}
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ sentry {

// The url of your Sentry instance. If you're using SAAS (not self hosting) you do not have to
// set this. If you are self hosting you can set your URL here
//url = System.getenv("SENTRY_URL")
url = System.getenv("SENTRY_URL")

// Disables or enables the handling of Proguard mapping for Sentry.
// If enabled the plugin will generate a UUID and will take care of
Expand Down
2 changes: 1 addition & 1 deletion ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ platform :ios do
auth_token: ENV['SENTRY_AUTH_TOKEN'],
org_slug: ENV['SENTRY_ORG'],
project_slug: ENV['SENTRY_PROJECT'],
#url: ENV['SENTRY_URL'],
url: ENV['SENTRY_URL'],
include_sources: true, # Optional. For source context.
)
end
Expand Down

0 comments on commit 47baedf

Please sign in to comment.