aboutsummaryrefslogtreecommitdiff
path: root/tests/templates
AgeCommit message (Collapse)AuthorFilesLines
2020-01-29Merge "CentOS 8: base and openstack-base images"Zuul1-2/+17
2020-01-29CentOS 8: Update packages in imagesMark Goddard1-1/+1
* Some further changes for python2 vs python3 packages * Allow rabbitmq 3.7.*, since a newer erlang is available * Switch from qemu-img-ev to qemu-img on CentOS 8 * bridge-utils no longer available on CentOS 8 * libvirt-daemon-driver-lxc no longer available on CentOS 8 * Mark some more images buildable for CentOS 8 Change-Id: Iaf5b68ff6d944ae730ca0b1d5832172c106a6c08 Partially-Implements: blueprint centos-rhel-8 Partially-Implements: blueprint centos-rhel-python-3
2020-01-20Revert "Debian/source: do not force tag in build jobs"Radosław Piliszek1-1/+0
This reverts commit ca4da16836e4b3ef1d84059a63378c3f5bb2517e. This is adapted to revert only the missed part of aarch64 publisher which now blocks publishing for debian. Change-Id: I02932857454bdb09b72f539038d394760457109d
2020-01-14Debian/source: do not force tag in build jobsMarcin Juszkiewicz1-0/+1
Multiarch publisher uses 'branch-arch' so set it in kolla-build.conf file. Change-Id: I1af17edc9671237d270c5c6fe70e4420199bdb02
2020-01-14Merge "CentOS 8: Don't force tag in build jobs"Zuul1-1/+3
2020-01-14Ubuntu: use local APT mirrors if possibleMarcin Juszkiewicz1-1/+1
APT has a way to fetch mirror list and autoselect best mirror. Change-Id: I8209770ca1353fd89aacef0859ca3a373645c6b2
2020-01-13CentOS 8: Don't force tag in build jobsMark Goddard1-1/+3
We should allow the tag set in kolla-build.conf to be used for the image tags, since our deploy jobs need to set it to change_XXXXXXX when images are built for the job. Change-Id: I705514ee0249ff1d309e280001d653271e3686af Partially-Implements: blueprint centos-rhel-8
2020-01-10CI: use Debian/Ubuntu mirrors in base imageMarcin Juszkiewicz1-6/+3
So far we built 'base' image using upstream mirrors and then replaced them with OpenStack infra ones. Let do that right after we copy own APT sources.list file. Change-Id: Icb745f628c1c50d9f20df022b08ddc46fccc270c
2020-01-10Use Debian mirror in CI jobsMarcin Juszkiewicz1-2/+11
There is Debian mirror on each CI worker so we should use it. Change-Id: Id3b55ac470a977be7ee7decdef3b49e8d89a130f
2020-01-09CentOS 8: base and openstack-base imagesMark Goddard1-2/+17
Adds support to the base and openstack-base images for CentOS 8. These images have been removed from the list of unbuildable images, and replaced with all dependent images. Change-Id: I18fba8a5c2f99b700990cbf41c76077a1ec2408a Partially-Implements: blueprint centos-rhel-8
2019-12-16Add Debian/source aarch64 CI jobMarcin Juszkiewicz1-1/+1
AArch64 is getting popular and not all changes working on x86-64 work properly on aarch64 architecture. Let check them. Job is running in separate pipeline due to low number of aarch64 nodes. Authored-By: Xinliang Liu <xinliang.liu@linaro.org> Co-Authored-By: Jeffrey Zhang <zhang.lei.fly@gmail.com> Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Implements: blueprint aarch64-3rd-party-ci-kolla Depends-On: https://review.opendev.org/#/c/698606 Change-Id: I7e7802dfa4f4d9c61d01dba4b77c01cfb24301c0
2019-11-14Merge "Revert "Move to RDO Train packages""Zuul1-0/+4
2019-11-13Revert "Move to RDO Train packages"Radosław Piliszek1-0/+4
This reverts commit c78c82c9630b334cbaef040d68bce7e5ae8cc118. Change-Id: I61c68bf738673a96dd5ba256e40e8532364ff281
2019-10-29Merge "Remove /var/yum/cache from CentOS base image"Zuul1-4/+2
2019-10-28Remove /var/yum/cache from CentOS base imageMark Goddard1-4/+2
Since https://review.opendev.org/#/c/682600/, the following lines result in /var/yum/cache being present in one of the layers of the base image: RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("centos_yum_repo_packages"), chain=True, clean=False) }} \ {% for repo in base_centos_yum_repos_to_disable | customizable('centos_yum_repos_to_disable') -%} && yum-config-manager --disable {{ repo }} \ {% endfor -%} {% for key in base_centos_yum_repo_keys | customizable('centos_yum_repo_keys') -%} && rpm --import {{ key }} \ {% endfor -%} && /bin/true {% block base_centos_repo_overrides_post_yum %}{% endblock %} RUN {{ macros.rpm_security_update(clean_package_cache) }} This is because it is not cleaned in the first RUN statement. This adds 76MB to the image. Also, using two separate RUNs which results in an extra 23MB due to updates to /var/lib/rpm/Packages. Found via https://github.com/wagoodman/dive. Change-Id: I0302ee1dfc10a2b7df127ac6a7764a84b1d74a33 Closes-Bug: #1850036
2019-10-21Move to RDO Train packagesMichal Nasiadka1-4/+0
Change-Id: I396f929ecc11f87fb83585bedd39be93a605c57b
2019-09-17CI: CentOS - override mirrors ASAP + crmsh mirror overrideRadosław Piliszek1-13/+31
This makes mirrored repos used as soon as they are installed in the image, instead of hitting upstreams. This patch also adds crmsh override. Usable only after infra change merges. Depends-on: https://review.opendev.org/682576 Change-Id: Ic7494eff4c740b6e528da4508dc88a64e697bc04 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-09-12Drop Percona XtraBackup in favour of MariaDB BackupMarcin Juszkiewicz1-3/+0
XtraBackup started failing to install on Ubuntu and does not support MariaDB 10.3 version. Related-Bug: #1843043 Change-Id: I9cf62c8e03a02574d85e5349df1d23a51d4c99be
2019-07-03CI: Clean up Zuul repo mirrors for CentOSRadosław Piliszek1-10/+14
- unify RDO mirror definition with others - drop definitions of unused mirrors: grafana, elastic - clean up the process of mirror substitution: - use the more common style of sed d command - apply more specific substitutions Change-Id: Idad2c6956cca647d4c865d6f6149ea37164db568 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-27Merge "Clean up test process"Zuul1-1/+1
2019-06-25Remove Oracle Linux stuff in CI codeRadosław Piliszek1-23/+0
Oracle Linux is no longer tested via CI after [1]. This patch removes OL support from Zuul files. [1] https://review.opendev.org/664217 Change-Id: I527aba3635ef82e2d2a88ee7f5250bf03e420800 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-20Clean up test processRadosław Piliszek1-1/+1
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>
2019-06-08Fix issues with Percona in Zuul and clean up a little bitRadosław Piliszek1-2/+4
Percona site has connectivity issues from OVH hosts (of Zuul). This patch makes it so that: - the internal repo is actually used - RPM GPG keys are downloaded from the actually used repo - Ubuntu mimics the RHEL behavior (i.e. the Percona repo is enabled only in the xtrabackup image) extra benefit: no need for APT preferences for Percona repo to spare MariaDB deps Change-Id: Id27831f6b404762f9e44fd6bd1c4702bf06b05f8 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-07Debian/Ubuntu: allow to use unsigned repositoriesMarcin Juszkiewicz1-6/+8
When we run Debian 'buster' or Ubuntu 18.04 in CI job they refuse to work as infra mirror is not signed. This patch instructs APT to use unsigned repos anyway. Change-Id: I530fde5b57894afda2de98d7c217e735497e3feb
2019-03-15Fix lower-constraints and kolla CI jobsMark Goddard1-2/+2
Multiple fixes to fix multiple problems. 1. Bump setuptools requirement to 21.0.0 The 16.0.0 requirement breaks the lower-constraints job on Ubuntu bionic. We see the following error: AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader' 2. ubuntu-binary horizon image needs to use python3 for django manage.py 3. ubuntu-binary nova-placement-api image needs to use python3 for apache mod wsgi. 4. nova-libvirt needs exact qemu dependencies due to packaging change 5. OracleLinux repos definition was changed in official image. 6. Fetch InfluxDB gpg key for Ubuntu base image from influx server. Change-Id: Ic797d41f53a5f146d112619f1683cbfbf3a85dc2
2019-02-14Fix py36 gate jobMichal Nasiadka1-0/+1
python 3.6 pycache also includes links - so those also need to be removed Depends-On: https://review.openstack.org/636750 Change-Id: I0f995df45bf203acc79cc7bd52b9ac51577468da
2018-12-18Use infra mirrors for ODL and percona reposEduardo Gonzalez2-3/+4
Change-Id: I212a53b235f2785d93d474660c87a8521f3cc8b2
2018-09-19Fix epel mirror replacement in gatesEduardo Gonzalez1-0/+1
Change-Id: I7b74497931de5e2a89fc1a2b827a1cf6d64ab7e9
2018-05-26Bump Ubuntu base image to 18.04Jeffrey Zhang1-4/+5
Ubuntu 18.04 has been released. We need upgrade to it this cycle. Changes made in this patch - Bump ubuntu repo from xenial to bionic. Some repos do not have bionic packages, so still using xenial repos. - Drop mariadb, percona and nfs-ganesha repo, because these packages are already provided by Ubuntu official repo. - Since qdrouterd does not have bionic repo and xenial packages does not work on Ubuntu bionic, just add it into ignore image list. - Use python-rtslib-fb and targetcli-fb rather than python-rtslib and targetcli - use xen-utils package name rather than with package version one. - Seems unsigned repo won't work on Ubuntu bionic, stop using infra mirrored unsigned repo in gate building job. Needed-By: https://review.openstack.org/568728 Implement blueprint: ubuntu-bionic Change-Id: I4e3b0ca669cfbf6316bf591f2d8428fa1a0d6182
2018-04-03Merge "Revert "Seem there are some wrong in infra ubuntu repo""Zuul1-5/+4
2018-03-21Support push kolla tag image to hub.docker.com siteJeffrey Zhang1-1/+1
Change-Id: I8a21f60a37ba038e46c29d0bcff9ffbd2457a257
2018-02-26Revert "Seem there are some wrong in infra ubuntu repo"Jeffrey Zhang1-5/+4
This reverts commit 7b562990b5b717bb83d56673b368de9b355bb315. Change-Id: Id5f0e9532a7714a18125832d4f38bbe7bb849c84
2018-02-12Seem there are some wrong in infra ubuntu repoJeffrey Zhang1-4/+5
Revert this after infra ubuntu repo is OK. Change-Id: I8bbf8257d5a932b7e9f2e9a64d62cd5892e3f1bb
2017-12-04Change more repo url to infra mirrorJeffrey Zhang3-21/+38
Change-Id: I7e9fd2760ae3202f3a84833bb65edfdcffa67fe4
2017-11-28Improve gate post jobsJeffrey Zhang1-4/+1
- 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-06Dockerhub publisher jobMichal (inc0) Jastrzebski3-0/+72
This patchset includes pushing mechanism for daily periodic jobs. Change-Id: Ic4179ffd3a6e640abfb181dbd000bc75cc64b750