3 ms·
I realize this isn't about GitHub Actions, but I wish they would get on with different machine sizes for GitHub's own runners[0]. Many huge builds can end up ta
by judge2020 6y ago
I realize this isn't about GitHub Actions, but I wish they would get on with different machine sizes for GitHub's own runners[0]. Many huge builds can end up taking 2x-3x the time on the slow 2 core machine they give you compared to a local high-end CPU.
0: https://github.com/github/roadmap/issues/95 https://github.com/github/roadmap/issues/95
- 0xcoffee 6y agoI feel like this is a common problem with almost all CI/CD offerings. At my company we ended up just installing a local build agent on a powerful pc, and using that for the 'frequent, but not super important' builds, such as building/test for a PR. The builds for acceptance/prod we still do on remote CI/CD, but those happen much more rarely. Also the advantage of a local CI/CD is that it is much easier to setup caching for things like Node Modules, NuGet etc. We use Azure Devops which has a pretty good local CI/CD story, installing an agent was quiet easy for us.
- eganjs 6y agoYou should check out this [0] GitHub action workflow. It uses docker machine to create a high resourced runner on demand in the cloud and then runs the subsequent job on it. The workflow is intended for machine learning but I'm sure it could be adapted. I must disclose that I haven't actually used it myself yet (because I haven't felt the need) but it does look very promising. 0: https://github.com/iterative/cml_cloud_case/blob/master/.github/workflows/cml.yaml https://github.com/iterative/cml_cloud_case/blob/master/.git...
- coolsunglasses 6y agoWith GitLab CI you can task any machine you want to your builds. I've slaved my workstations to my CI builds because they're ~2-5x faster than the AWS hardware most companies use.
- judge2020 6y agoSame for GitHub[0], but i'm specifically talking about the machines they give you. 0: https://docs.github.com/en/free-pro-team@latest/actions/hosting-your-own-runners/about-self-hosted-runners https://docs.github.com/en/free-pro-team@latest/actions/host...
- larrybud 6y agoThis is one of the key use-cases for self-hosted runners. https://docs.github.com/en/free-pro-team@latest/actions/hosting-your-own-runners https://docs.github.com/en/free-pro-team@latest/actions/host...