By default kubernetes wants to use the local resolvers on the host
system. But in many cases the local resolver may be 127.0.0.1 which is a
different localhost on the host system then in the container network
namespaces. To address this disconnect you can supply a different
resolv.conf with a list of nameservers to use instead. Add support for
this.
Note that the test currently only uses ipv4 resolvers because by default
k8s has no support for ipv6.
Change-Id: I3c0d7d88613e2c9112e809f036aef3dfeaf7ab72
In addition to the main subunit file from zuul_work_dir,
collect the subunit files from the elements (directories)
of the zuul_additional_subunit_dirs list.
The default behavior is unchanged.
Change-Id: Ic3bc76aa104951bcc0c186347196067342e28751
When an image build fails we're still trying to push the image to
the registry. This isn't going to work, as there is no image to
push since the build failed.
Add a check for the job being in a success state for if we're
pushing images. This way we can properly report FAILURE instead of
POST_FAILURE.
Change-Id: Idba5c8997111c6e84b44bc970394b58387519666
Some jobs need to start with a clean slate of firewall rules so that
they can manage their own rules. Add a simple role that clears out
everything.
Change-Id: I92d3b02a6bd4f19460294ca5293dfbbd67bfd295
So that the artifact "name" may be used for human consumption,
switch the download-artifact role to use the metadata.type
attribute of the artifact.
This deprecates the download_artifact_name role variable and
adds _type as a replacement.
Change-Id: I1c4a4be7d1599b233b56fe73117ff097b8ad381a
This is designed to be a flexible system which can replace
the current ad-hoc mirrors used by the configure-mirror
and other roles in this repo.
Change-Id: I20adef837c5f961624fe0f7adbc93d2cf8f7761a
Avoids the need to add complex bindep.txt on each repository that
uses molecule by adding the boostraping of dependencies directly
in the job definition.
This was already tested on CentOS/Fedora/RHEL via
https://review.rdoproject.org/r/#/c/21486/
Change-Id: I2a3b1143b566b31fb866f7c3ecae7ff0276cb246
pep8 jobs should not require database setup, etc, so we can skip
running test-setup.sh to save time.
Also, address comments from https://review.opendev.org/670120 and
use a block to not run the stat if can we will skip using the file.
Change-Id: Ia140b331ae1502fcf1f685faa6dace117d77d35d
This allows jobs which inherit from unittests to specify that
the test-setup script should not be run. Some "unit test" jobs
are simple enough that they do not need to perform costly setup
for a full test run.
Change-Id: I5826bed411c42f9b3e0477b351bd82bd964d2fac
Gentoo tests were missing in the initial patchset, add them.
Sort multi-file list entry alphabetically.
Change-Id: I2f3b2bd9522b06bfe45f233542febffc875d9399
The role will now use a known functional set of packages based on the
version of python being defined.
To allow users to add packages to a known functional version of
sphinx the variable `doc_building_extra_packages` has been added.
This option will union with `doc_building_packages`, installing all
python packages in a single set.
The releasenotes pre playbook has been updated so that it no longer
overrides the default package set when calling the "ensure-sphinx"
role. The playbook will now use the `doc_building_extra_packages`
option and include only the additional packages it needs. This change
allows folks to rely on the role to setup sphinx correctly without
needing to overriding everything.
Change-Id: Ib3d2fda164b173c82f17fabc20814753bfeaec6e
Signed-off-by: Kevin Carter <kecarter@redhat.com>
The fetch-zuul-cloner and use-cached-repos roles rely on an
unrelated repo appearing in required-projects. To allow us to
move this repo to the Zuul tenant, change that to
opendev/base-jobs, a repo which will appear in both the current
and future tenants.
Change-Id: I06703638b69d94531ad396224669980db9ababd4
The single-node base role integration jobs use fedora-latest and
debian-latest nodesets, but because the multinode jobs must define
their own nodesets, that isn't really saving us any effort. Instead,
since we have a script to generate these anyway, let's just use
the real label names for both jobs.
Change-Id: I48972366af1943168ba0b0d5a4b89cade5361e47
These are jobs for the roles in this repo which are currently
tested by the "base-integration" job in openstack-zuul-jobs.
Move it into this repo and rename it "base-roles".
Change-Id: Ibd07964a08120e033bc5a2deca18649bd0e74a48
This automatically creates platform-specific versions of jobs
with special tags. The changes to existing files are minor
cleanup from running the script.
Change-Id: I818b240b32610a00d717e021494d2e4d8e518c32
We are about to grow a *lot* of jobs in this repo. To make
the project-pipeline config manageable, shard it into a
each of the jobs files. This will make it easy to add all the
jobs in the file to the project and avoid having a single giant
list of jobs.
Change-Id: I9677214ead6e5ce62153d64987bb54ebab2856e3