by chockchocschoir · 4y ago · 0 comments
I can understand the problem for larger development teams, as a lot of communication and workflows can happen via GitHub Pull Requests or similar.
That's not really the point though.. If you have services in github etc, why would you replicate all of them locally too for unplanned downtime ?
It can't be "remove all SPOF or you aren't doing your job". How many offices are resilient to continue working if the building power goes out?
I just don't feel the need to defend GitHub here for the reason of : "Well you should be able to manage locally anyway"
Every single time I start doing development on Actions, GitHub goes down or actions start failing. I'm not sure if this is saying something about me, or GitHub.
I mean, if you're working on a project that has tests, code coverage and binary builds setup, you usually have a `Makefile` or `package.json` or whatever to run your scripts, and your CI setup just calls those very same scripts but in their environment (sometimes with different arguments/environment variables).
Not sure why it would be different for GitHub Actions. It's certainly how I use it day-to-day.
Solo? Yes. In a team? Less often just because you might have credentials stored in secrets that are not shared with the entire team for security reasons.
In larger corps it's easier to wait it out that go through the trouble of escalating permission requests.
But I do get your point. Personally for deployments I have Ansible playbooks that are invoked via straighforward calls which can be done locally.
When you first setup CI, you don't actually just develop for the CI environment first, that's the second step after you know how to perform the same things locally. So not sure why there would be "independent CI for everything".