Skip to content

Commit

Permalink
upload files to sentry
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <[email protected]>
  • Loading branch information
cre8 committed Jul 3, 2024
1 parent e2d1191 commit cc83cd5
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
run: cd deploys/keycloak && docker-compose build keycloak && docker-compose push keycloak

- name: Build and push images
run: INPUT_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} INPUT_PUSH=true pnpm exec nx affected -t container
run: INPUT_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} INPUT_PUSH=true pnpm exec nx affected -t container sentry
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ Thumbs.db
.nx/cache
.nx/workspace-data
.angular

# Sentry Config File
.sentryclirc
5 changes: 5 additions & 0 deletions apps/holder-app/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"polyfills": ["zone.js"],
"tsConfig": "apps/holder-app/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"sourceMap": true,
"assets": [
"apps/holder-app/src/favicon.ico",
"apps/holder-app/src/assets",
Expand Down Expand Up @@ -100,6 +101,10 @@
"tags": ["latest"]
}
}
},
"sentry": {
"dependsOn": ["build"],
"command": "sentry-cli sourcemaps inject --org credhub --project pwa ./dist/apps/holder-app/browser && sentry-cli sourcemaps upload --org credhub --project pwa ./dist/apps/holder-app/browser"
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
],
"description": "A monorepo including multiple apps for SSI",
"author": "Mirko Mollik <[email protected]>",
"scripts": {},
"engines": {
"node": ">=18",
"pnpm": "=8"
Expand Down Expand Up @@ -103,6 +102,7 @@
"@sd-jwt/sd-jwt-vc": "^0.7.1",
"@sd-jwt/types": "^0.7.1",
"@sentry/angular": "^8.13.0",
"@sentry/cli": "^2.32.1",
"@simplewebauthn/browser": "^10.0.0",
"@simplewebauthn/server": "^10.0.0",
"@sphereon/did-auth-siop": "^0.6.4",
Expand Down
94 changes: 94 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cc83cd5

Please sign in to comment.