zuul-jobs/roles/ensure-quay-repo
Clark Boylan 18b32703ed Add ensure-quay-repo role
This adds a new role that can be used to ensure a quay repo exists
before publishing to it. This is particularly useful for creating public
repos in quay as simply pushing to a repo with quay will create a
private repo by default.

Change-Id: I979f1b9b64f901bb8d54b8991bb9142b18b6330f
2023-04-21 15:09:42 -07:00
..
tasks Add ensure-quay-repo role 2023-04-21 15:09:42 -07:00
README.rst Add ensure-quay-repo role 2023-04-21 15:09:42 -07:00

README.rst

This role primarily exists to create a new public repository in quay. This role can be used to create private repos as well, but repos are created by default in quay if you simply push to them.

Users of this role will need to generate an application token with create repository permissions. Additional permissions are not necessary.

When invoking this role you should set no_log: true on the include_role task to prevent disclosure of your token.

** Role Variables **