Avoid moving release notes after complete execution
Originally, we were moving the release notes to another folder to make it work with the fetch-sphinx-output role. However, this did not always work as expected due to the fact that some projects do not have a doc folder. This fixes that issue and avoids the move and simply grabs the data from the right folder. Change-Id: If6ee519c33320db91f8a9553ed4abc099c284eec
This commit is contained in:
parent
622155cda7
commit
b80e33039c
@ -2,5 +2,5 @@
|
||||
roles:
|
||||
- role: fetch-tox-output
|
||||
- role: fetch-sphinx-output
|
||||
sphinx_output_src: "{{ zuul.project.src_dir }}/doc/build/html/"
|
||||
sphinx_output_src: "{{ zuul.project.src_dir }}/releasenotes/build/html/"
|
||||
zuul_executor_dest: "{{ zuul.executor.log_root }}"
|
||||
|
@ -120,8 +120,3 @@
|
||||
vars:
|
||||
tox_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt"
|
||||
tox_envlist: releasenotes
|
||||
|
||||
- name: Move build output to correct path for publishers
|
||||
command: mv releasenotes/build doc
|
||||
args:
|
||||
chdir: "{{ zuul_work_dir }}"
|
||||
|
Loading…
Reference in New Issue
Block a user