TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Are you interested in a ARM CI service?

10 pointsby slyzmudabout 8 years ago
Some time ago I bought a Raspberry Pi and started using it for my hobby projects. The problem was that my normal workflow is: code something in my PC, push it to GitHub, and test it with Travis (and build a docker image with DockerHub). The problem is this solution doesn&#x27;t work well when targeting ARM. DockerHub does not compile ARM projects and Travis runs in x86.<p>After searching a lot I found that my best option was using a self-hosted CI, but Jenkins, the one I know best, is not an option because of the lack of memory in the Raspberry. So what I did was to create my own CI server in Golang that could run with really low memory usage and I thought it might be very useful for other people. I would relly love to offer it as a service or make it open source.<p>Would you be interested in a project like this?

5 comments

kijikiabout 8 years ago
On x86-64 Debian hosts you can install binfmt-support an qemu-user-static packages. You&#x27;ll need to copy the qemu-armeb-static binary inside the container image.<p>Then you just build inside a container normally, and the kernel will run the ARM binaries inside qemu-user, translating the ARM system calls to x86-64.<p>If you don&#x27;t control the host (ie, someone else&#x27;s hosted CI service), you can do some sleazy hacks documented here: <a href="https:&#x2F;&#x2F;resin.io&#x2F;blog&#x2F;building-arm-containers-on-any-x86-machine-even-dockerhub&#x2F;" rel="nofollow">https:&#x2F;&#x2F;resin.io&#x2F;blog&#x2F;building-arm-containers-on-any-x86-mac...</a><p>I&#x27;ve been meaning to try copying a cross-compiler and cross-binutil into the container, to make things faster (no need to binary-translate ARM gcc&#x2F;ld to x86-64), but without statically linking the compiler&#x2F;binutils, it turns into a library nightmare. In theory this should be possible with multi-arch, but I haven&#x27;t invested the time to try to make it go yet.
abeyerabout 8 years ago
If you&#x27;re at all serious about doing dev work on arm for non-micro&#x2F;embedded systems, you should probably look at: <a href="https:&#x2F;&#x2F;softiron.com&#x2F;products&#x2F;overdrive-1000&#x2F;technical-specifications&#x2F;" rel="nofollow">https:&#x2F;&#x2F;softiron.com&#x2F;products&#x2F;overdrive-1000&#x2F;technical-speci...</a>
billconanabout 8 years ago
I would use an arm virtual machine and still use jenkins.<p>Or get a beefier arm platform, such as the nvidia ones.<p>implementing from scratch is too much effort.
评论 #13824660 未加载
rurbanabout 8 years ago
Open sourcing sounds good. Offering a service without big beefs behind sounds suicidal. There a lot of big companies with big arm servers, who could offer that as gitlab&#x2F;GitHub CI integration. Problem is the SW maintanance for them.
sherazabout 8 years ago
Share the link! I&#x27;m building a list of all the commercial and open-source CI systems&#x2F;SaaS&#x2F;OpenSource projects out there.
评论 #13834768 未加载