Commit Graph

38 Commits

Author SHA1 Message Date
Michal Nasiadka 213e53e18a CI: Move ephemeral disk config to a role
Change-Id: Ieee71aa22f4ec45fe03f50fd697c85dda952b4d0
2023-11-08 09:57:32 +00:00
Michal Arbet 899545f4e9 [CI] Add podman build
Change-Id: I41b89ec87a4849668102ca9c9cc79f0ef9944b85
2023-09-21 11:01:21 +02:00
Michal Nasiadka 08c0a47409 CI: move debian jobs to bookworm
Change-Id: Iecea40e3fb60cca2a15c592872e325576ad9a1b1
2023-08-22 13:51:39 +02:00
Michal Nasiadka 58b265f46d CI: Ensure quay repo is public on publish
Change-Id: Ib49e7c51be552a9aad0526841e7cffe588189371
2023-03-27 12:19:08 +00:00
Michal Nasiadka e43317bc4e CI: update docker hub publish creds
Change-Id: Ieceadb1f56908ce752f48b0884ed5cf764bc1ecd
2023-02-17 17:28:41 +00:00
Michal Nasiadka 0883532434 Add RockyLinux 9 support
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/859570

Change-Id: I7af51d07b8a939c908aa072294061def57dd67de
2022-09-30 14:17:34 +00:00
Marcin Juszkiewicz 878b00013b Move to CentOS Stream 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-09-27 07:40:06 +00:00
Michal Nasiadka 9f25aac18a Move to Ubuntu Jammy (22.04)
mariadb - downloads.mariadb.com doesn't have jammy version, should
be there soon - using Ubuntu provided version for now

telegraf/collectd - collectd packages missing in Jammy - marked
as unbuildable
monasca - requires new librdkafka, no wheel for Python 3.10 for now

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/846070
Change-Id: I11b4fbcaba165824252902d0270ce1dbbc3d6e9d
2022-07-27 11:27:01 +02:00
Radosław Piliszek 3967e5c24b [CI] Move queue setting to project level
Per [1].

[1] http://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html

Change-Id: I46f03329853a2025bff20b7b60e35c06aba619eb
2022-05-18 08:05:21 +00:00
Radosław Piliszek f33ef03977 Revert "CI: add templated Dockerfiles to build logs"
This reverts commit 09c890b124.

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-15 13:37:18 +00:00
Radosław Piliszek fb8217c16a [CI] Do not set ansible_python_interpreter for Zuul
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-28 09:18:51 +00:00
Marcin Juszkiewicz eff3e6b9c1 CI: move to Debian 'bullseye' nodes
Now that we build Bullseye based images, do it on Bullseye.

Change-Id: I75d4e4ba52ffb27ac4e434b7b3c00812c5f3b86c
2021-05-04 09:05:43 +00:00
Radosław Piliszek 10d8f03c4e [CI] Publish images to quay.io on a daily basis
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-06 11:00:53 +00:00
Marcin Juszkiewicz be544f4e66 switch to CentOS 8 Stream
We use official CentOS 8 Stream image as a base.

So far Stream does not have own SIG repos
RDO Wallaby packages will be built against Stream

Kolla CI jobs are renamed to centos8s. Kolla-Ansible ones will follow
in later patch.

Change-Id: Ibb23c9d0caf115fcbba7bd322ecebe8d80b6821a
2021-03-10 11:15:18 +01:00
Radosław Piliszek 8e9323d236 Drop lower-constraints
Per our PTG resolution [1] and general OpenStack resolution [2], lower-constraints
are not worth the extra work and confusion they introduce.
This patch drops them along with all mentions.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-October/018445.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019521.html

Change-Id: I58807c27fd20c7269019e26e8b507744d35325f3
2020-12-18 20:10:47 +01:00
Mark Goddard 09c890b124 CI: add templated Dockerfiles to build logs
Change-Id: I702f8fba37e22a6bb45eae14f1fbb251bcdb4d8a
2020-11-17 11:37:03 +00:00
Radosław Piliszek 1ef537d65d [CI] Add no-infra-wheels jobs
Since Kolla is run in the wild against PyPI mirrors which do not
include the OpenDev-provided wheels, it might be nice to be able
to test these scenarios in the CI.

These jobs are added to the experimental queue so that they do
not consume resources when not needed.
Any Gerrit user may run them now to verify whether the change
passes them.

Change-Id: I9c33eeaf03be037651f82c831f0e07ab9a27752a
2020-08-12 09:57:37 +00:00
Marcin Juszkiewicz d2966452c5 ubuntu: move to 20.04 Focal
There is a time once every 2 years when ubuntu team releases new LTS
release. And then UCA joins with binary packages for current OpenStack
development cycle.

It is this time for Ubuntu 20.04 'focal'.

Depends-On: https://review.opendev.org/745156
Change-Id: I045aa6b4b4fd83fbe7d1fda89549f0ef1e88ec12
2020-08-07 14:38:02 +00:00
Radosław Piliszek 8500eaee2a CI: Ignore more
This aligns Kolla with Kolla Ansible.

Change-Id: I02ee643d0f46e6ff1ed376362b4ee35ddadf7960
2020-05-23 09:20:35 +00:00
Marcin Juszkiewicz d898534f15 CI: Fix Debian aarch64 jobs
Debian defaults to Python2 which is not complete in aarch64 images.

This patch changes CI to always use Python3.

