aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2023-05-18Merge "ubuntu: use Antelope UCA"16.0.0.0rc1Zuul1-1/+0
2023-05-18ubuntu: use Antelope UCAMichal Nasiadka1-1/+0
Skip using the mirror for now, given the OpenDev AFS space issues. Change-Id: I8e55c699e493494b3e5c908c7e8c370ce992fdf5
2023-05-17CentOS/Rocky: use CentOS Cloud SIG repo instead of DeloreanMichal Nasiadka1-13/+1
Antelope was released, landed in CentOS repo, time to use it. Change-Id: I9fa8fd5dd9b75251363f1957d1e249e7cb4beb84
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
2023-01-10CI: CentOS/Rocky: revert Delorean repo url at the endMarcin Juszkiewicz1-1/+4
We revert all repos to their normal versions. This change takes care of forgotten Delorean repos. Change-Id: I8bcddbd6ebf3119f4f56d86e47377f27b8671b1a
2022-10-03CI/centos/rocky: use repos from opendev mirrorMarcin Juszkiewicz1-29/+35
Repo definitions in RHEL 9 rebuilds use metalink method for most of entries which makes our use of sed obsolete. This patch adds file with definitions of all CS9 repos we use and moves all official definitions a side at start of build. After build our definitions get removed and official ones are restored. Similar is done for RockyLinux 9 builds but there RL9 repos are used from official mirrors while CS9/EPEL ones are from OpenDev mirrors. Final images will have repos in wrong enabled/disabled state. Change-Id: I04121fd5ca9894b6deeda3808808cbffd6b97811
2022-09-30Add RockyLinux 9 supportMichal Nasiadka1-17/+14
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/859570 Change-Id: I7af51d07b8a939c908aa072294061def57dd67de
2022-09-27Move to CentOS Stream 9Marcin Juszkiewicz2-11/+9
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-08-29Fix CVE-2022-38060Radosław Piliszek1-18/+0
Closes-Bug: #1985784 Change-Id: I66476a2b396e2cbe41e68ac51f57aae1806b2ed8
2022-07-26Merge "[CI] Drop bindep"Zuul1-2/+0
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
2022-06-23[CI] Drop bindepRadosław Piliszek1-2/+0
It is not necessary and it may be confusing. Change-Id: Ie84bce6a90de622dc76a2309fc579d881325b956
2022-05-29Use the new image naming scheme by defaultRadosław Piliszek1-1/+0
Adds a relevant reno to inform users about the change and the possibility to customise the prefix. Additionally, this patch includes the fix to Ubuntu image builds regarding rabbitmq and erlang. Both the changes are required to fix master CI. Change-Id: I6bc8b489a810849744c8bead6b9e350c5d3e36b7 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/843752
2022-05-21[CI] Fix tags in publishingRadosław Piliszek1-1/+1
The original patch did not insert dashes as promised in the commit message. [1] [1] https://review.opendev.org/c/openstack/kolla/+/840164 Change-Id: Ibd6e06502ce56f5e0b44dea604ffee2fd9b7b8be
2022-05-02[publishing] use a new naming schemeRadosław Piliszek1-1/+2
This change switches published images names from the current format <base_distro>-<image_name>:<openstack_release>-<arch_suffix> to a preciser and image-oriented (for better variant listing) format <image_name>:<openstack_release>-<base_distro>-<base_distro_version>-<arch_suffix> Change-Id: I6a4b5c2087b94f96f72aa9d0d0781ff14d3ee6bb
2022-04-21switch to short image names by defaultMarcin Juszkiewicz1-2/+0
We can drop temporary 'use-short-names' argument and make short (kolla/debian-nova-libvirt:master) image names default. Kolla Ansible is using short names now. Change-Id: I153355353cd12aa25adaa9c87438a478748dfb28
2022-04-19add a way to not have 'install_type' in image name (temporary)Marcin Juszkiewicz1-0/+2
--use-short-names argument drops 'install_type' from image names: kolla/debian-openstack-base:14.1.0 This should allow to get rid of '-source' in image names without disrupting CI jobs. Switch publish jobs to use short names so k-a tests will have ready to use images for both long and short names. Change-Id: I29c9d51f4b518a4e2d3157ab5d6cc434fb83f2ef
2022-04-15enable logging to file for quiet modeMarcin Juszkiewicz1-0/+1
We have 'quiet' mode where only minimal data is printed to the console. But there were no logs at all then. This change generates log files (if 'logs-dir' argument is used) during quiet build. Also enables 'quiet' mode for CI so Zuul will not have to parse 29MB JSON file each time. Change-Id: If7d5c2807f0947a8bbbc1ceb8531c9b9c9287c1f
2022-04-15Revert "CI: add templated Dockerfiles to build logs"Radosław Piliszek1-1/+0
This reverts commit 09c890b12463a4b2c8767231189e7016f337fbc3. Reason for revert: That change caused all Kolla's work items to be transferred. This includes tarballs, their extracted contents, cloned git repositories, etc. to also be transferred to swift which takes extra time, pollutes logs and decreases the stability of jobs slightly (the mechanism is not designed for this kind of load). The collection of templated Dockerfiles in CI has to be reimplemented if it is wanted. Change-Id: Ideaf66ce18c993802f4d20f490caa47cec0dde5e
2022-04-11CI: drop install_type from build jobsMarcin Juszkiewicz1-1/+0
Change-Id: If524e45dc262efb253fc06329d4567412282926d
2022-03-11Unify curl use (customisation options)Maksim Malchuk1-1/+1
This change adds and unifies an ability to override hardcoded URLs for air-gapped environments via the usual blocks mechanism. Also, this change replaces ENV with ARG instruction for the variables used only in building images, and uses bash variable expansion where it possible. This change is a continuation of the I46b77978926fc2b578a68d1aaa944b2198af0685 Change-Id: I1fbad333b1bc95484e6f4c5145d5936a0e2db84f Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2021-09-08[CI] Drop support for publishing versioned image tagsRadosław Piliszek1-1/+1
Follow-up on I3259c0736a296751129aa349e8d378c0123957e6 Change-Id: I6b8935b16390a301602218ce35edfe132b140a4c
2021-08-04Merge "drop leftovers of RHEL support"Zuul1-1/+1
2021-07-29test-requirements: remove not needed entriesMarcin Juszkiewicz2-96/+0
Locally all tox tests passed without those requirements. Also removed keystoneclient test. We are building images not clients. Change-Id: I89578f0d7710cb38db12bf862584f13b49af20ef
2021-07-28drop leftovers of RHEL supportMarcin Juszkiewicz1-1/+1
As a project we never built RHEL based images so support for them was not tested. Change-Id: I27dfe34ade088228d71f6857ec4f3ab28ee63915
2021-07-01CI: Fix epel url overrideMichał Nasiadka1-3/+3
epel-release now installs epel*.repos with following baseurl: baseurl=https://download.example/pub/epel/$releasever/Everything/$basearch Change-Id: I19f57d258021ff660df6b6b95e8205b69f3bea85
2021-06-28[CI] Do not set ansible_python_interpreter for ZuulRadosław Piliszek2-11/+7
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-06-10Revert "[CI] Add grafana to allowed-to-fail"Radosław Piliszek1-2/+0
This reverts commit a6884085e1a5336f17c2ed64f67d8f885c454207. Reason for revert: Repo is fine again. Change-Id: I60a76f42708f1746bd2c582ce25867ac34c9e865
2021-06-10[CI] Add grafana to allowed-to-failRadosław Piliszek1-0/+2
The grafana repo is broken for Debuntu. Change-Id: I7f79aeab53540df9bf84add6df3add300c9e9fa4
2021-05-20Revert "CI: add monasca-grafana to allowed-to-fail images"Marcin Juszkiewicz1-4/+0
This reverts commit 931d401887252d8830ebfb4d0b5d352f77094e9a. Reason for revert: monasca-grafana is no more Change-Id: I483db6d6eddd84b376251b38509e74d4a5c2a10b Depends-on: https://review.opendev.org/c/openstack/kolla/+/784902
2021-05-08Merge "CI: drop bashism from template overrides"Zuul1-1/+1
2021-05-04[CI] Trust only infra mirrorsRadosław Piliszek1-22/+10
Infra mirrors get their indices rebuilt to avoid broken indices (due to partial update). Unfortunately, this wipes out the cryptographic signatures. Our approach so far was disabling apt security features globally. However, this is not a valid choice for external repos. It hid an issue we introduced with new RabbitMQ repos missing proper keys installed in the image. This caused permanent failures outside of our CI. Our process should be as close as possible to users' experience. This patch makes CI trust only the mirrors that have their indices rebuilt (so infra mirrors). Change-Id: Ic5abc4b87fd76f87aba383abf43e95ba70629fcb
2021-05-04CI: drop bashism from template overridesMarcin Juszkiewicz1-1/+1
[[ is bash only In many distributions /bin/sh == bash but not in Debian and derived where it is dash (very simple POSIX shell). Change-Id: I2b084ea78b236623b174473f411bae04e624a3e9
2021-04-26move to Debian 'bullseye'Marcin Juszkiewicz1-1/+1
Bullseye is now in hard freeze cycle and goes for release. https://release.debian.org/bullseye/freeze_policy.html Co-Authored-By: Michal Nasiadka <mnasiadka@gmail.com> Change-Id: I543965a2741cebfa759576a4c75669a7bacd4208
2021-04-08Merge "[CI] Publish images to quay.io on a daily basis"Zuul2-11/+29
2021-04-06[CI] Publish images to quay.io on a daily basisRadosław Piliszek2-11/+29
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
2021-04-06CI: add monasca-grafana to allowed-to-fail imagesMark Goddard1-0/+4
The monasca-grafana image is currently failing to build. INFO:kolla.common.utils.monasca-grafana:go install -v ./pkg/cmd/grafana-server INFO:kolla.common.utils.monasca-grafana:[91mgo: cannot find main module, but found vendor/vendor.json in /grafana/src/github.com/grafana/grafana INFO:kolla.common.utils.monasca-grafana: to create a module there, run: INFO:kolla.common.utils.monasca-grafana: go mod init Let's unblock the gate and diagnose asynchronously. Change-Id: Id113a53c083d105ac9200474ff20faacef6decaf
2021-02-10Make kolla_set_configs open files in binary modeRadosław Piliszek1-0/+23
This fixes comparisons when files are not Unicode-encoded. A relevant unit test is included. It can be used as a base for other _cmp_file method unit tests if the need arises. Change-Id: Ic638516eb92d24ad247a7866fd1b5e2ac0400388 Closes-Bug: #1913952
2021-01-26Merge "Remove two missed unicode flags"Zuul1-2/+2