Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build always shows as unknown in self-hosted #3165

Closed
andrea-berling opened this issue Jun 25, 2024 · 4 comments
Closed

Build always shows as unknown in self-hosted #3165

andrea-berling opened this issue Jun 25, 2024 · 4 comments
Labels

Comments

@andrea-berling
Copy link

andrea-berling commented Jun 25, 2024

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

Steps to Reproduce

  1. Go to https://hub.docker.com/layers/getsentry/sentry/24.5.1/images/sha256-4c6e8885468559da05839b9f4034dcd80eaed6c67a7787f02b0e0fde08a422b4?context=explore
  2. Check out the value of SENTRY_BUILD at 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:
image

Product Area

Footer

Link

No response

DSN

No response

Version

24.5.1

@getsantry
Copy link

getsantry bot commented Jun 25, 2024

Assigning to @getsentry/support for routing ⏲️

@ReneGreen27 ReneGreen27 transferred this issue from getsentry/sentry Jun 25, 2024
@aldy505
Copy link
Collaborator

aldy505 commented Jun 26, 2024

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

@getsantry
Copy link

getsantry bot commented Jul 17, 2024

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 🥀

@getsantry getsantry bot added the Stale label Jul 17, 2024
@getsantry getsantry bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 11, 2024
@joshuarli
Copy link
Member

getsentry/sentry#76139

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Archived in project
Archived in project
Development

No branches or pull requests

3 participants