1095 Commits

Author SHA1 Message Date
Clark Boylan
5c089bf032 Allow for overriding dns resolvers in install-kubernetes
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
2019-08-21 09:36:27 -07:00
Andreas Jaeger
04f4cecaec Revert "fetch-subunit-output: collect additional subunit files"
This reverts commit 8624201e0cc8b8860b4fe01994739a6828ec9615.

This breaks builds like in https://logs.opendev.org/01/673401/2/check/openstacksdk-tox-py36-tips/0e0bed9/job-output.txt.gz#_2019-08-01_17_04_29_549629

Change-Id: Ie4c8f966cfe72828a6ff9a7512948d6c55c62fde
2019-08-01 17:55:58 +00:00
Luigi Toscano
8624201e0c fetch-subunit-output: collect additional subunit files
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
2019-08-01 17:49:02 +02:00
Zuul
b194dc4e1d Merge "Add auth config to kubelet user for buildset registries" 2019-07-31 17:01:44 +00:00
Zuul
1d0584b012 Merge "Add mirror_info documentation" 2019-07-31 15:11:45 +00:00
Jeff Liu
2c33db2674 Add auth config to kubelet user for buildset registries
Change-Id: I3c6b434382aab2f7ef565808954873e9aa6b9b42
2019-07-30 16:48:27 -04:00
Zuul
1a955414f1 Merge "Fix typo in download-artifact" 2019-07-30 16:01:35 +00:00
Zuul
0cf9df50dc Merge "Update testing section" 2019-07-30 15:51:27 +00:00
James E. Blair
d940ecc30a Fix typo in download-artifact
Change-Id: Id7ebc574c03d936573c96f1d907f1238f55b344b
2019-07-30 08:46:05 -07:00
Zuul
c4aae4ffa5 Merge "Download-artifact: use the artifact type rather than name" 2019-07-29 16:14:47 +00:00
Monty Taylor
10cea0b22d Don't try to push images when the build failed
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
2019-07-28 14:07:47 -04:00
Clark Boylan
d480a536f2 Add note to clear-firewall docs
Change-Id: Ia5d4c777d71adfd9c75e7f2c836c5b6d8bf8c857
2019-07-25 14:29:52 -07:00
James E. Blair
97e8392fd8 Update testing section
This includes the new information described at:

http://lists.zuul-ci.org/pipermail/zuul-discuss/2019-July/000973.html

Change-Id: I346c03a55749cd6153e7fd52773039003d038d89
2019-07-25 14:17:41 -07:00
Monty Taylor
4a9d8b32e2 Add clear-firewall role
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
2019-07-25 14:12:53 -07:00
Zuul
a796a2cf48 Merge "Skip test-setup.sh in pep8 jobs" 2019-07-25 15:57:39 +00:00
James E. Blair
87b391c84a Download-artifact: use the artifact type rather than name
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
2019-07-24 09:08:55 -07:00
James E. Blair
02d9a29562 Fix typo in generate-zuul-manifest role
Change-Id: I763a7a6e95f08ba07b38ed6b1701fe16e2548471
2019-07-23 11:58:01 -07:00
James E. Blair
a74ff55816 Add generate-zuul-manifest role
Also, pin gitpython since it's gone py3-only.

