- Use roles from zuul-jobs
- Unpin docker python package version. It used
to be pinned to 2.7 and it is incompatible
with the latest docker api.
- Also do not build Ubuntu Bionic images which
by default use Ussuri release (not supported).
Change-Id: I958677e3df88028d00ac0df812c0030419d517a7
The python2 is long dead and the PYTHON3 flag has been noop for a while.
Change-Id: Ia7be53e84090cc8b80e1dd5753ba1460ff454851
Related-Id: I3f4f60756887ad07229cf522803b30d4e16463cd
This change updates the version of centos that we currently
contain in the repository to 9-stream.
Change-Id: Ia4f4d6eaee6d9e272f5276ce961691fa980cd957
Due to an ansible upgrade, the docker_image tasks are currently
failing. This was due to a change in ansible, several values were
deprecated and moved/renamed.
This change modifies the docker_image task definitions to be
up-to-date with the latest ansible changes to fix the gate.
Change-Id: I653cd55256426f8fac3fce2fed460a14aa6b1d37
OpenSUSE LEAP is currently not in use by any known downstream
users and it has been broken for quite sometime, leaving the gate
in a broken state and unable to land any code. There's no active
maintainer for it as well.
Debian support was added by us (VEXXHOST) but we decided that
we're not going to continue using it and move towards Ubuntu, so
we do not want to maintain it, as well as that it is building images
for Train only.
It also updates the README file accordingly as well as includes
focal in there which has been recently added.
Change-Id: Ideb497c169828184d301b6be4359a7c2228aa444
We were testing against an EOL'd release of Debian, no one seems
to have maintained it so we should drop the jobs here to avoid
breaking things.
Change-Id: I233dd497caeeb8a03077c44b87ffb77d64755613
CentOS 8 builds are failing because the distro is EOL and the mirrors
have been removed from upstream CI.
If any contributors want to pick up fixing it, they can do that but
we need this to unblock the gates.
Change-Id: Ifec4d2021e0a87a79fc212aa4613d43ead5acf67
- Missing nss-devel-3.53.1 pkg on centos
- Commenting out leap15 job until the mirror are updated to 15.3
- Commenting configurations related to not yet set debian mirror
Depends-On: https://review.opendev.org/c/openstack/watcher/+/823606
Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: Idee88bd7eac1994fa899b22ccd3c6676a643583b
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
opendev luminous ceph mirror is no longer available for xenial ocata
build, thus using original location.
Setting locale to resolve salt installation failure for master.
Change-Id: I8b25d7ddf5432de65cfd814193e10afee516fd1a
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
The repository was changed by the OpenDev infrastructure in order to
properly mirror systems, this change reflects that modification.
Change-Id: I93ea021810568a7998c99958c622aacb3d39e908
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>
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
This ensures some python3 testing is done in our gating.
Leap 15 will mostly be python3 only, so it makes sense to test
python3 with Leap15.
Change-Id: I40661f49a13f60c91f6ac73479e4aa3927ec4f58
Individual Loci gate jobs are failing about 1 out of 10 times.
Remove async to help debug and remove potential instability.
Change-Id: I3a3dbeebe4c5c928c21181500a7e07be4015b858
Cleans up the comment style to remove author names and clarify
the comment as it relates to the code. Using the NOTE (NAME):
format is redundant and takes away attention from the purpose
of documenting why an action is being taken.
Also updates status of TODO and FIXME items, including removing
code was a workaround fixed by a recent patch.
Change-Id: I2e087be1e204c618d1dbe499b3f69eae34ce656f
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
This will allow us to create jobs with branches to publish
images for different upstream branches direcly in LOCI.
Change-Id: I57e6cadd647e2bb624da4fea9749534de4617926
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
This includes a small optimisation to make sure the packages
are passed as a list instead of iterating over them in the apt
commands.
It also ensures the argument "recurse" is passed into the copy
argument, as this was not done previously.
Change-Id: If93fda5a2efad550b5d58e215f2f7ef9a06cdacf
Bindep sorting is in gates will return a different, less natural
sorting, than what humans would naturally do.
This changes the behavior of the sort to take the -f argument,
which would mean a case-insensitive (and more natural) sort.
Change-Id: If680e0df83250f45a6a087912c0bcf38288ce4c7
Sort bindep.txt alphabetically to more easily allow new additions. Also
add a small check to the gate to make sure it and pydep.txt stay this
way.
Change-Id: I7ac98db6538fbc49392b6f385645298bc1c6addd
Upstream requirements generator has a bug and is not pulling in
enum-compat. lower-contraints.txt has it strangely. This is the quick
fix to the issue.
Change-Id: I7c8bfbb89f13db1c251e762dfaf2020fa1f2fdc8
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
We cannot build python-qpid-proton pip package on debian due to it
having 1.1.0 openssl. This seems like a lesser used package, so for now
we will just skip building it and give the world some time to resolve
the issue.
Change-Id: I4af88cb57ce2fc614d373c83cf3745c4aaaa5c7b