Open dcmcand opened 7 months ago
Does any other open source python project do this? It seems a bit of pain requiring ansible to run a few shell commands to create a conda environment and run pip install -e .[dev].
It's been quite a few months since we discussed this, but my main takeaway was that the playbook would be useful to create a local dev cluster and a dev AMI (potentially using packer) with that. The AMI would then be used to run tests again an "existing" cluster, without the need of deploying a cluster every single time we want to run the local integration tests.
I think this would be highly beneficial but we would need to think when to run the deploy/destroy tests. Some options are:
Reading the issue description, I'm now wondering if what I just outlined was actually scoped or not.
@marcelovilla Ahh, I took environment in the original feature description to mean "conda environment". I see what you mean now. Thanks for clarifying.
as @marcelovilla said the main use case would be the AMI setup, and I also think we could merge #2554 and use that in our benefit to reduce the complexity of the ansible tasks
So, I've done some testing around this, and here are my main points: PROS:
So my takeaway on this would be:
BTW, Packer's license changed recently along with Terraform's so I assume we'll need to use a version of Packer prior to the license change to BSL in August 2023.
Feature description
Add ansible playbook for setting up a dev environment for nebari
Value and/or benefit
Easier onboarding and getting started
Anything else?
No response