Change-Id: I0d626945908ec4df785aea793f6243c6fdfbdb14
2019-07-23 09:43:55 -07:00
James E. Blair
7941c3bdad Add mirror_info documentation
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
2019-07-19 12:49:18 -07:00
Zuul
9efbcdf180 Merge "Add install-devstack test job" 2019-07-19 18:37:40 +00:00
Zuul
e9ee6799bd Merge "upload-logs-swift: option for disabling the indexer" 2019-07-19 17:52:11 +00:00
Zuul
9de3c4061c Merge "Install system dependencies for tox-molecule" 2019-07-19 07:56:29 +00:00
Zuul
79f80f0c01 Merge "Add add-sshkey test job" 2019-07-18 12:44:46 +00:00
Zuul
79346e8681 Merge "Add add-launchpad-credentaials test job" 2019-07-18 12:42:51 +00:00
Zuul
09006e905f Merge "Add dstat graph roles" 2019-07-17 22:01:17 +00:00
James E. Blair
a0e32e35ef Add add-sshkey test job
Change-Id: I7c1da5c1365de08c013cf925ebd3e4823155020c
2019-07-17 16:09:05 +00:00
James E. Blair
268f4f118e Add add-launchpad-credentaials test job
Change-Id: If530fdb7e4f928a6edf422a7d496068e42e72b1a
2019-07-17 16:08:55 +00:00
James E. Blair
5fee4cd753 Add dstat graph roles
Change-Id: Idc359579b307f5f156dfe5fb5aab5d99bdc46884
2019-07-17 15:45:24 +00:00
James E. Blair
f8f7034e65 Add add-gpgkey test job
Change-Id: I33206edb921ce778b1d9c9e10b5afa9ec27d1228
2019-07-17 08:40:04 -07:00
Sorin Sbarnea
440592a560 Install system dependencies for tox-molecule
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
2019-07-16 14:13:13 +01:00
Zuul
6cec9080a0 Merge "Advance ansible-lint cap to test with 4" 2019-07-12 06:31:19 +00:00
Zuul
fed920e672 Merge "Add add-authorized-keys test job" 2019-07-12 04:45:52 +00:00
Zuul
ad5bb692ed Merge "Normalize test jobs yaml" 2019-07-12 04:31:43 +00:00
James E. Blair
f7f9dd8141 Switch to zuul docs jobs
These are the replacement docs jobs for publishing in the zuul
tenant.

Change-Id: I23abcd6755e056086e26dff851e2f1e8a590991a
2019-07-11 16:42:32 -07:00
James E. Blair
2acc1f73a3 Add add-authorized-keys test job
Change-Id: I38e2a399717afb6855b80448658127b1be14cc7b
2019-07-10 15:22:11 -07:00
James E. Blair
6e54ba3251 Normalize test jobs yaml
This is the output of the update platforms script to minimize
future deltas.

Change-Id: Ie884073c3ad7f90199cc09ebe21fdf529ed02533
2019-07-10 14:42:46 -07:00
James E. Blair
aa461af6e4 Add install-devstack test job
This exercises the install-devstack role.

Change-Id: I47e1e6ff5ec9cea500385c6cb001bf9fa5a21cb3
2019-07-10 14:35:43 -07:00
Andreas Jaeger
7513629be7 Skip test-setup.sh in pep8 jobs
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
2019-07-10 19:02:57 +02:00
James E. Blair
9d8e765881 Add test_setup_skip role variable
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
2019-07-10 09:22:30 -07:00
Zuul
410907d004 Merge "Update the sphinx python package sets" 2019-07-08 18:34:43 +00:00
Zuul
85065c2640 Merge "Add test job for ensure-sphinx" 2019-07-08 18:29:59 +00:00
Andreas Jaeger
f7ba04b6fc Add Gentoo integration tests
Gentoo tests were missing in the initial patchset, add them.

Sort multi-file list entry alphabetically.

Change-Id: I2f3b2bd9522b06bfe45f233542febffc875d9399
2019-07-08 19:06:02 +02:00
Kevin Carter
167cc321f4 Update the sphinx python package sets
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>
2019-07-08 07:48:31 -07:00
James E. Blair
2759eeba55 Add test job for ensure-sphinx
This adds very basic testing for ensure-sphinx (it just runs the
role to see if execution fails).

Change-Id: I484f00c9c9a9c2c8b1a205065538b0ac8bf962b5
2019-07-08 07:48:28 -07:00
James E. Blair
2cece282cc Change the repo used in some base-roles tests
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
2019-07-08 07:45:09 -07:00
James E. Blair
87d597343f Don't use -latest nodesets in integration jobs
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
2019-07-08 07:45:00 -07:00
James E. Blair
4a76106743 Add multi-node integration jobs
Change-Id: I4a81f292acf993c8ab25c7cc36fddf704c485c6c
2019-07-04 14:16:15 +02:00
James E. Blair
a4e1f29468 Add base role integration jobs
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
2019-07-04 14:16:15 +02:00
James E. Blair
2f113a6889 Add a script to make platform-specific versions of jobs
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
2019-07-04 14:16:11 +02:00
James E. Blair
8945377001 Shard project-pipeline config
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
2019-07-02 15:52:03 -07:00