Comments (6)
Hi guys, for those who still have problems with this, I found in the sentry-cli documentation that it is necessary to add the repository in the github integration. It seams like sentry need to get access to the specific repository for get the commits diff from the previous release.
Also you can specify the code mapping for your source-maps in the same place.
from action-release.
Thanks for your help, I've noticed that the configuration for sentry wasn't correct.
I had successfully done the mandatory steps:
- declare a repository
- add the integration for github action
For some reason, the integration with github wasn't configured properly. The application was registered and configured properly on github side but not listed as installed on sentry side. I've unregistered the application on github and then added the github
integration on sentry.
Now the two integrations are listed:
and I'm finally able to collect commit info when publishing a new release.
from action-release.
Hello, everyone. I was having this same issue with a private repository of mine, where Sentry was pushing releases with the Github Action where 20+ commits would be associated with a single commit SHA and the next commit would be empty. I found that this issue was directly caused by using tags instead of SHAs for releases. If you use tags for releases, passing version: ${{ github.ref }}
as an input to the release action should fix this problem. Default behavior is to use ${{ github.sha }}
.
from action-release.
+1
from action-release.
Same issue as described above.
from action-release.
For future reference, this was filed using version 1.6 of this action:
Currently, the sentry-cli
version in use is 1.67.2
Line 28 in 426b547
Lines 555 to 557 in 426b547
Which was updated in July 2021 which was before this issue was filed.
It would be ideal to have an option to enable debug logging on CI. You can reproduce locally if you have sentry-cli
installed on your host and you checkout the same branch:
SENTRY_AUTH_TOKEN= sentry-cli releases --log-level debug set-commits --org <sentry_slug_org> --auto
I'm using the same set up as per @duhlin I have been able to create releases with commits.
I have verified that I do not have code mappings for my sentry-github-actions-app
repo (as per mentioned by @alvarorc ).
@duhlin do you still face this issue?
from action-release.
Related Issues (20)
- Wrong commit selection HOT 2
- GHA actions are uploading source maps with dist="null" (string) HOT 4
- Warning when using "dist" as parameter HOT 3
- New release checklist for 1.4.0 (maintainers only). HOT 1
- Run linting and tests as part of the CI
- New release checklist for 1.4.1
- Prepare knowledge transfer for Sentry Release Github Action HOT 1
- Allow space-separated multiple url_prefix
- Upload artifact bundles instead of release bundles HOT 2
- 'strip_common_prefix' removing too much HOT 2
- "Sentry not part of build pipeline" when using action for source maps HOT 3
- Option to inject source maps as well as upload HOT 3
- Workflow environment variables are ignored HOT 2
- Unable to create a release HOT 5
- Update CLI version in Github Actions
- Warning: "Unexpected input(s) 'dist'" HOT 1
- Error during execution: repository path '/github/workspace/' is not owned by current user HOT 11
- error: repository path '/github/workspace/' is not owned by current user HOT 1
- Add macOS runner support
- Could not automatically determine release name HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action-release.