40 Commits

Author SHA1 Message Date
Riccardo Pittau
ef33cc89e7 Move jobs and DIB builds to ubuntu noble
Change-Id: Iafb7606d57e69a88a0dfe36673d1489820551ede
2024-12-23 11:08:50 +01:00
Sharpz7
1458cbabd4 [codespell] Adding CI target for Tox Codespell
Third in a series of commits to add Codespell to Ironic Repos. This commit adds the Tox Target to CI

A future commit could potentially add a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: Ica261e5e528bde8ec4f1627f3560e8c2022e3370
2024-01-26 04:11:47 +00:00
Dmitry Tantsur
2a1c289cc5
Switch IPA building to Debian Bookworm
Bullseye has a broken lshw [1] so it will not work.
Fixes an issue with the firmware repo renaming in Bookworm.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002025

Closes-Bug: #2043112
Change-Id: Ib0cb156b72e6fa90e1530796e81a9a41ffa9e54f
2023-12-08 15:43:55 +01:00
Julia Kreger
732852f31f CI: Change image-build to use Ubuntu Jammy
It appears openstack/project-config is still set to focal for image
artifact builds/uploads. After discussing with opendev infra team,
we think we might be crashing the host vm on the focal kernel
leaving us with minimal information to troubleshoot.

The cleanest path forward is to match what we run the check job on
which is Ubuntu Jammy, as a data point before we change the overall
project-config.

Change-Id: I9d6581132569b4a921e8cbc0a1b10c73a6aeba0d
2023-09-21 10:29:28 -07:00
Riccardo Pittau
607ecace37 Add a non-voting ubuntu arm64 build check job
Adding it non-voting for the time being as the standard ubuntu
build check job is also non-voting

Change-Id: I3c166dca2db48546dd18f975ef761552f9d40cdc
2023-04-19 16:56:55 +02:00
Riccardo Pittau
8cad404502 Move ubuntu jobs to jammy
Remove focal support
This is long due

DO not use tmpfs to build the jammy image, use the disk space instead.
This is to avoid increasing the tmpfs mounted partition, we have 80gb
disk space available.

Change-Id: I6d6ebbb217886ed0e65137b8c8f0825d97abec81
2023-04-12 13:57:53 +02:00
Riccardo Pittau
f997078c99 Collect disk usage info post CI jobs run
Add extra-logs playbook to collect more logs in the post phase.

Change-Id: I4f9144f45a8c38b098ed67b2fdacffd3a596ae0d
2023-04-12 13:19:46 +02:00
Riccardo Pittau
cee31aad80 Remove ussuri CI jobs
Also remove ussuri exception for tinyipa build

Change-Id: Ibec5c50472901e71b275288302d63fe8824df853
2023-04-03 17:17:32 +02:00
Zuul
9d5ce06ac0 Merge "Remove support for openSUSE since Python 3.6 is no longer supported" 2022-07-11 00:42:24 +00:00
Riccardo Pittau
020c4b3495 Remove CentOS Stream 8 leftovers
Change-Id: I74bf0eeaf5012728a5f738826b3adfb3ba24c9df
2022-07-06 11:29:15 +02:00
Dmitry Tantsur
cd3408613a Remove support for openSUSE since Python 3.6 is no longer supported
The conditions are left in the code in case someone somehow make it
work. We can clean them up later.

