Commit Graph

22 Commits

Author SHA1 Message Date
Vladimir Kozhukalov 6537fe480e Add nodesets.yaml and stop using tmpfs for docker
Change-Id: I6fa07a45f491e7101f85cb90731611409a279719
2023-12-05 17:06:42 -06:00
Gage Hugo 8d56b69f5b Remove supported releases for placement
Placement is now ran by default for all latest supported releases
of openstack. This change removes the supported_releases field
to make sure each release of openstack we build now correctly
supports it.

Change-Id: I373f3f1e745d4af19f4266c48949c48d55e715eb
2022-03-25 21:33:59 +00:00
Zuul 57a75eba72 Merge "Enable Debian gate build and fix mirrors related issues" 2021-02-16 16:42:11 +00:00
Andrii Ostapenko 3e5730cd53 Enable Debian gate build and fix mirrors related issues
Also fixes related issue with distutils installation for Debian Stretch
and Ubuntu Xenial with py3: unlike in Bionic, distutils is installed with
python3 and python3-distutils package is not available in these distributions.

Run Debian build with py3 against stable/train, as master requires at
least python3.6, not available for distribution out of box.

Also increases job timeout to 5400 due to increased amount of builds.

Change-Id: I04c9253af80d941afb45231bee20f7bb1c4a96d4
2021-02-16 14:33:04 +00:00
okozachenko 181ef53369 Add monasca-api profile
Add zuul ci

Change-Id: I30760e6f7378c35d4afea837b238967509017da5
2021-02-05 18:26:14 +02:00
Andrii Ostapenko 3e78a46caf
Workaround unicode issue with py2 and scandir==1.4
Also move manila ocata to eol.

Change-Id: I0282b57ab27a51698f55294037dd3429d6a11416
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-08-01 00:37:22 -05:00
Tin Lam baa006471c Enable placement service gate
This patch set makes the placement service voting and publish the
placement image for OpenStack releases: stein, train and master.

Change-Id: If180168fb2f60ecc4c7da3074409ea2ae3d354d8
Signed-off-by: Tin Lam <tin@irrational.io>
2020-07-25 20:25:55 +00:00
Andrii Ostapenko d910229ce9
Allow to specify eol release for project and fix gates
There's a need to keep building images from eol releases. This commit
introduces ability to specify eol release for project and clone to
{release}-eol instead of stable/{release}

Octavia moved to eol, using ocata-eol instead.

Also fixes gates providing ensure-pip role to executor.

Also pins openSUSE image to 15.1

Change-Id: I041033bb6c9cfe193c4bae9a0b6b4028f4602c5f
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-07-03 10:36:44 -05:00
Dantali0n 92fe163fa2 Add job to build Watcher image with zuul
This adds a build job for Watcher images. This will help others use
Watcher with  docker / k8s.

Change-Id: I0e5c4ab57af66a69c16004b7b9cb3185fd6c8495
2020-01-24 10:00:23 +00:00
Andrii Ostapenko d5ff58a973 Update dockerfiles and gates
Introduces image build for bionic with py3 and nautilus.
Switches centos to py3 and fixes related issues.
Xenial is now run with stable/ocata.

Adds ability to skip specific build for particular component specifying
"supported_releases" in zuul component configuration. Sets
supported_releases for placement not available for releases prior to
Stein.

Removes redundant parameters for project reference using defaults
instead, as they relate to loci project, not to project we build
with loci. Also hard-codes parameters in playbooks/vars.yaml, making
it a definitive build configuration.

Change-Id: I7290203d80461f46ed70d5e3bea55c9765f9e746
2020-01-20 19:37:55 -06:00
Thomas Bechtold 01705a2b5d Add job to build Manila images
This is useful for people who want to use Manila (shared filesystem as
a service).

Change-Id: I57655313e1a53b7f8c91a9e03f4749273665037a
2019-08-12 09:21:49 +02:00
Jean-Philippe Evrard 6b00c1039c Add placement container building
Placement extraction from nova requires the creation of a new
image, with placement code.

Change-Id: I92bd875a1a8938d21948fe8d157095271b31b53c
2018-11-12 11:38:27 +01:00
Jean-Philippe Evrard f78e45c304 Build OpenSUSE Leap 15 by default
This includes the building of OpenSUSE Leap 15 in checks/gates.

