Open
Description
The GitOps CLI should be released as a self contained binary so it could be used without Docker or Python installed locally.
It would be the best if it would be included in the release step.
To create a binary for a Python application I tested PyInstaller which worked great so far:
pip3 install pyinstaller
# Move to the gitopscli repository
pyinstaller gitopscli/__main__.py -n gitopscli --onefile
Afterwards, the executable binary is available under dist/gitopscli
Releasing the GitOps CLI as binary would open the door to add developer. I'm thinking about commands like:
gitopscli login --git-server bitbucket.example.tld --root-config <path-to-root-config>
gitopscli create deployment --name demo-test --image=org/myimage:latest --host=app.example.tld --config-repo example-non-prod ...
gitopscli promote --from demo-test --to demo-int
etc.