-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
epic: starship
cli
#99
Comments
Looking more closely into the implementation for the cli, it would make sense to have cli natively support Currently all the dependencies for the cli are in golang and have clients for it. It would be much cleaner and also should not take too much time (similar to the |
This needs to be re-prioritized, since having a
We can assume the heavy use of This cli will also be used in the |
We should also add on the top of the config file, version: <helm version>
chains:
- ... The name of the helm deployment can be something that is generated or asigned, similar to |
Maybe we can add another command to the cli, starship init
# should create a file structure
.github/workflows/ # optionally the starship workflow for the CI
starship-tests.yaml
starship/
configs/
ci.yaml
devnet.yaml
local.yaml
Makefile
README.md
tests/ # empty dir The main thing we want to provide out of the box are:
Tests dir is very specific to the type of project this is used for. We can have additional kwargs for the init command for creating the |
We will have to redo the whole We will have to redefine the functions and options for each of the functions and start to define them individually. |
With starship js, this is not taken care of. |
Overview
Currently we use make commands and some handy scripts like
scripts/port-forward.sh
to interact with the system.Proposal
Create a go cli
starship
with the following commands:start
: Read a config yaml file, and spin up k8s infra on the cluster, optionally create the kind cluster if local deploymentstop
: Delete all the helm deploymentsconnect
: Analogous to port forwardingsetup
: Initial setup and install all the binrarries requiredThe cli should be able to work on mac or linux initially (need tests to make sure this works)
Working
For the first iteration of the cli, we will just use exec commands from inside the binary. This would mean, we just need to port the current commands from various make and bash commands into the go cli."
APIs
Once the cli is working, for the developer, this should be following commands to get started
Future work
Sub Tasks
version
in config: feature: addversion
for each of the config files to hold helm chart version #202port-forward
check: improvements:port-forward
should check status of deployments before running #145list
: list all helm charts installedstart
: add ability to use--set, --set-file
into the config filestart
: be able to parse the config file, run schema for verification before installstatus
: be able to runkubectl get pods
andhelm status
, to figure out the actual status of the helm chartsThe text was updated successfully, but these errors were encountered: