Commit Graph

7 Commits

Author SHA1 Message Date
Ian Wienand 6f43acde41 fetch-sphinx-tarball: don't run merge-output-to-logs
The merge-output-to-logs role is not doing anything in this test.  As
described inline, this merges files in
zuul.executor.work_root/<docs,artifacts> into the
zuul.executor.log_root directory so they are available in change
results.

Since this job doesn't publish anything there, this role is unused.

merge-output-to-logs currently can't run because it tries to run shell
scripts on the executor.  Thus we can remove this unused role and
restore the job.

Change-Id: I1afc905aa8d9c420bed316e99760ad7ad1d838ce
2020-10-15 14:44:03 +11:00
Tristan Cacqueray 6f940da935 fetch-sphinx-tarball: introduce zuul_use_fetch_output
This change enables using fetch-sphinx-tarball role along with
the fetch-output role. By default the role still synchronizes
artifacts back to the executor.

Change-Id: I7452f34bccdca49e256053f9630f77953b27f99c
2020-05-14 12:03:58 +00:00
Andreas Jaeger 0ca632b19d Switch PDF file name to doc-PROJECT.pdf
Further work on the PDF generation showed that many projects have
project logos as svg files with the name PROJECT.svg, those get
converted to PROJECT.pdf and collide with the default name used here.

Change the default to "doc-PROJECT.pdf" to have a unique name.

This is a change in the default but we only added this 11 days ago, so
I hope it's fine to change.

Change-Id: I4f2224633fd4edbc3121af53d0202796cf8a0a60
2019-09-03 14:40:39 +02:00
Andreas Jaeger c74b03649a Switch PDF fetching to known files
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
2019-08-24 12:24:07 +02:00
Andreas Jaeger 22a17fa19b Revert "Partial sync fetch-sphinx-tarball with fetch-sphinx-output"
We don't need this here - let's change openstack-manuals instead.

This reverts commit 75ae975235.

Change-Id: I9611950a391823efd2f7d2187da0992f00e0e454
2019-08-14 20:13:23 +00:00
Andreas Jaeger 75ae975235 Partial sync fetch-sphinx-tarball with fetch-sphinx-output
Add and use variable sphinx_output_dir as it's used in
fetch-sphinx-output.

Change-Id: I3fa7b1982463816d16ca6515edffb9e73b8cdbe5
2019-08-14 19:43:36 +02:00
James E. Blair 189c2471ec Add fetch-sphinx-tarball role
This is a new artifact-aware method of fetching sphinx tarballs,
meant to be used in docs promote jobs.

Change-Id: I9a01af9e36b959c4fa42f3c41b548c87bf2e1759
2019-03-21 14:04:11 -07:00