Commit Graph

9 Commits

Author SHA1 Message Date
Ian Wienand
40a775835d Migrate to upload-afs-roots role
Handle the name change in the dependent change.  Should have no
functional change.

Depends-On: https://review.opendev.org/705368
Change-Id: I5fdc858892b1cf31649c2a8bef3d018afe68cb22
2020-02-03 14:16:39 +11:00
Andreas Jaeger
1d2bc1fad9 Avoid double root-marker
prepare-for-afs includes already the root-marker wirter, an extra
write-root-marker is not needed and wrong - we currently end with
stable/queens job having two root-markers:
html/.root-marker
html/queens/.root-marker

Remove the extra root-marker.

Change-Id: I9a7de9ec372266b3b6dcd650b69f1ec401ef0b0c
2018-09-12 10:14:02 +02:00
Andreas Jaeger
c1400d61cb Use sphinx_output_suffix
Add "/" to sphinx dir to to remove the final "html" from path to fix
publishing.

Also, add "/" to playbooks/publish/publications.yaml.

Change-Id: Ie90b3204b2530c30468a28f107f74794235a0921
Depends-On: I0eed5ebf5af8d43f6a105a1fc0dcf1b0a9813dbd
2018-01-02 19:55:03 +01:00
Monty Taylor
6e0cb7c8d1 Switch remaining docs publications jobs to sphinx
This gets the main publish-openstack-sphinx jobs, plus api-ref,
api-guide, deploy-guide, install-guide and placement-api-ref.

The write_root_marker and prepare-docs-for-afs roles have been udpated
to have good defaults and also to honor sphinx_build_dir as a variable,
so remove setting those explicitly.

Depends-On: I7c3d578a00a4aa4c9e175f5f83e3171c6f6a4a61
Change-Id: I9ed0b02d6ca20a6b679507c4d988531abc55b09d
2017-12-21 19:45:01 +00:00
Andreas Jaeger
13a44fbc66 Fix install-guide publishing
The ocata and earlier guides have been publishing to the service-type,
not the project-name. The Zuul v3 conversion broke this, restore this.

Note that this still results in some different names since we use the
services-type-authority now and formerly had hand-written assignments.

Change-Id: Ib03cc560868db725e151e0e8c9107846137f5d27
2017-12-01 17:40:25 +01:00
Andreas Jaeger
ca591b8e5a fix publishing of deploy and install guide
Adopt to change to prepare-docs-for-afs.

Change-Id: I708dab3119bb4b167b4ae68eb7fa575fa96e7984
Depends-On: Ib9c28eeea6c369f4ccad50c0672eee4f91b4370a
2017-10-27 19:38:45 +02:00
James E. Blair
41692f866e Fix missing "role:" mapping keys
Change-Id: I1c0c6a8244f019d70e4ec1e1fc56f5641f6edeaf
2017-10-26 14:46:04 -07:00
Andreas Jaeger
30da877039 Do not publish docs when building fails
We just lost the docs.o.o index page: The tox run failed and only a
few files were ready. Since we delete existing content when pushing new,
this removed all our static pages.

Add a safe guard for all doc building: Only collect and publish
documents when we have build them with success. Add this to related
roles like creating/destroying afs as well.

Change-Id: Ife2496fe920bd40d52803705b409e6e621532254
2017-10-26 20:29:44 +02:00
Andreas Jaeger
69955bc05a Add publish-install-guide
New job to publish the old project install guide. This runs only
on newton and ocata.

Needed-By: Ide665a796bd80173b1e2248dfc8a7ad412c6c8bc
Change-Id: I85c101b83f745196bc6f8673c26f3864d61ff3f5
2017-10-22 10:58:06 +02:00