Add functionality to publish action package
Add functionality to publish action package
New sub commands for package:
- organizations, list organizations and IDs
- push, uploads package to Control Room
- status, gets the package publish status
- changelog, update the changelog of pushed package
- publish, publishes the package to Control Room
New command: cloud
- subcommand: login
Get access credentials from keyring
Read package name from package (.zip) file
Get hostname from keyring
Return JSON output stdout from commands:
- package organizations
- package push
- package status
- package changelog
What could still be done.
- Get the hostname from RCC
- Don't know if RCC has this yet for action server
DO NOT MERGE UNTIL CONTROL ROOM API IS AVAILABLE.
Moved to draft until the: publish API is added.
Just commented on the docstrings, as the code overall requires testing to see how it behaves first before commenting on it, overall LGTM!
Any timeline for the API availability in order to ship this? (cc @bendersej )
@cmin764 you can test against the CI. Call the command: cloud login, to set the hostname to: ci.robocorp.dev and it will be saved to the keyring.