Change-Id: Ie2582baf1cf47201e077d49d8c9102b1af9b2bd5
2020-04-30 13:55:05 +00:00
Marcin Juszkiewicz 584da06751 CI: add Centos 8 and Ubuntu jobs for aarch64
also simplify Debian job definition

Depends-on: https://review.opendev.org/718413
Depends-on: https://review.opendev.org/718363
Depends-on: https://review.opendev.org/718236
Depends-on: https://review.opendev.org/718238

Change-Id: I2c75dbc2ea063dd3507eaaf93a484c50acae5fb5
2020-04-08 21:11:44 +00:00
Radosław Piliszek c089eab392 CI: Avoid tox
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-04-03 15:46:11 +02:00
Radosław Piliszek a0087490ff CI: Ignore .zuul.d
Zuul handles jobs updates just fine, no need to run kolla build
jobs when touching .zuul.d for different reasons.

Change-Id: I201a194fa473a63b880cefc00febb543b40bcec8
2020-03-12 17:24:10 +01:00
Marcin Juszkiewicz d6935edb43 Add Debian/source aarch64 CI job
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-12-16 08:17:38 +00:00
Mark Goddard 6c86915597 CI: Move to CentOS 8 nodepool images
This change modifies the CentOS build CI jobs to use a CentOS 8 host
image.

NOTE: This does not affect the version of CentOS used as the base image
in containers built by kolla.

Partially-Implements: blueprint centos-rhel-8
Partially-Implements: blueprint centos-rhel-python3

Change-Id: Ie25b54a4e6116ed2bcb9c3b5c44eb6edbd2e6b49
2019-11-26 10:22:06 +00:00
Mark Goddard 98fb7dc8ff CI: Increase job run attempts to 5
Attempts affect pre failures.  This means we can increase stability of
jobs by rejecting nodes that fail pre without failing runs at the same
time (unless we are really unlucky and hit b0rken nodes 5 times in a
row).

This change is adapted from I17b7f878c742fa8db66f738526855a02ab9f1905 in
kolla-ansible.

Change-Id: Ied5d2cb8ffa47b90833ee3cf241797601906f9b2
2019-10-21 15:48:01 +01:00
Marcin Juszkiewicz 7e1d3eba92 CI: increase both limits to 3h
Our publishing job is barely managing to fit in 2h time so let add
another one.

Change-Id: Id9312830fb9961927ac8d317c432f52a4ad7af24
2019-10-04 02:44:36 -07:00
Marcin Juszkiewicz c8b2ee97b7 Add Debian/source CI job
For start just simple debian/source build job.

Depends-On: https://review.opendev.org/676896
Depends-on: https://review.opendev.org/676905
Depends-on: https://review.opendev.org/676909

Change-Id: I55e2b32c673f5e06458bec6e88184c3415f1f1fa
2019-08-16 13:21:29 +02:00
Radosław Piliszek c7ac0f0de0 Clean up test process
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-20 10:25:41 +02:00
Zuul 2dc9191c8c Merge "Bump CI post-run timeout to 2 hours" 2019-03-27 10:29:33 +00:00
Mark Goddard 6d58f7b3a2 Add some irrelevant files to build jobs
Change-Id: Ia3edc6a4993a4ed37d097e902f378761bc10f1cc
2019-03-14 15:28:53 +00:00
confi-surya 5eec015caf Run jobs on bionic instead of xenial
We want to migrate to the latest Ubuntu LTS release 18.04 aka Bionic.
This is just a patch to find possible issues before the real migration
starts. See [0] for the big picture.

Also test running tox jobs on Bionic.

[0] https://etherpad.openstack.org/p/devstack-bionic

Depends-On: https://review.openstack.org/610977
Change-Id: I748f26faf6f98e9693b5cd803577df1118121b41
2019-03-12 12:44:44 +00:00
Mark Goddard 5f0b33f52e Bump CI post-run timeout to 2 hours
We are seeing a number of POST_FAILURES in the periodic publishing jobs,
with jobs timing out pushing images to Docker hub. Try bumping the
post timeout to 2 hours.

Change-Id: I69b5610b712560e2d617933e639e77041953e21c
2019-01-11 14:29:27 +00:00
Mark Goddard 451d0fc023 Increase CI image publish job to 1.5 hours
Currently the job is timing out, and we do not have all Rocky images
published.

Change-Id: I5126dd27ae767c5965b9fdd3f079c7f1bc3034a4
2018-09-07 11:44:59 +01:00
Zuul 814bc1a4a0 Merge "Increase the post-timeout to 3600 seconds" 2018-03-15 10:56:02 +00:00
Jeffrey Zhang 864965c400 Increase the post-timeout to 3600 seconds
The default post-timeout is 1800, which is not enough to push images to
hub.docker.com.

Change-Id: If1e499c247f3eeb8452991cb18aea5b1fdad60a7
Closes-Bug: #1755416
2018-03-13 16:59:07 +08:00
Eduardo Gonzalez 01a5388169 Verify YAML syntax in gates
Test yaml syntax is correct on new changes.
Fixes current warnings and errors

Change-Id: I5888f8e4a9d27a08506036df2c564b9f2081ccee
2018-02-27 21:45:57 +00:00
Michal (inc0) Jastrzebski 17c7772419 Break up .zuul.yaml to multiple files
.zuul.yaml became long and hard to maintain, let's break it up by distro

Change-Id: Ic137927e61b8fc8c89d5b0bcb2557ab8d5528100
2018-01-03 14:49:55 -08:00