aboutsummaryrefslogtreecommitdiff
path: root/tests/playbooks/publish.yml
AgeCommit message (Collapse)AuthorFilesLines
2026-04-07CI: Drop changing visibility using uriMichal Nasiadka1-10/+0
It has not been working and leaks secret Related-Bug: #2147406 Change-Id: If5c1905a096d776811ce932cb040e20f5dfebf82 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2026-01-12CI: Fix publish job secret aliasesBartosz Bezak1-1/+1
Change-Id: Ib7c2d8419932e049db871053c3b4faad791c3566 Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
2025-10-06CI: Update API token for fixing repo visibilityMichal Nasiadka1-1/+1
Change-Id: Iae913ff1b917104fdbb3257c24386f22f6764a03 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-07-11CI: Drop publishing to DockerHubMichal Nasiadka1-18/+0
Change-Id: I9d1f24b98f1d7c8f29b0dba45105b0263f961ca5 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-02-20CI: Use ansible-lint for CI roles and playbooksMichal Nasiadka1-14/+17
Removing dbus-python deps because now a-c-k handles that. Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/942179 Change-Id: I97a97da73a7ccb27789e979656867e4adfe8a633
2024-12-11Revert "CI: Pin requests to <2.32 for publish jobs"Michal Nasiadka1-9/+0
This reverts commit 428f37124986019bedc897469f9b1f3470b62082. Reason for revert: Should be fixed now Change-Id: Ife393e7f1b00fa37921e7822668d6a40dd467d5b
2024-06-11CI: Pin requests to <2.32 for publish jobsBartosz Bezak1-0/+9
Periodic jobs are failing because Zuul Ansible executor runs with Ansible 8 which uses community.docker collection that needs requests<2.32. Revert this patch when Zuul supports Ansible 10, and/or Ansible 9 gets fixed community.docker collection. [1] [1] https://github.com/ansible-collections/community.docker/issues/868 Related-Bug: #2066364 Change-Id: I1dda73b0bc9a9f57ec8fda3f2234449b04906410
2023-05-08CI: Fix visibility publish taskMichal Nasiadka1-0/+1
Change-Id: I41bab698e17254d8c92e621ba9b88b6fe20c2300
2023-03-27CI: Ensure quay repo is public on publishMichal Nasiadka1-0/+9
Change-Id: Ib49e7c51be552a9aad0526841e7cffe588189371
2023-02-21Merge "CI: update docker hub publish creds"Zuul1-2/+2
2023-02-17CI: update docker hub publish credsMichal Nasiadka1-2/+2
Change-Id: Ieceadb1f56908ce752f48b0884ed5cf764bc1ecd
2023-02-16CI: Retry docker push on publish jobsMichal Nasiadka1-0/+6
We have a high number of POST_FAILURE jobs failing on at least one container push - let's fix that. Change-Id: I0015dd4d3ffe5b3e1202ebcfde2b2c72c4655b41
2022-07-25Fix container image publish to Docker HubPierre Riteau1-0/+1
Publishing container images to Docker Hub was failing with: state is present but all of the following are missing: source This is caused by the recent Ansible upgrade by Zuul [1]: the source parameter is mandatory since Ansible 2.12. [1] https://review.opendev.org/c/openstack/project-config/+/849120 Change-Id: I232fe835f5a650c258243f1ee4720480f2e6e7b1
2021-06-28[CI] Do not set ansible_python_interpreter for ZuulRadosław Piliszek1-6/+3
Zuul 4.6.0 does not allow to set ansible_python_interpreter. [1] Instead, with the current Zuul and Ansible, this should be automatically set to the proper python. This patch is required to restore the jobs which are ignored otherwise. [2] [3] Additionally, this change avoids the use of Ansible's pip module because it tries to use setuptools from the ansible_python_interpreter first even if another executable is set. [1] http://lists.openstack.org/pipermail/openstack-discuss/2021-June/023291.html [2] http://lists.openstack.org/pipermail/openstack-discuss/2021-June/023326.html [3] http://lists.openstack.org/pipermail/openstack-discuss/2021-June/023321.html Change-Id: Ib74eecd46617af51e23a3ccad664767b1bf6e04f
2021-04-06[CI] Publish images to quay.io on a daily basisRadosław Piliszek1-10/+28
Based on the discussions from the past 3 Kolla meetings [1][2][3], we established that, to avoid the DockerHub pull limit issues in our CI, we will try using quay.io. We still publish weekly to the DockerHub. [1] http://eavesdrop.openstack.org/meetings/kolla/2021/kolla.2021-03-17-15.00.log.html#l-102 [2] http://eavesdrop.openstack.org/meetings/kolla/2021/kolla.2021-03-24-15.00.log.html#l-137 [3] http://eavesdrop.openstack.org/meetings/kolla/2021/kolla.2021-03-31-15.01.log.html#l-50 Change-Id: I7c1f0c5fc643678b29f963b6769d8f900a03b726 Depends-On: Id113a53c083d105ac9200474ff20faacef6decaf
2020-12-15Fix publishing loginRadosław Piliszek1-2/+2
Login to DockerHub was failing because of trailing newlines in the encrypted credentials. This patch makes the playbook trim them before usage. Change-Id: I411f91af927ffa4d04c8021ddb5c3d584d90bdfd
2020-11-26CI: Ensure docker-py is installed on publishMichał Nasiadka1-0/+6
After a recent change [1] publish jobs are failing on missing docker python SDK. [1]: https://review.opendev.org/c/openstack/kolla/+/763146 Change-Id: I63662dd903b914fe06165b45e0a0bb5ca74b21b9
2020-11-19CI: Improve publish playbookMichał Nasiadka1-3/+15
Currently we use a for loop in shell that performs push of images to Docker Hub - that doesn't really seem to fail properly on push errors (e.g. related to new Docker Hub limits). This change introduces usage of Ansible docker_* modules for doing the same job and improves logging (so it's easier to find out which image failed to publish). Change-Id: I083ce70772edd1abb873ad43f6beb73aae01383f
2017-12-06Use separate publish jobs in periodic pipelineJeffrey Zhang1-4/+0
The secrets can not be inherited. Change-Id: Ie0f99f470a419c57865eb8b0a14e465ae228c799
2017-11-28Improve gate post jobsJeffrey Zhang1-0/+4
- Reuse build jobs to publish images - Add binary jobs in periodic pipeline - Push all image to dockerhub - Use branch name for image tag Change-Id: Ifefb96bcbcc9c6840cf865f7786b43a43fae4c17
2017-11-08Fixup small bug with dockerhub publisherMichal (inc0) Jastrzebski1-1/+1
Jinja2 vs gotpl... Change-Id: I27a54eb9202ac5f3e9b3ef9c307e81475e8833f5
2017-11-06Dockerhub publisher jobMichal (inc0) Jastrzebski1-0/+8
This patchset includes pushing mechanism for daily periodic jobs. Change-Id: Ic4179ffd3a6e640abfb181dbd000bc75cc64b750