Zuul cheat sheet
My team at Ansible uses Zuul CI to develop and release our collections. From time to time, I need to do some basic operations and I've started a cheat sheet. I'm sharing it since it may be helpful for someone else.
Abort a job:
$ zuul dequeue --tenant=ansible --pipeline=release --project=ansible-collections/ansible.utils --ref=refs/tags/2.4.2
Recreate a job. In this case, we manually recreate a job in the release pipeline. This job was initially created by the push of a tag (--newrev).
$ zuul enqueue-ref --tenant=ansible --trigger=github --pipeline=release --project=ansible-collections/ansible.utils --ref=refs/tags/2.4.2 --newrev=6a0372849bec52672a74168b93b0677d2c6471fc
List all the ongoing nodepool requests:
$ nodepool -s /etc/nodepool/secure.conf request-list
Kill a periodic job:
$ zuul dequeue --tenant=ansible --pipeline=periodic --project=ansible/ansible --ref refs/heads/stable-2.9