aboutsummaryrefslogtreecommitdiff
path: root/tests/playbooks/pre.yml
AgeCommit message (Collapse)AuthorFilesLines
2025-02-20CI: Use ansible-lint for CI roles and playbooksMichal Nasiadka1-1/+2
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-17CI: Move pre tasks into rolesMichal Nasiadka1-195/+1
Change-Id: If5aa7371d14041d6e0efca866341be2894fd6f87
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 Nasiadka1-0/+6
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-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-09-21[CI] Add podman buildMichal Arbet1-35/+90
Change-Id: I41b89ec87a4849668102ca9c9cc79f0ef9944b85
2023-02-21CI: Additional disk followupMichal Nasiadka1-78/+70
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 Nasiadka1-0/+78
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-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
2022-09-27Move to CentOS Stream 9Marcin Juszkiewicz1-9/+7
OpenStack 'zed' requires Python 3.8+ so RHEL 8 family has to go. This changeset moves to CentOS Stream 9 while move to RockyLinux 9 is planned as final solution. CI moved to CentOS Stream 9 nodes. Depends-on: https://review.opendev.org/c/openstack/kolla-ansible/+/839715 Change-Id: I113b9984294cf8663d3fc0c8840320e1d40ea731
2022-06-23[CI] Drop bindepRadosław Piliszek1-2/+0
It is not necessary and it may be confusing. Change-Id: Ie84bce6a90de622dc76a2309fc579d881325b956
2021-06-28[CI] Do not set ansible_python_interpreter for ZuulRadosław Piliszek1-5/+4
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-01-15CI: Use Docker proxy for pullsMichał Nasiadka1-0/+20
Change-Id: I0c4d5e1ea16c6677813a334b38b3a22ad811531d
2020-04-30CI: make sure that virtualenv is availableMarcin Juszkiewicz1-0/+9
Failed to find required executable virtualenv in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games Change-Id: Ie6094e1c5de5c89e0180c42edf5ef94c1c9964b7
2020-04-03CI: Ansiblify setup of buildersRadosław Piliszek1-0/+52
CI is set up using Ansible playbooks now. This also drops redundant shell scripts. Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Change-Id: I5264746fd04276448f4668c3bb3a218a40e8660b
2020-04-03CI: Avoid toxRadosław Piliszek1-3/+14
We don't need tox nor tell our users to use it when doing kolla builds. Tox is going away from base infra images (it is already gone from aarch64 ones). Depends-on: https://review.opendev.org/713134 Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Change-Id: Ib1d97a783951ac42740ebf91bcc6ecaf2bf70853
2020-03-17CI: Install toxMark Goddard1-0/+5
tox will be removed from the base image. Install it before that happens. This change is made in a simple way that can be easily backported. Change-Id: I2a24c87aa44c1e03ba76a2fb0bd71caf54eb4211
2020-02-13Revert "Upgrade virtualenv in pre"Radosław Piliszek1-5/+0
Reverts temporary. This reverts commit 063a46a7de4471504535499ca2a972a79e4ce5e5. Change-Id: Ibf2848db954862f917a23eb0aa1594ccc4e7ef67
2020-02-12Upgrade virtualenv in preMichal Nasiadka1-0/+5
Since virtualenv 20.0 (amongst other changes) six version >1.12.0 is required. This change adds upgrade of virtualenv and six in pre - to be reverted once infra CentOS images are sorted out. Depends-On: https://review.opendev.org/707377 Change-Id: I75249055989309d0afdfc29c894beb6b1fcd1994
2019-07-15cleanup setup of Debian/Ubuntu CI nodesMarcin Juszkiewicz1-0/+2
Change-Id: I3a771793dfbbfc26f6d5716ba7a5b60c2e6154fa
2019-06-20Clean up test processRadosław Piliszek1-9/+13
If stestr failed, then no node info was logged. Logging node info is now handled in pre and post stages of Zuul. Additionally Zuul v3 migration recommendations were applied and some unused code removed improving general readability. Change-Id: Iae9d37cb76997ba8389e21c7e2a3bf5905abe029 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2018-12-05Fix Oraclelinux build, disable collectd in gateEduardo Gonzalez1-2/+0
Oraclelinux repositories has been upgraded and previous file removed, this change update repos to new URLs. Disable collectd in gate as is currently broken and blocks mergingin voting jobs. Change-Id: I402cff1ac86a2ba108f2f5378cc98db5f6ecc673
2018-02-27Verify YAML syntax in gatesEduardo Gonzalez1-0/+1
Test yaml syntax is correct on new changes. Fixes current warnings and errors Change-Id: I5888f8e4a9d27a08506036df2c564b9f2081ccee
2017-12-18Add collectd in ci to collect system informationJeffrey Zhang1-1/+2
Change-Id: Ic5cbdfd4ebca1d907ada5c39f27dc4a7889daa21
2017-10-19Moving jobs to kolla repoJeffrey Zhang1-0/+13
This is zuulv3 migration patch. This patch only implement build jobs. Deploy jobs will be pushed in another one. Partial-Bug: #1720601 Change-Id: Ib9157ed132820d752ef1dbd7a53353ebd68b1934