mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 15:47:20 +02:00
More sentry updates
This commit is contained in:
parent
dc66e92c48
commit
0b36a83cc4
@ -11,7 +11,8 @@ variables:
|
|||||||
minorVersion: $[counter('minorVersion', 2000)]
|
minorVersion: $[counter('minorVersion', 2000)]
|
||||||
radarrVersion: '$(majorVersion).$(minorVersion)'
|
radarrVersion: '$(majorVersion).$(minorVersion)'
|
||||||
buildName: '$(Build.SourceBranchName).$(radarrVersion)'
|
buildName: '$(Build.SourceBranchName).$(radarrVersion)'
|
||||||
sentryOrg: 'radarr'
|
sentryOrg: 'servarr'
|
||||||
|
sentryUrl: 'https://sentry.servarr.com'
|
||||||
dotnetVersion: '3.1.201'
|
dotnetVersion: '3.1.201'
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
@ -277,9 +278,9 @@ stages:
|
|||||||
continueOnError: true
|
continueOnError: true
|
||||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/aphrodite'))
|
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/aphrodite'))
|
||||||
env:
|
env:
|
||||||
SENTRY_AUTH_TOKEN: $(sentryAuthTokenSelfHosted)
|
SENTRY_AUTH_TOKEN: $(sentryAuthTokenServarr)
|
||||||
SENTRY_ORG: $(sentryOrg)
|
SENTRY_ORG: $(sentryOrg)
|
||||||
SENTRY_URL: https://sentry.radarr.video
|
SENTRY_URL: $(sentryUrl)
|
||||||
|
|
||||||
- stage: Unit_Test
|
- stage: Unit_Test
|
||||||
displayName: Unit Tests
|
displayName: Unit Tests
|
||||||
|
@ -80,8 +80,8 @@ export default function createSentryMiddleware() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const dsn = isProduction ? 'https://f4833ba136384acfafc92ddfd1c7bbc9@sentry.radarr.video/4' :
|
const dsn = isProduction ? 'https://b0fb75c38ef4487dbf742f79c4ba62d2@sentry.servarr.com/12' :
|
||||||
'https://019aef70678c484da8a43fe218690300@sentry.radarr.video/7';
|
'https://da610619280249f891ec3ee306906793@sentry.servarr.com/13';
|
||||||
|
|
||||||
sentry.init({
|
sentry.init({
|
||||||
dsn,
|
dsn,
|
||||||
|
Loading…
Reference in New Issue
Block a user