As the build of each project requires the building of the
requirements first, added to the fact that a new distro is added
into the jobs, this extends the timeout for the base job beyond
the maximum time for requirements, so that all the projects
(excluding requirements) have more time to complete.

Change-Id: I73b055b3942a6d80b8474544a9d65df0b3005e15
2018-10-23 08:34:59 +00:00
Jean-Philippe Evrard baf6a5b524 Always build requirements image in the pipeline
Without this patch, the loci builder automatically consumes a
previously published requirements image when the project is not
"requirements". This also means the first step in checks/gates
for non requirement images would be to pull a requirement.

Currently there is neither a "pipeline" nor consumption of
artifacts between jobs. Which means the "requirements" build
and the other image build have to be considered as independant.

However, by default, the "non-requirements" image built is
consuming previously published "requirements" image, but not
immediately previous built requirements image.

This is a problem, as it leaves us open to a race condition
where a new build of "requirements" and "non-requirements"
can succeed in a commit, but would cause all the next
"non-requirements" builds to fail, as it is possible the
newly published "requirements" to be incompatible with
the next "non-requirements", as they are not tested together.

This should fix the problem by ensuring that "requirements"
are always built and consumed in the "non-requirement"
building process, instead of re-using the previously built
requirements. For this, project needs to be overriden to
build the requirement image, and therefore a new profile
'requirements' was added to the buildargs of the distros.
Requirements repo also needs to be cloned in the gating
environment, and therefore was added to all the required
projects.

This will also allow new branches to be created, as there
would be no need of a previous build and publish
of requirements in the gating.

Change-Id: I093e4dfc0eef03c47d2d029011fdb5429242ae79
2018-10-12 09:53:06 +02:00
Jean-Philippe Evrard 9857b45217 Make all the jobs voting by default
OpenStack test changes of main repos like nova, keystone, neutron
in the same pipeline.  These are meant to be delivered together,
and therefore I think the images that are built by loci should
be built together. It is currently in-line with current loci
code, as there is already many loci jobs like loci-keystone,
loci-nova, loci-neutron, in the main repository.

However, while all the loci-* jobs are passing, only the
loci-requirements is voting.

This is a problem, as code could (theoretically) merge while
breaking a test.

This should fix it.

Change-Id: I6173b57b2b2f79341a9c57acc1aa74f1a9d9facf
2018-07-23 09:51:42 +02:00
Chris Hoge 4b21c891f7 Make loci-jobs job voting.
Make all loci jobs (except for requirements) voting.

Change-Id: Ic1f87084e589dad5f526b8e6e163d709b0f47999
2018-06-16 16:53:08 -04:00
Iago Santos 44835dcd42 Adds octavia support
Change-Id: I9257f676861e3e23fd84fa1daa0ce92785bdb77b
Implements: blueprint octavia
2018-06-11 12:54:22 +02:00
James E. Blair f7491a4bdc Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I9d7fad04e0158a18baeb89441264b9202c358234
2018-02-05 18:40:50 -08:00
Sam Yaple aeff89ce24
Switch to loci org
The secret needed to be updated to make this work. Now we are pushing to
quay.io as well, both under the same loci namespace

Change-Id: I086aec21c2ebe69bcdf0aa25749280d8878f946d
2017-12-21 14:59:09 -05:00
Sam Yaple 8dbfa0f01f
Switch to non-voting gates to fix the gates
We will be switching to a slightly different job structure to prevent
this from happening in the future

Change-Id: I49457eae5055c519287c079e3942e9ebc4d4bcd4
2017-12-20 16:37:15 -05:00
James E. Blair 5fddd6a53a Zuul: add file extension to playbook path
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: I6f1d939c9b44811fbbad3e67bebed56308d2e892
2017-10-29 07:20:35 -07:00
Sam Yaple 847df312b1 Use zuul.d directory
This will help us manage our jobs and add new ones. makes it more
readable too in my opinion

Change-Id: Ifba83af0fa57d02fce058fa543bcba0f7441e073
2017-10-17 18:26:14 -04:00