Is it impossible to statelessly automate a complet...
# general
k
Is it impossible to statelessly automate a complete local environment? Nope. Perhaps you have another point of view? https://thenewstack.io/local-environment-as-code-is-it-possible-yet/
👍 4
m
This is a really interesting topic. Some rhetorical questions that I have: Does anyone measure ramp up time for new devs on a project and/or new hires on a team? What is typical? Is this a metric which companies try to improve?
🤔 2
h
It can be done, with a boostrap file to install ansible, that kicks of a ansible playbook to setup docker and osx settings ( if your on osx or other os settings ), start a docker container with all the tools you need something like https://github.com/cloudposse/geodesic, that combined with something like https://www.gitpod.io/ , a custom cli like https://github.com/mumoshu/variant and something like https://k3d.io/v5.4.1/ for local kubernetes clusters can get you a pretty decent portable local environment, thats actually how I run my local environment.
Although here is what I dont like about newstack articles, while local environments is a problem that should be solved they discounted some good methodologies because ( hey look magic we have a payed tool we are offering to solve this thing ) to me this type of article is now a this company is on my instant do not use list
n
Though this would be cool from a tech perspective, my very biased opinion is that this is going the wrong way. It would either take containerization (article recommends this) or complete sterilization and lockdown of a machine. Me and my cofounders are literally building a company by betting on cloud hosted dev environments. It's way easier to get power, consistency, and scale. This has been a long time coming but I think we're hitting an inflection point where this space is going to see a lot of adoption. Shameless plug: usenimbus.com if you want to see what we're working on
h
Fair enough so here is my problem with a saas option, let's say I get used to that workflow then move to a company that does not have the budget to get a specific saas tool, then I'm back to step 0 and having to go back to my old workflow, don't get me wrong saas software is a great convineience but not for everyone
t
Hell yeah issue everybody ChromeOS systems and stop worrying about the hell of endpoint compromises. Cloud dev environments for all.
a
We want a new hire to commit code in 30m
The key actually was to make integration testing in CI extremely reliable, leverage bazel caching on objects, and make the actual development environment a test. You effectively “bazel build world” and then everything is built and starts for you. It bootstraps on anything with the runtime environment (glibc + python + a few other slim tools)

https://www.youtube.com/watch?v=muvU1DYrY0w

Our desire was that if you allow someoen to go days w/o committing it sets an acceptable standard that we dont care about results.