From 6a8704e259e2fc1bc4ffbee316a6b77109899a03 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 21 Nov 2017 14:58:53 -0600 Subject: [PATCH] Update releasenotes publish job to use ensure-sphinx The build-releasenotes role got updated so we need to switch to ensure-sphinx here. Change-Id: I1149f8b3d994f1d6af2cfce09a42a9bdc6865efd --- playbooks/releasenotes/pre.yaml | 10 +++++++++- playbooks/releasenotes/run.yaml | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/playbooks/releasenotes/pre.yaml b/playbooks/releasenotes/pre.yaml index af3b95c08e..3a3a637b31 100644 --- a/playbooks/releasenotes/pre.yaml +++ b/playbooks/releasenotes/pre.yaml @@ -1,4 +1,12 @@ - hosts: all roles: - - ensure-reno + - role: bindep + bindep_profile: doc + bindep_dir: "{{ zuul_work_dir }}" + - role: ensure-sphinx + doc_building_packages: + - sphinx + - reno + # TODO(jaegerandi): Remove once all repos are fixed. + install_package: yes - revoke-sudo diff --git a/playbooks/releasenotes/run.yaml b/playbooks/releasenotes/run.yaml index 116c6888df..378cac9151 100644 --- a/playbooks/releasenotes/run.yaml +++ b/playbooks/releasenotes/run.yaml @@ -1,3 +1,4 @@ - hosts: all roles: + - install-if-python - build-releasenotes