Change-Id: I65f6da0e90560c00eb82e8e4366fdaf3bbde8da1
2022-05-18 09:48:49 +02:00
Dmitry Tantsur
d543aa8bf4 Remove support for distributions with Python 3.6
IPA can no longer be installed on them, other projects will follow.
Leave the jobs in place for projects that consume them.
Publish Stream 9 images (we'll need to clean up tarballs.o.o later).

Also force using Python 3.9 for tinyipa.

Change-Id: I350c563c1c4ab60ac10d7c9e4bb0715bfde1b1db
2022-05-13 12:25:25 +02:00
Zuul
8fd98f24b6 Merge "Remove ussuri job" 2022-02-14 22:12:09 +00:00
Riccardo Pittau
578d27c142 Remove ussuri job
Ussuri is EM, reducing CI commitment

Change-Id: Iedbecb6d9e51d3a511846b4b16adcdf6508426de
2022-02-09 10:08:00 +01:00
Riccardo Pittau
8315c5d91f Use debian current stable for dib
The current stable release for debian is bullseye, this patch switches
dib-based images to that version.

Change-Id: Id607d7697c0aa8464b533047a4e5938648a0e25b
2022-02-01 15:31:26 +01:00
Steve Baker
66206d0b27 Remove centos7 job, python2 support
This change does the following:
- Removes the centos7 job, it uses python2 even though python2 was
  dropped from IPA in 2019.
  (see Ifd0e0b99bb82a7d7e82d6c14309468196f5734fc)
- Allow 60-ironic-python-agent-ramdisk-install to assume python3 and
  the venv module, the remaining centos7-python3 job will also test this
- Replaces the pip-and-virtualenv element with ensure-venv.
  pip-and-virtualenv exists to install virtualenv for python2
  environments, and it is unmaintained and mostly technical debt.

Change-Id: I9b6e03f50a4eb2484a04748e51d7348401b6ca04
2022-01-21 13:35:01 +13:00
Riccardo Pittau
b1af22174b Build and publish arm64 debian based ipa ramdisk
Change-Id: Ic9a79fe9192ae09b13d7722dd5735ffc7709ce38
2021-11-15 08:21:56 +00:00
Zuul
af5f55496a Merge "Use Ubuntu Focal instead of the default Bionic" 2021-09-14 09:39:10 +00:00
Zuul
9e2af38300 Merge "Preliminary work to support CentOS 9 Stream" 2021-09-13 16:39:13 +00:00
Zuul
68ba6f33c9 Merge "Stop explicitly supported Fedora" 2021-09-10 22:14:41 +00:00
Dmitry Tantsur
c3186b9bf6 Use Ubuntu Focal instead of the default Bionic
Change-Id: If64f92f311e314f8c17a74c62e4f5d8c70fe58f9
2021-09-10 12:45:21 +02:00
Riccardo Pittau
3a4db0790b Use native Centos 8 Stream for dib images
Change-Id: I0ba0a529f470a3356340f0c4d9ccc32f669cedc0
2021-09-10 12:40:35 +02:00
Sagi Shnaidman
09dcdedf00 Preliminary work to support CentOS 9 Stream
Changes package mappings to default to Python 3. Unfortunately, the
build does not work yet because of some issue in DIB.

Co-Authored-By: Dmitry Tantsur <dtantsur@protonmail.com>
Change-Id: I88c1ec2590d280745daa6c8b3aa9a719f5d96e72
2021-09-10 12:17:21 +02:00
Dmitry Tantsur
f21e6dddfc Stop explicitly supported Fedora
It's a moving target that keeps breaking. Right now it's broken because
removing openssl-devel causes removal of dkms, which DIB insists on
installing.

Document the supported distributions based on what the CI runs
(yes, it's Ubuntu Bionic and openSUSE 15.1, there is no mistake).

Change-Id: I08263751ca158db5883d95407ad0f3c9807826eb
2021-09-10 12:15:05 +02:00
Dmitry Tantsur
a601b56da6 CI: specify Debian version explicitly
Change-Id: Ie89a403ff17b4d05cd5e4ef6d28e86643c458486
2021-09-10 11:43:09 +02:00
Zuul
93292bfd57 Merge "Fix: IPA image building with OpenSuse." 2021-04-08 11:28:18 +00:00
smoshiur1237
853e3f73b2 Fix: IPA image building with OpenSuse.
At this moment the IPA image building with OpenSuse is broken and missing compatible packages for installation. Also, setuptools upgrade, svc mapping and package mapping are necessary for openSuse specific task. This PR will solve those issues to build IPA image with OpenSuse base image. There is another PR opened in diskimage-builder, which is adds small change for opensuse specific settings.
Depends-On: https://review.opendev.org/c/openstack/diskimage-builder/+/778723

Change-Id: I0a99d6313a38260973c1f725e2daed8d930da6c1
2021-03-26 09:23:20 +00:00
Riccardo Pittau
2e420cdd30 Add a job to test tinyipa in ussuri
We create a test job for the original check so that we can leave that
untouched.
This is to avoid override-checkout conflicts when the job runs on ipa in
ussuri.

Change-Id: I1d710b252b177c0364e6fa8a1407695feeb46927
2021-03-17 14:52:21 +01:00
Riccardo Pittau
166840a3fd Use ussuri branch for tinyipa check job for ussuri
Change-Id: I909fac883851fa28659ca0a29081d9cf8dbc8a71
2021-03-16 17:38:11 +01:00
Riccardo Pittau
933597744a Add tinyipa ussuri jobs
Add definitions for tinyipa ussuri jobs, we need them to point to
ipa-builder with tinycore 10.x as ussuri CI platform is still based on
ubuntu bionic and the kernel would be too old to use tinycore >= 11.x

Add a non-voting job to keep an eye on it

Change-Id: I0cadc636f7ae29dd289e4455c11c1549a02475df
2021-03-16 15:08:01 +01:00
Riccardo Pittau
55972ab6fb Reconfigure tox.ini
Update minversion of tox to 3.9.0 to support inline comments [1]

Remove test-requirements and move pep8 requirements to tox.ini

[1] https://tox.readthedocs.io/en/latest/changelog.html#v3-9-0-2019-04-17

Change-Id: I5875b1ab383fef4bc49432e678e38941a7f5763e
2021-01-23 18:52:04 +01:00
Dmitry Tantsur
db238b9c99 Make the debian job voting and start publishing debian images
With only 270MiB in size, the Debian images are likely candidates
for our future default images. Given that CentOS Stream 8 images
are nearly 500MiB in size, Debian may be our only path forward.

Enable installing firmware on Debian images to make them suitable
for bare metal installations.

Do not try to install biosdevname on non-RH systems.

Change-Id: I2c2a71c4afd0cd534961317b7fe9d3fb5d007d24
2020-12-16 19:48:49 +01:00
Julia Kreger
0e59d168e1 Revert "Switch images to CentOS Stream 8"
This reverts commit
0d16bee11bcebfac5f9040ef00f2406a06ccf36b.

It is being reverted as the centos stream images
contain extra, un-necessary libraries and packages
installed which swells the ramdisk size up substantially
and is causing failures in CI as the compressed image size
expanded by about 100MB, and uncompressed the stream images
are 1.1GB.

Change-Id: I71eed30c27c109ac03d41e6ec46067148eb9b007
2020-12-15 14:03:39 +00:00
Dmitry Tantsur
0d16bee11b Switch images to CentOS Stream 8
Regular CentOS 8 is deprecated and is planned to reach EOL in 2021.
Use CentOS Stream which will also give us access to bug fixes and
features earlier.

Change-Id: I485271ade7594f7c4d17ed81aa677679ef4fb49e
2020-12-10 15:48:18 +01:00
Riccardo Pittau
ee911532a1 Run check image jobs on ubuntu focal
We should really move forward and run all the check jobs on ubuntu
focal when possible.

Change-Id: Ia30d2dbc4a9705375d5d5b18e795892c3891454f
2020-11-25 08:58:30 +01:00
Riccardo Pittau
b6b818f9c4 Remove nodeset from ironic-python-agent-build-image-base based jobs
The nodeset is already set to ubuntu-focal in the parent job [1]

[1] https://opendev.org/openstack/project-config/src/branch/master/zuul.d/jobs.yaml#L8

Change-Id: I023a580035ea2336964329d514377ea634936c7d
2020-11-25 08:55:43 +01:00
Riccardo Pittau
46bf9e0f13 Use centos element for dib on focal
Using centos element to build centos8 based image with dib.
The centos-minimal element can't be used on ubuntu focal at the
moment because of missing components (e.g. yum-utils) used by
diskimage-builder to bootstrap the image.

Change-Id: I074abf442280eaee5616b95401fa84bb6fff99ea
2020-10-13 12:13:29 +02:00
Dmitry Tantsur
8adfcc65c6 Add an element to install python-hardware
Requires returning EPEL support because of some dependencies.

Co-Authored-By: Mark Goddard <mark@stackhpc.com>
Co-Authored-By: Will Szumski <will@stackhpc.com>
Change-Id: I8da33dabda34e626baf6e7895fc450973d0a8fef
2020-09-24 14:39:57 +02:00
Riccardo Pittau
def99cdaec Build centos8 on centos8
Use centos8 nodeset to build centos8 based dib images.

Change-Id: I4f795ab5036c6f6e9e43fbef2d858bc3b4acc47a
2020-08-28 09:47:01 +02:00
Riccardo Pittau
bf4d98afc9 Move zuul config in zuul.d
We reached a point where the jobs list and their configuration
needs to be split and go into dedicated files.

Change-Id: Icc98ffe706615b72682b550ed05e9ab23870f09e
2020-08-25 14:21:04 +02:00