self-hosted
self-hosted copied to clipboard
Build always shows as unknown in self-hosted
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Steps to Reproduce
- Go to https://hub.docker.com/layers/getsentry/sentry/24.5.1/images/sha256-4c6e8885468559da05839b9f4034dcd80eaed6c67a7787f02b0e0fde08a422b4?context=explore
- Check out the value of
SENTRY_BUILDat line 46
Expected Result
SENTRY_BUILD should point to the commit sha that was checked out when the Docker image was built
Actual Result
SENTRY_BUILD is set to unknown, indicating that the proper build argument (SOURCE_COMMIT) was not provided when the image was built. Compare with Dockerfile, ARG SOURCE_COMMIT. As a result, this is what is shown in the footer:
Product Area
Footer
Link
No response
DSN
No response
Version
24.5.1
Assigning to @getsentry/support for routing ⏲️
It's a known issue, but it doesn't impact anything though. The commit sha should be there. https://github.com/getsentry/sentry/blob/5f49d2a6ef0e41c57c0229d7125d8ab42571db29/static/app/components/footer.tsx#L39-L48
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
https://github.com/getsentry/sentry/pull/76139