Commit Graph

28 Commits

Author SHA1 Message Date
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
Zuul 710ff8fa9c Merge "Update name of ipa job" 2020-08-18 21:57:00 +00:00
Dmitry Tantsur a28b8fa5bc Support installing with Python 3 on CentOS 7
RHEL/CentOS 8 dropped support for some older hardware that is still
in use. Since CentOS 7 has Python 3, let's support it for now.

Also fixes an issue with C.UTF-8 locale which does not seem to work on
CentOS 7 (and actually causes a failure with newer python packages).

Change-Id: I1b5797b030ef896ad4b2a95a504a0215ca6ee574
2020-07-31 18:12:28 +02:00
Riccardo Pittau 089ec16013 Update name of ipa job
Depends-On: https://review.opendev.org/738442
Change-Id: I3658286ed05ab6ec35b945adc23e8166f5f72ada
2020-07-25 21:52:31 +02:00
Sandeep Yadav a41ec9dc40 Add Tripleo IPA build image job in zuul layout
With this patch we are adding tripleo IPA build image job for C8:-

* tripleo-buildimage-ironic-python-agent-centos-8

We introduced this job as non voting.

Change-Id: If7e4e44e4f3d0606206e2212f7d8ca4945cd7ec7
2020-07-20 19:53:04 +05:30
Riccardo Pittau 82a1ba0c78 Build tinyipa on focal
Use new ubuntu-focal nodeset to build tinyipa images.
This is needed to prepare to build tinyipa images based on
tinycore 11.x because we need the new kernel 5.x version to
be able to chroot.

Main changes:
- patching tce-load to conform to new squashfs options in the new
kernel
- installing python3-pip instead of python-pip

Story: 2007753
Task: 39943

Change-Id: I3d8a1ab84cae3c7185eb4f9bfefe239fab49a012
2020-07-03 09:28:58 +00:00
Riccardo Pittau 16382930ad Use train branch for centos7 job
We save centos7 job using it to test train stable branch.

Change-Id: I73847d16ac7e045240dbc659021442dc0517e669
2020-02-20 15:05:39 +01:00
Riccardo Pittau ca27668c00 Make Ubuntu Bionic job green again
Changes to make the ubuntu bionic job working correctly again.

Change-Id: Ib8002acc35ddf3c4ab736698cef71273c965d732
2020-02-19 13:16:18 +00:00
Ian Wienand 718857cc8b Revert "Test artifact publishing via AFS"
This reverts commit f81f8f58f4bd68daeb7c168a4e7f2eaa05d15919.

Testing is complete.

Change-Id: Ieab3e2e92a214b7d38a0e9afaec35d28c0d9c121
2020-01-31 17:37:44 +11:00
Ian Wienand f854e34a15 Test artifact publishing via AFS
I'm requesting this job be temporarily merged for testing publishing
artifacts to an AFS volume instead of pushing it to a static server.
This is part of the efforts to retire our static.openstack.org server
and serve files from our distributed storage [1].

Because the publishing steps happen in the post phase using a secret
value in project-config to get the kerberos ticket for writing to AFS,
we have to commit changes to really test them.

This repository is a good user of the artifact upload process and a
good target for testing the changes on just one repository.

This adds a job ironic-python-agent-build-image-tinyipa-publish-to-afs
which is ultimately parented to the new
publish-openstack-artifacts-with-afs from project-config.  The only
difference is that this will upload the output to AFS, where I will
check that everything copied as expected.  We can then revert this.

Ultimately we will change the publish-openstack-artifacts job in
project-config -- this will be transparent to end-users such as this
repository as we will be switching tarballs.openstack.org to use this
at the same time.

Depends-On: https://review.opendev.org/705159
[1] https://docs.opendev.org/opendev/infra-specs/latest/specs/retire-static.html

Change-Id: Ib2ae8c2d9f59695ce7af5414f73e1f4bcc7ae462
2020-01-31 17:37:41 +11: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 60875730fd CI: add a non-voting partition-iscsi DIB job
Change-Id: I387a95c1d5fa51ee861cdbb1a1d24f447d1c031d
Depends-On: https://review.opendev.org/701950
2020-01-10 13:55:46 +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 3be5066aa9 Allow changing DIB_RELEASE and add a job with CentOS 8
Change-Id: Ia0e3897ba414827fb81ba7ca7367e86899ea455a
2019-10-16 15:10:02 +02:00
Dmitry Tantsur 59e683cfd7 DIB: add non-voting image building jobs for various distros
This way we can track if image building still works on them.

Change-Id: Ib86ce189a892eafdb9646063d45b484b81e16ce0
2019-10-09 07:48:02 +00:00
Dmitry Tantsur 396eca61bc Clean up the ansible playbooks
Change-Id: I7514368c591fb7cb445207a96c966275896ba4d5
2019-09-26 11:55:41 +02:00
Dmitry Tantsur f807d00a3d Add irrelevant-files to the image check jobs
Change-Id: I18b97b727f4ab564e3a65a8fa7da4b0c8c4f6dcd
2019-09-25 14:38:31 +02:00
Zuul 43a4b2338d Merge "CI: run a DIB job and make the inspector job non-voting" 2019-09-20 11:06:17 +00:00
Dmitry Tantsur cc42b38f38 CI: run a DIB job and make the inspector job non-voting
Now that we have a DIB job in IPA, let's run it here as well.

Since the inspector jobs are non-voting on both ironic and IPA,
make them non-voting here as well.

Change-Id: I25671ae979da27dbc67750c79ff7ae131b41ba19
2019-09-17 15:30:26 +02:00
Dmitry Tantsur 46d5727990 Correct a typo in zuul.yaml
Change-Id: Icad8b0dbaaf9a539ff5fc0772810fd3d9de07794
2019-09-16 12:29:18 +02:00
Zuul c0c2003e61 Merge "Import ansible version of the image building job" 2019-09-13 13:40:36 +00: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
Dmitry Tantsur 80da279c5a Run a standalone job in the gate
It provides extensive coverage, including softwar RAID.

Change-Id: I244c1471a62ec56ff6311e8f3a681e23986884cb
Depends-On: https://review.opendev.org/675937
2019-08-24 19:12:37 +02:00
Dmitry Tantsur ba2c967666 Add a full set of IPA jobs to the CI
We have managed to break the CI once already, let's make sure it
doesn't happen again.

Change-Id: Ie5232990d3b645fc395eb25b33dc09293693a732
2019-08-24 19:10:46 +02:00
Nisha Brahmankar bb4acb9650 Adding two tinyipa CI jobs in ironic-python-agent-builder
Change-Id: I49069292375c90c383e43d8162912b8eb2cf6ead
Task: 34171
Story: 2005114
2019-06-13 15:38:43 +05:30
Doug Hellmann 9f04837bdf switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I520e4b2ccd50ea74cf1320362aa59cab088650d3
Story: #2002586
Task: #24302
2018-08-16 09:44:47 -04:00
Doug Hellmann 3f186b6463 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I906e387d8f389b4c9718feac96cdede1ffb7487b
Story: #2002586
Task: #24302
2018-08-16 09:42:50 -04:00