Commit Graph

20 Commits

Author SHA1 Message Date
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.

Depends-On: https://review.opendev.org/684304
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
Depends-On: https://review.opendev.org/684765
2019-09-25 16:54:11 +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