Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1760

galaxykit: add --wait to commands

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • None
    • UI

      Follow-up to https://issues.redhat.com/browse/AAH-1437 (https://github.com/ansible/galaxykit/pull/51) which adds `galaxykit task wait <id>`.

      Some API calls don't wait for the action they triggered to be finished, returing a task href instead.
      Galaxykit then finishes when the task is created, instead of completed.

      Proposed resolution:

      • go through galaxykit commands, see which ones return a task
      • add a `--wait` option to these, calling `tasks.wait_task(client, task_id_or_href)` instead of returning

              Unassigned Unassigned
              mhradil-1 Martin Hradil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: