From 687a68300358e518d7c6822b00df0a41322c9624 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 25 Aug 2019 17:10:34 +0200 Subject: [PATCH] Switch releasenotes to fetch-sphinx-tarball As step to use promote job for publishing releasenotes, we need to use fetch-sphinx-tarball for this job. Update success-url to docs to match the role. Change-Id: I5aabf5cfadee1e12baab117a20b1f50766f3d7fc Needed-By: https://review.opendev.org/678430 --- playbooks/releasenotes/post.yaml | 4 ++-- zuul.d/python-jobs.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/releasenotes/post.yaml b/playbooks/releasenotes/post.yaml index 517617670..71c866089 100644 --- a/playbooks/releasenotes/post.yaml +++ b/playbooks/releasenotes/post.yaml @@ -1,4 +1,4 @@ - hosts: all roles: - - role: fetch-sphinx-output - sphinx_output_src: "{{ zuul_work_dir|default(zuul.project.src_dir) }}/releasenotes/build/html" + - role: fetch-sphinx-tarball + sphinx_build_dir: "releasenotes/build" diff --git a/zuul.d/python-jobs.yaml b/zuul.d/python-jobs.yaml index c3fd68dbc..136a94760 100644 --- a/zuul.d/python-jobs.yaml +++ b/zuul.d/python-jobs.yaml @@ -307,7 +307,7 @@ :default: {{ zuul.project.src_dir }} Directory to operate in. - success-url: html/ + success-url: docs/ # Release notes always build on master. override-checkout: master pre-run: playbooks/releasenotes/pre.yaml