Replies: 4 comments 1 reply
-
Additional NotesGoLang
DockerCons
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Added in the #318 (comment) a few command examples how CLI can all come together as a consistent interface. |
Beta Was this translation helpful? Give feedback.
0 replies
-
for go, there are libraries like this that can help with interactive generators: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Based on discussions in the Community call (#370), we decided to try out Go! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Based on the previous discussions #351 (comment), #173, and #348, we want a BitOps repo generator, - a CLI tool that will guide users through the steps helping them to create an operations repository structure.
You can find the initial quick implementation with
js
+yo
+npm
at https://www.bitovi.com/blog/bitops-yoScreen.Recording.2022-11-10.at.12.30.48.mov
Because we need something more portable than node/js/npm for CLI and better suitable for DevOps world, long-term options for BitOps OpsRepo generator are:
1) Golang CLI
Installation
Usage
Pros
Cons
python
BitOps +golang
bitops-cli)2) Python CLI
Installation
Usage
Pros
Cons
python
+pip
to be installed as dependencies3) BitOps Docker CLI
Installation
No installation is needed. The generator will be bundled in the original BitOps Docker image and integrate with the project functionality as a new CLI entrypoint.
Here is an existing way how the user runs a deployment via BitOps:
Here is the proposed OpsRepo generation command:
^^ find the difference.
For better user experience during the deploy stage, if the operations repo that the user shares via docker volume
-v
is empty, - suggest creating it. We can output a full docker command for copy-paste, or even go aggressive: "BitOps deployment found empty environment directory. Do you want to start creating your Operations Repository?".Pros
OpsRepo generation
->OpsRepo development
->Deployment
. Users don't need to download 2 different artifacts and switch-context between the standalone CLI vs BitOps Docker image.Cons
Beta Was this translation helpful? Give feedback.
All reactions