diff options
| author | Zuul <zuul@review.opendev.org> | 2023-05-04 10:38:18 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2023-05-04 10:38:18 +0000 |
| commit | 115b46f76f1b7cf10ce496a16c0f01ccb5cdd385 (patch) | |
| tree | 955af8c69fdce6ed67a5cda14f68b2f3b7f63780 /tests | |
| parent | 3be1b71948154c80f3ec247084b5049b520602b8 (diff) | |
| parent | 58b265f46d5d0cc5d7b258bd19502443a863e946 (diff) | |
| download | kolla-115b46f76f1b7cf10ce496a16c0f01ccb5cdd385.tar.gz kolla-115b46f76f1b7cf10ce496a16c0f01ccb5cdd385.zip | |
Merge "CI: Ensure quay repo is public on publish"
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/playbooks/publish.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/playbooks/publish.yml b/tests/playbooks/publish.yml index 9a5569849..3fc52cd19 100644 --- a/tests/playbooks/publish.yml +++ b/tests/playbooks/publish.yml @@ -45,4 +45,13 @@ register: push_status until: push_status.failed is false retries: 5 + + - name: Ensure repository visibility is public + uri: + url: "https://quay.io/api/v1/repository/{{ item.RepoTags.0 }}/changevisibility" + method: POST + headers: + Authorization: "Bearer {{ kolla_quay_io_api.token | trim }}" + body: '{"visibility": "public"}' + body_format: json when: kolla_registry == 'quay.io' |
