There may be broken symlinks within the log directories, those fail with
an error when os.stat() is executed on them. Let's just skip those.
Change-Id: I3e6982c53a08f57ac0e592b8a0041bbb39812d1f
Some repos produce intermediate PDF files, for example from svg files,
and thus we have multiple PDF files.
Change the PDF fetching to a list of pdf_files which can be supplied,
the default is the name of the repos with ".pdf" attached, like
"octavia.pdf".
https://review.opendev.org/#/c/667249/3 illustrates the problem.
Change-Id: I5d3b6d6c2884ba66bdd35639b023d6d76f64ac01
This enhances fetch-sphinx-tarball to fetch PDF files as well if
they are published
For now, it collects a single PDF file since sphinx only generates one.
The name of the PDF file is not known in advance.
The publishing is done with https://review.opendev.org/678142.
This will then be used by https://review.opendev.org/664555.
Change-Id: I872ab1f696495dc40cb845e0eee5f6f0ffe892d8
Import keystoneauth1.exceptions to access the exceptions. HttpError
also lives under "exceptions.http.", so update that reference.
Change-Id: I4afe8c9fc8239a31d62a2a1d09794211b5066472
this is a partial revert of Ifd270cbc2d4bd42418b89a3b3061748ce537ae42,
we do not need sphinx_output_dir anymore, the single use that needed it
has been changed.
Change-Id: I95543b1a56c04dbfb8591612e4c48be0d8631633
This adds a generic retry handler that takes a callable, and uses
that not only for the exsting retries around the POST call, but
also the actions when creating the container.
Change-Id: I910b8e886f107d4fe38a9334ba836f010f92557c
If we get an unexpected exception, it's helpful to know the
cloud and region involved. It's also nice to return that information
for maybe better readability.
Change-Id: I1c589744103512d981e64e1a3f9506d40e1bf4cf
We don't need this here - let's change openstack-manuals instead.
This reverts commit 75ae975235305b7a832dd0dc7c8d4ce540df4794.
Change-Id: I9611950a391823efd2f7d2187da0992f00e0e454
This adds an extra variable to the role which can be used to
better control the URL which is returned as the artifact.
Change-Id: Ifd270cbc2d4bd42418b89a3b3061748ce537ae42
This parameter was deprecated. Now it should be removed so that
the name field can be freed up to be a human-readable name.
Change-Id: I0ace733e037ebeffcaf516332e7c5b48b3c7a1a3
Extend the Debian/Ubuntu mirror_info design to accommodate the
parameters required for sources.list entries, and more closely match
the scheme and terminology for them to what is described in the
sources.list(5) manpage.
Change-Id: I0e3cdfeaff838484a9dd0a8cace134c9f8e94650
With the arrival of ansible-lint 4, Jinja2 variable expansions must
include spaces before and after the variable name inside the
brackets.
Adjust the new violations accordingly and remove the rule
206 exclusion.
Change-Id: Ib3ff7b0233a5d5cf99772f9c2adc81861cf34ffa
For running job on RHEL use openvswitch from RHEL8 deps repo,
because centos queens openvswitch causes conflicts with RHEL8
version.
Change-Id: Ia09227cb28ec4a4f9bdbb664b9c7caf714043e31
The CDN setup that rackspace has requires that the
Access-Control-Allow-Origin header be added to each object uploaded.
Change-Id: I0f6af613e2ebcf9cfe835dc8018a73922f9f0ed5
When creating containers, add a CORS header which allows access
from any host, so that the zuul web app can fetch.
Change-Id: I013265643a8fcb4cff001375136c2c37958fd97a
Rackspace only provides unauthenticated access to object storage
via CDN in a non-openstack-standard way, so we need to do some
extra work to support that.
This also adds a helper script for testing which deletes a container
(since in order to do so, you may need to delete all the contents
first).
Some commented-out debug configuration lines are added for the
convenience of future developers.
Change-Id: I3d1fce824fb40136048f0988939d22f755236a59
With the arrival of ansible-lint 4, comparisons to literal boolean
values are now forbidden. Adjust the new violations accordingly and
remove the rule 601 exclusion.
Change-Id: I18ba2d7d41fabaff35d10d520037188c7d9d1249
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