Skip to content

Make blocking wait on running workers/deployments optional #618

Description

@mfocko

- name: Wait for worker-long-running-0 to be running
vars:
pod_name: packit-worker-long-running-0
ansible.builtin.include_tasks: tasks/wait_for_pod.yml
when: workers_long_running > 0

Currently somewhat broken, expects the CLI to be switched to the correct project + does not really make sense to be present in the playbook?

Notes

  • Testing Farm deployment tests depend on this, could be just moved around
  • Usefulness during manual deployments is questionable…
  • We could probably keep it as an optional thing via tag / variable, such as wait/blocking
  • Keep in mind testing the deployment on the TF when refactoring this

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/internalTask that doesn't affect users directly

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions