Commit Graph

27 Commits (2e420cdd305f551ea75cb17b03ec54823a21daa2)

Author SHA1 Message Date
Riccardo Pittau 0a0e9014c6 Do not build iso for ussuri ipa
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.

Change-Id: I4801e87f5b3c37f113bfc9578c8e2aaa4d4f32f0
2021-03-05 09:23:19 +01:00
Riccardo Pittau 2f4f0320a4 Make sure we can create tinyipa isos
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"

Change-Id: Idce5d81ce83df121e521b7d26fd6523a378a0585
2021-02-22 15:58:34 +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

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
Dmitry Tantsur 83d628c4e4 Repair the previous image name
Since the migration to CentOS 8 we have been using 'centos' in
the published image names intead of 'centos8'. Fix that.

Change-Id: I65236379e93516c0fc447ce4d4edc89194e682b1
2020-11-24 16:50:40 +01:00
Dmitry Tantsur 4a415504f3 Add dynamic-login to our published images by default
It's very useful for debugging and does not expose access by default.

Change-Id: I3d34d65b5536a0a06184da44e12b8534c29300e5
2020-07-23 22:35:23 +02:00
Dmitry Tantsur 683feac160 Fix and return the CentOS 7 job
This job is used on stable branches and is currently broken. This
change introduces a workaround for older DIB and re-enables the job.

Change-Id: I100576c639649a69a8e95463ca87bedda4bbadc3
2020-01-20 16:08:56 +01:00
Dmitry Tantsur 79f597e183 Start installing DIB from Zuul-cloned sources in the CI
We need to be able to pick up fixes quicker than now and to use
depends-on with DIB changes. This change achieves it.

Change-Id: Ic6ab011370b08d06a5c914736949ead2cb498e56
2020-01-20 15:19:32 +01:00
Dmitry Tantsur 3c78c29e94 Replace CentOS 7 images with CentOS 8
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
on stable/train.

Change-Id: I6b23da21eab19c69f7b070adff76b35e1752bf8d
2019-12-26 12:37:59 +01:00
Dmitry Tantsur 86f9d22592 Generate checksums for DIB images
Change-Id: If8c0cdab5c443f7533873eef0d79673760bfa51b
2019-11-18 16:59:20 +01:00
Zuul f9ec4c5d16 Merge "CLI: add --verbose and --extra-args" 2019-10-31 20:11:25 +00:00
Zuul 51f53ab943 Merge "DIB: add --branch argument to override IPA branch" 2019-10-29 10:58:55 +00:00
Zuul 6fcc8dab8b Merge "Revert "Temporary raise diskimage-builder to the latest version"" 2019-10-24 09:05:12 +00:00
Dmitry Tantsur 07d27a573e CLI: add --verbose and --extra-args
The --extra-args argument allows passing arbitrary arguments to DIB.

Change-Id: I26be362263c08ea5cfe3bd265372ff5ab406d85c
2019-10-23 16:10:04 +02:00
Dmitry Tantsur f6bf7b97d5 DIB: add --branch argument to override IPA branch
Change-Id: I6954342e4c2d3936cdea415838849c31c84b77ac
2019-10-18 12:49:57 +02:00
Dmitry Tantsur 19f046112d Update upper-constraints handling
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.

Change-Id: I6be51b98adab641cfaa1613306cbdcc3b42de1c2
2019-10-18 12:49:28 +02:00
Dmitry Tantsur 3be5066aa9 Allow changing DIB_RELEASE and add a job with CentOS 8
Change-Id: Ia0e3897ba414827fb81ba7ca7367e86899ea455a
2019-10-16 15:10:02 +02:00
Zuul 8e6e24b63e Merge "Increase the DIB DHCP timeout to 60" 2019-10-16 12:32:08 +00:00
Dmitry Tantsur 67f29b8cb6 Revert "Temporary raise diskimage-builder to the latest version"
The upper-constraints have been updated.

This reverts commit aafcdd263d.

Change-Id: Iba1fa483e0e27b8ee30a21d5fb36868446ca25ae
2019-10-16 09:17:17 +00:00
Dmitry Tantsur aafcdd263d Temporary raise diskimage-builder to the latest version
The one in upper-constraints is breaking us.

Change-Id: I827a72a40c14bf439168aff86d4a5a493dc491a7
2019-10-15 15:24:10 +02:00
Zuul 2380586d2f Merge "DIB: do not mention dhcp-all-interfaces explicitly" 2019-10-09 18:45:25 +00:00
Dmitry Tantsur ee436f1478 DIB: do not mention dhcp-all-interfaces explicitly
It's a dependency of the ironic-python-agent-ramdisk element, so
it will be included anyway.

Change-Id: Id47b8ff78506a15045cf31a5f619649a0b3147ed
2019-09-30 20:44:59 +02:00
Dmitry Tantsur 396eca61bc Clean up the ansible playbooks
Change-Id: I7514368c591fb7cb445207a96c966275896ba4d5
2019-09-26 11:55:41 +02:00
Dmitry Tantsur cd76a4c752 Increase the DIB DHCP timeout to 60
We seem to be hitting occasional failures to DHCP in time, although
DHCP itself seems working. Try increasing timeout from 30 to 60.

Change-Id: I0cc0af440f954007f01bae4508f6853e1529913d
2019-09-25 16:54:11 +02:00
Dmitry Tantsur 1eee1c17a4 Correct usage of BUILD_AND_INSTALL_TINYIPA
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.

Change-Id: Ibe744121b863ef1265e5e3ead7ab13fef0855fc6
2019-09-25 15:53:20 +02:00
Dmitry Tantsur 98d6d62c3a Import ansible version of the image building job
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.

Change-Id: I9a404b24f95e47c84b22d4739fcf2b5b800886f9
2019-08-29 14:22:49 +02:00