Repository navigation
ci: provide arm64 image build - #83907
Conversation
Based on the Sentry-ARM commit: getsentry@0572d2f Co-authored-by: Vita Chumakova <[email protected]>
|
Ping so this won't get lost @hubertdeng123 @BYK @bc-sentry |
|
Since we are exclusively on Docker Compose 2 now, I think we should use this as an opportunity to get rid of And guessing for |
bc-sentry
left a comment
There was a problem hiding this comment.
@aldy505 While arm64 runners are in beta, the global pool of runners is severely constrained and will result in job queuing. We would like to wait to add the arm64 image until runners is prod and sufficient capacity exists. Thanks.
slightly easier patch woudl be to install them from apt instead of curl anyway |
|
@aldy505 While arm64 runners are in beta, the global pool of runners is severely constrained and will result in job queuing. We would like to wait to add the arm64 image until runners is prod and sufficient capacity exists. Thanks. |
| - run: docker login --username '${{ github.actor }}' --password-stdin ghcr.io <<< "$GHCR_TOKEN" | ||
| env: | ||
| GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| if: github.event_name != 'pull_request' | ||
| - run: docker login --username '${{ github.actor }}' --password '${{ github.token }}' ghcr.io | ||
| if: github.ref_name == 'master' && github.event_name != 'pull_request' |
There was a problem hiding this comment.
don't change things that are unnecessary to change. for instance this is worse than before since the password ends up in pslogs and you get a new warning
| publish-dockerhub: | ||
| needs: [assemble] | ||
| runs-on: ubuntu-latest | ||
| if: ${{ (github.ref_name == 'master') }} |
There was a problem hiding this comment.
No need, the assemble itself already has this guard:
if: ${{ github.ref_name == 'master' && github.event_name != 'pull_request' }}There was a problem hiding this comment.
Err, no please. Either have it full or none. No in between stuff.
BYK
left a comment
There was a problem hiding this comment.
Have 2 questions, other than that this looks good!
We should probably extract the cross-arch build stuff into its own action as we keep repeating the same pattern across repos at this point.
| && chmod +x /usr/local/bin/tini \ | ||
| && apt-get purge -y --auto-remove $buildDeps | ||
|
|
||
| SHELL ["/bin/sh", "-c"] |
There was a problem hiding this comment.
This was taken from here master...Sentry-ARM:sentry:arm64
cc @ezhevita
There was a problem hiding this comment.
No, it's not necessary, I've added this to restore the default shell just to be safe, in practice there should be no behavioural differences and you should be able to run the rest of the dockerfile in bash
Very old review. Will revert or limit if arm64 runners become and issue.
In order to make #83907 works, we met a failing PR caused by rspack. The issue is here (web-infra-dev/rspack#10118), and it's fixed since 1.3.11. I'm bumping it to 1.3.15 just to make it as latest as possible. ### Legal Boilerplate Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
|
|
||
| jobs: | ||
| self-hosted: | ||
| runs-on: ubuntu-latest |
There was a problem hiding this comment.
I believe this change is causing ci builds to fail for the 25.6.0 release:
https://github.com/getsentry/publish/actions/runs/15688973336/job/44199206790
In order to make #83907 works, we met a failing PR caused by rspack. The issue is here (web-infra-dev/rspack#10118), and it's fixed since 1.3.11. I'm bumping it to 1.3.15 just to make it as latest as possible. ### Legal Boilerplate Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
Effort for getsentry/self-hosted#1585 See the GHA results here: https://github.com/getsentry/sentry/actions/runs/12928078209?pr=83907 ### Legal Boilerplate Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. --------- Co-authored-by: Vita Chumakova <[email protected]> Co-authored-by: Burak Yigit Kaya <[email protected]>
Follow up to #83907
Effort for getsentry/self-hosted#1585
See the GHA results here: https://github.com/getsentry/sentry/actions/runs/12928078209?pr=83907
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.