Skip to content

Commit

Permalink
fix(sentry): Remove unused workflow/Fix sentry flow #1341
Browse files Browse the repository at this point in the history
  • Loading branch information
adonispuente authored Jan 14, 2025
1 parent 574d02e commit c945112
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 82 deletions.
58 changes: 0 additions & 58 deletions .github/workflows/sentry.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,3 @@ jobs:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
run: npm run build --if-present

- name: Create a Sentry.io release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
tagName: ${{ github.event.inputs.commit_hash }}
releaseNamePrefix: advisor
environment: master
sourcemaps: 'dist/sourcemaps'
24 changes: 12 additions & 12 deletions fec.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ module.exports = {
authToken: process.env.SENTRY_AUTH_TOKEN,
org: 'red-hat-it',
project: 'advisor-rhel',
_experiments: {
moduleMetadata: ({ release }) => ({
dsn: 'https://[email protected]/4505397435367424',
release,
}),
},
moduleMetadata: ({ release }) => ({
dsn: 'https://[email protected]/4505397435367424',
release,
org: 'red-hat-it',
project: 'advisor-rhel',
}),
}),
]
: [
// Justs injects the debug ids
sentryWebpackPlugin({
org: 'red-hat-it',
project: 'advisor-rhel',
_experiments: {
moduleMetadata: ({ release }) => ({
dsn: 'https://[email protected]/4505397435367424',
release,
}),
},
moduleMetadata: ({ release }) => ({
dsn: 'https://[email protected]/4505397435367424',
release,
org: 'red-hat-it',
project: 'advisor-rhel',
}),
}),
]),
],
Expand Down

0 comments on commit c945112

Please sign in to comment.