Since ipa-builder is branchless its code is used directly from master to
test ipa in stable releases.
The iso has been fixed only recently, and since we need to use
ipa-builder version 2.2.0 in stable/ussuri to test, build and publish
the ipa ramdisk, we can't also build an iso in CI or the build job will
As a result we do not buildi an iso for ussuri ironic-python-agent.
Verify we're able to build a tinyipa iso.
- use bash in build-iso script
- account for filenames with branch names in them
- Fix isolinux.bin path
The correct location is now under bios/core
[...]/syslinux-6.03$ find . -name "isolinux.bin"
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.
This reverts commit
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
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
CentOS 7 uses Python 2. Although it's possible to install Python 3
on it, it not trivial with DIB. We should rather switch to
a distribution where Python 3 is the default version.
As a nice side effect, the CentOS 8 images seem smaller.
The CentOS 7 job definitions are kept around since they're used
For tinyIPA, migrate the generate_upper_constraints script in-tree.
For DIB, use a source repository with requirements to fetch
upper-constraints. As a nice side effect, it allows depending on
requirements patches in the CI.
We seem to be hitting occasional failures to DHCP in time, although
DHCP itself seems working. Try increasing timeout from 30 to 60.
This variable must be executable, so using True won't work. Since
true is the default in finalise-tinyipa, remove the explicit setting
from the role.
Also remove this variable from build-tinyipa since it's not used there
and update the documentation accordingly.
This patch starts "ansiblization" of the image building script, while
also cleaning it up. More importantly, it adds check and gate jobs
that verify the same playbooks as used in the post job.
Also correct source-repository for ironic-python-agent to use the
project name, not the old element name.