aboutsummaryrefslogtreecommitdiff
path: root/tests/playbooks
AgeCommit message (Collapse)AuthorFilesLines
2026-07-30Move PIP_* env variables to ARG and configMichal Nasiadka1-0/+9
Leaving empty CI template_overrides file in case we need to use it in future. Change-Id: Ic46f1a594bcc330536bc78d93ece10e60622f6d4 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2026-07-22CI: copr - replace secrets without newlinesMichal Nasiadka1-2/+2
Change-Id: I37bb0b5056b2e055d0d0c9da5d0beba4b9ba9067 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2026-07-21CI: copr - convert uuid to stringMichal Nasiadka1-2/+2
There's a possibility that Zuul is marking uuid secret as !unsafe, let's convert it to a string. Change-Id: I63a1d49f6ed62d31fdd8bedccb719a6c5f7b5bb5 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2026-07-21CI: Rework copr job to a different secret formatMichal Nasiadka1-3/+9
Change-Id: I2ef1b33b8d4527e0aea4f00dd1ce0770da2c495e Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2026-07-21CI: copr - remove no_logMichal Nasiadka1-1/+0
Change-Id: I21d486f356d814319fcc4039fa13a7dbbacf6a04 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2026-07-21copr: Remove validation with no_logMichal Nasiadka1-9/+1
Earlier task with no_log causes the UUID in the URL to be redacted Change-Id: I98cd55dfce2bd9328a0805e893f80a3d5fbac73a Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2026-07-21copr: Debug periodic job by removing no_logMichal Nasiadka1-1/+0
It fails now and no_log doesn't help in debugging why Change-Id: I93f49e5c9bb12cb7c15b5d4ac4bc61000fcd8400 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2026-07-20CI: Fix copr webhook secretMichal Nasiadka1-0/+1
It has incorrect format for a list variable switch to periodic for now to validate success Change-Id: Id9696e77bf2dfb07940607947ada05b433353091 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2026-07-09Add support to override base reposMichal Nasiadka1-0/+10
BaseOS and AppStream for CentOS/Rocky ubuntu, ubuntu-security for Ubuntu debian, debian-security for Debian ubuntu-cloud-archive is not really a base repo - so removing it from ubuntu.sources Change-Id: Iab98de963f2e8532389b7563bb572d8aa20c7aa6 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
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-09-08CI: fix secrets for erlang COPR periodic jobBartosz Bezak1-1/+1
It was created with extra newlines. Change-Id: I9394e5ecf913385870396fa51401748ca0de5e22 Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
2025-09-03CI: add weekly COPR RPM build Erlang jobBartosz Bezak1-0/+18
Updating Erlang RPMs for aarch64 in Fedora COPR build system [1] [2]. Using COPR webhooks feature [3]. [1] https://copr.fedorainfracloud.org/coprs/g/openstack-kolla/rabbitmq-erlang-26 [2] https://copr.fedorainfracloud.org/coprs/g/openstack-kolla/rabbitmq-erlang-27 [3] https://docs.pagure.org/copr.copr/user_documentation.html#custom-webhook Change-Id: Ibd4450d14691aca627d99c321b313420ce6dd6f2 Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
2025-08-26CI: Drop dump_info.shMichal Nasiadka1-6/+0
It should not be required anymore, all these information are dumped by different means (generic zuul playbooks, etc). Change-Id: I80569b6fe9e4d779a5448015b8ad9caf09e5abf6 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2025-08-07CI: use opendevmirror for debian/ubuntu buildsBartosz Bezak1-1/+1
Depends-On: https://review.opendev.org/c/opendev/system-config/+/956760 Change-Id: I136bb702b20e941611dd90830e81c9d358a2e355 Signed-off-by: Bartosz Bezak <bartosz@stackhpc.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 Nasiadka4-28/+41
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
2025-02-18Merge "CI: Move pre tasks into roles"Zuul1-195/+1
2025-02-18Allow to use configure_user macro for external templatesAndriy Kurilin1-0/+17
Commit 79a234239516b94b1b79c7ddafcc4fbe4e3ba155 introduced an ability to build 'in-house'/'not-built-in' projects with Kolla. This commits extends this feature with an ability to use configure_user macro for 'not-built-in' users. The implementation is done the same way as for 'sources', i.e. engine after registers new section structure as soon as it finds unknown '<project>-user' section. In addition, the documentation and CI are extended to cover ``--docker-dir`` option. Change-Id: I690d9f3829083f2493bf286a1c45764b9699219b
2025-02-17CI: Move pre tasks into rolesMichal Nasiadka1-195/+1
Change-Id: If5aa7371d14041d6e0efca866341be2894fd6f87
2024-12-12Merge "Revert "CI: Pin requests to <2.32 for publish jobs""Zuul1-9/+0
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-11-28CI: Use debian/ubuntu images from quay mirrorMichal Nasiadka1-0/+9
Change-Id: I3fab494e939478458c2c299303f5c2c91943e0ec
2024-10-02CI: Move image building to a roleMichal Nasiadka1-10/+2
This role can be then used in kolla-ansible instead of setup_gate.sh Change-Id: Ibf04bd90a15e7d3949214d15a8b8e25f2050bb65
2024-10-01CI: Fix aarch64 publish jobs on x86Michal Nasiadka1-2/+2
Change-Id: I5c69d288a427d708b42deadac872a3a7368181e3
2024-09-30Switch to Ubuntu 24.04 LTSMichal Nasiadka1-8/+0
Add setuptools because Python3.12 dropped distutils Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/925581 Change-Id: Ie12c43dc1de122c203edc28181366457ccd67834
2024-09-27CI: Build aarch64 images on x86Michal Nasiadka2-0/+7
Since aarch64 OpenDev nodes currently have issues that cause builds to time out (and we can't extend over 3 hours since that's OpenDev maximum). Change-Id: I20d8b7b6de007866f73c41272682f4532987c9e7
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
2024-05-28Drop packaging requirement and unpin docker-pyMichal Nasiadka1-1/+1
Change-Id: I11d306be5e5bb3d5b05b50dd8ee64ac9424854a1
2023-12-14CI: Use newer podman/buildah on Ubuntu JammyMichal Nasiadka1-0/+8
Change-Id: Ifce506b49571950ee16e26aae06f20aa94567722
2023-12-12CI: Pin docker installation to <7Michal Nasiadka1-1/+1
Docker 7.0.0 introduced a pre build check for tag regex, that is most probably the culprit - see [1] and [2]. Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/903364 [1]: https://github.com/docker/docker-py/commit/a9b5494fd0574e520c735e1d0c4a303528d48063 [2]: https://github.com/docker/docker-py/issues/3195 Change-Id: I147c9715eb922abb6675a2786beaec85971718a8
2023-11-29podman: install "rich" dependencyMichal Nasiadka1-1/+1
This dependency was added to podman-py in version 4.8.0, but not added properly to their requirements. Install it explicitly for our tox and integration testing as a workaround. [0] https://github.com/containers/podman-py/issues/350 Change-Id: Ic0d9b2c26fe5474f579b72d6779243b7ad39b420
2023-11-28Drop docker-py from requirements.txtMichal Nasiadka1-0/+4
Since addition of podman - users need to install only one from docker|podman Change-Id: I622eefad3b2e93f334028d9c0775a2cca558a39c
2023-11-08CI: Move ephemeral disk config to a roleMichal Nasiadka1-70/+2
Change-Id: Ieee71aa22f4ec45fe03f50fd697c85dda952b4d0
2023-10-24CI: speed up podman on el9Jan Gutter1-0/+17
Before this commit the following warning message appeared in the podman log: Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled It appears that the default mount options for the overlay graph driver is badly optimised for Kolla builds on el9: * Enable native overlay diff https://mikeshade.com/posts/docker-native-overlay-diff/ https://github.com/containers/storage/commit/09480532cf49617d7c745fe1ee92487c60c49e1d https://github.com/containers/podman/blob/main/docs/tutorials/performance.md Things that did not appear to make a difference: * volume mounting /var/lib/container https://github.com/containers/buildah/issues/3666#issuecomment-1351992335 * enable transientStore https://www.redhat.com/sysadmin/speed-containers-podman-raspberry-pi note: currently incompatible with debian Change-Id: I002e88b4b6162f6732e622fd97639d543c66784c
2023-10-24CI: fix podman info log collectionJan Gutter1-1/+4
* capture podman config * podman info needs sudo permissions * before this fix, the podman info command failed with: Error: cannot set up namespace using "/usr/bin/newuidmap": should have setuid or have filecaps setuid: exit status 1 Change-Id: Ib3fe039a8c35421b56eedbd2d5197217b4a15a9a
2023-09-21[CI] Add podman buildMichal Arbet3-40/+104
Change-Id: I41b89ec87a4849668102ca9c9cc79f0ef9944b85
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: Additional disk followup"Zuul2-80/+71
2023-02-21Merge "CI: update docker hub publish creds"Zuul1-2/+2
2023-02-21Merge "CI: Retry docker push on publish jobs"Zuul1-0/+6
2023-02-21CI: Additional disk followupMichal Nasiadka2-80/+71
state present only defines mount in /etc/fstab, does not do the actual mount Need to symlink /var/lib/docker to separate disk, work-dir only templates out dockerfiles and downloaded content Change-Id: I06e262cd48d33ccfc0634589c82dcac80dff51af
2023-02-20CI: Configure additional disk when availableMichal Nasiadka2-1/+80
It seems that on some nodepool providers (rax for sure), we get 40G boot disk and 80G additional disk, while on others we get 80G boot disk only. Change-Id: I179c41032239f5f0ce6055c79295b32c33fe67a5
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
2023-02-07CI: store only templated out Dockerfiles in work_dirMichal Nasiadka1-1/+3
Change-Id: I0832d7997536f5f0dc195d5038545b6cc220f0fa
2023-02-07CI: Install ApparmorMichal Nasiadka1-0/+6
Docker 23.* is out and it started failing with apparmor_parser related messages - it seems apparmor is missing in the OpenDev image. Change-Id: I2a6d98e3c1d2d1b7c97a8e6172decbf56e77042d
2023-01-31CI: Add work dirMichal Nasiadka1-0/+1
It's useful to have a templated out version of the Dockerfiles in order to diagnose errors like "error on line xxx" after tests/templates/template-override.j2 gets applied. Change-Id: I5443454d8b020aa1c5552e11f6039e582a002431