4 ms·
Isn't the real problem that no one does partial local builds any more? And maybe the lack of a local testing environment. Build servers are fine for the main b
by nottorp 4y ago
Isn't the real problem that no one does partial local builds any more? And maybe the lack of a local testing environment.
Build servers are fine for the main branch, but why does a dev have to build the whole thing to quickly check the last 50 lines that they've written?
- amtamt 4y agoSo many times it is not even 50, but 1 line. and those changes fail too. Also, more hardware does not make builds faster magically all the times. one needs to spend time to actually use more/ better hardware. Finally, build load comes in spikes. end of the working day, you have lots of builds all of a sudden. Few runners get overloaded in peak or many runners waste a lot of money. May be we need builds being done in some other timezones where its off-peak time, and even better, if people could pool their resources (and thats what SaaS runners do for us.)
- treis 4y ago>Isn't the real problem that no one does partial local builds any more? And maybe the lack of a local testing environment. I die a little inside every time my build is waiting for a runner while my M1 Mac is just sitting there.
- mdaniel 4y agoAFAIK there's nothing stopping you from just spinning one up if you have the perms to the repo, although because of both your M1 and "untrusted code" reasons you'd likely want to put it in a virtual machine: https://docs.github.com/en/actions/hosting-your-own-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-a-repository https://docs.github.com/en/actions/hosting-your-own-runners/... GitLab behaves similarly
- chillfox 4y agoBecause we decided for some reason that CI builds (the build config) should not be able to be run locally for testing.
- bluGill 4y agoI just finished some changes and they are in review. Now I have to pull master, and build that before I can start the next set of changes. (and if the review finds something I have to switch branches and rebuild a large part of the code)
- kqr 4y agoOne of my pet peeves at my last job was that the CI build and the local build commands were different, and produced notably different results sometimes.