Conversation
|
@acasajus @cquintana92 @nguyenkims can someone review this? It resolves #1566 (comment) |
|
We disabled the arm builds because there were some dependencies that were making the tests really flaky and that failed the production deployments. As soon as we fix those dependencies we will enable arm back. |
Any progress on this? If you told us which dependencies were making which test flaky we might be able to help out. I haven't noticed any flakiness in my testing. |
|
I've just sync'd my fork to the latest code, updated the workflow to mirror the latest in Here's the latest arm64 image - https://registry.hub.docker.com/r/martadams89/sl-app |
@martadams89 Unfortunately this latest build does not seem to work for me. The database migration service fails with errors in the log of: If I disable the migration service, simplelogin-init fails with a single error in the log of:
I notice that the file sizes of both the AMD and ARM builds are the same on your docker hub which might mean they have not built correctly? |
Looks like something in the move to rye causes the arm64 images to fall over. I've created a branch/tag of 4.62.0 where arm64 still seems compatible. https://hub.docker.com/repository/docker/martadams89/sl-app/tags/v4-62-0/sha256:74286061a6eaca8163a6c5de2ae49686971ee52f5d05514989bea9d2357f4d99 |
@martadams89 I have just pulled your 4.62.0 branch and can confirm everything works as normal again on that branch. Hopefully you can resolve the rye dependency. |
|
@ctrl-i I found that amd64 was hardcoded in the Dockerfile and the build workflow was using the rye action with a hardcoded checksum. I've adjusted the Dockerfile to be image agnostic, and to download the correct version of rye based upon the my I'd appreciate If @acasajus or another maintainer could review and merge these changes back into the |
|
@martadams89 I tried the new build but I am still getting the 'exec format error' and had to revert again to your 4.62.0 build. The new builds are 300Mb smaller than the old ones... are all the dependencies getting included? |
|
@ctrl-i I've just double checked here and I'm using my you may need to pin to the sha or delete your containers and prune the image. It looks like the upstream images are smaller, I assume that the switch to rye resulted in smaller image sizes. |
@martadams89 You were right, a quick prune this morning got things moving :) @acasajus @cquintana92 @nguyenkims Can we get this merged now? It has been several months now and @martadams89 has shown there is no real reason to not add the arm64 builds back in. |
|
@ctrl-i looks like upstream moved from rye to uv - I've made the necessary changes in the @acasajus @cquintana92 @nguyenkims can this be merged back? Edit: still working on making these builds complete, will update this comment once confimed. |
|
Hey, thanks for creating the PR. can you fix the conflict? I'll merge afterwards. |
|
After bashing my head on the arm build inconsistency issue, I finally found the cause: actions/runner-images#11471 |
|
@acasajus any movement here? I'm now repeatedly successfully building arm64 images |
|
@acasajus @cquintana92 @nguyenkims Any updates here, can this get merged now? |
|
@martadams89 Are the arm64 builds still being successfully built? Looking at your docker hub the last amd64 build was 3 days ago (at time of writing this) and the last arm64 24 days ago. The last build with both arm64 and amd64 builds available was over a month ago (v4.62.0). |
…match from upstream
|
@ctrl-i I had to update my GitHub actions file to match the recent changes upstream, along with adjusting the I took inspiration from @quietsy's I've merged them changes back into this branch so it should be good to go. |
I can confirm it is building properly and have installed it successfully. |
|
Great job @martadams89 , hope it'll get merged soon. |
|
Any further updates here? @acasajus @cquintana92 @nguyenkims |
|
Great job @martadams89 - I've just found my builds on arm are failing, and found your PR and docker images, and I'm back up to date. |
|
Hello SimpleLogin team, and thank you for maintaining such a vital open-source project! I'm writing to express my strong interest in the return of official ARM/ARM64 Docker builds. My self-hosted instance runs on an energy-efficient ARM server, and the previous multi-arch support was perfect for this kind of setup. I noticed in the community discussions that user @martadams89 has successfully managed to build their own updated ARM64 images, which is amazing. This shows that it's technically feasible to support this architecture with the latest versions. Having this support in the official image would be a game-changer for a large part of the self-hosting community that relies on ARM devices. Is there anything we, the community, can do to help get this officially re-implemented? Would the team be open to reviewing the work from @martadams89 or providing guidance on what would be needed to merge this capability? I'd be more than happy to help test any experimental builds. Thank you! |
|
@luisfalvarez-dev I've tried to get this merged a few times but it seems there's little interest. FWIW I build arm64 images on my fork as soon as new updates are released here. I'd love for it to be officially supported, but until then feel free to use my auto-updating fork. |
|
Also interested in the return of ARM builds. I made my own solution to keep things building when I had to move to simplelogin/app-ci, but did not continue to investigate when builds stopped working due to the changes discussed here. Big respect for Martin, but I would prefer this to be merged and maintained in the main repo |
|
@acasajus @cquintana92 @nguyenkims It's been awhile since I last asked.. but anyone willing to merge this PR yet? |
|
Hi! Thanks for your contribution. A thing I'd like to see changed is to bring back specific is not a practice we want to have on our build systems. Could you please adapt that? Also, the change to |
This PR adds arm64 builds back in.
I forked the repo and tested it against my own and appeared to run as expected.