actions icon indicating copy to clipboard operation
actions copied to clipboard

Add functionality to publish action package

Open mmokko opened this issue 1 year ago • 2 comments

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.

mmokko avatar May 02 '24 10:05 mmokko

Moved to draft until the: publish API is added.

mmokko avatar May 08 '24 09:05 mmokko

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.

mmokko avatar May 14 '24 07:05 mmokko