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

Kamal remote builder #655

Merged
merged 1 commit into from
Mar 25, 2025
Merged

Kamal remote builder #655

merged 1 commit into from
Mar 25, 2025

Conversation

adrienpoly
Copy link
Owner

@adrienpoly adrienpoly commented Mar 25, 2025

inspired by work done by @leonvogt, this PR adds a remote builder for Kamal.

The current Arch for the production VPS is ARM. It is slow and unreliable to build and deploy from the CI that runs on AMD arch. I have an extra VPS on Hetzner on ARM that is setup for KAMAL (has docker installed). This PR setup a remote builder for Kamal using this VPS

From the test I did on a warm cache we should be able to deploy in about 1min30s

CleanShot 2025-03-25 at 08 41 24@2x

@adrienpoly
Copy link
Owner Author

merging it so that we can start using it. @leonvogt, @marcoroth feel free to comment if needed

@adrienpoly adrienpoly merged commit 7591527 into main Mar 25, 2025
3 checks passed
@adrienpoly adrienpoly deleted the remote-builder branch March 25, 2025 07:41
@leonvogt
Copy link

Very nice!
The fastest option I found (~55s) is to use the Hetzner server as a self-hosted runner
CleanShot 2025-03-25 at 20 27 28

But this might be overkill and not needed, since 1min30s is already pretty fast 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants