Use write-root-marker role
Remove the TODO, the suggestion is implemented now.
- hosts: all
- pre_tasks:
- # TODO(mordred) We should really extract this into a role, but that's a
- # refactor for a different day.
- - name: Write marker text
- copy:
- dest: "{{ zuul.project.src_dir }}/releasenotes/build/html/.root-marker"
- content: "Project: {{ zuul.project.name }} Branch: {{ zuul.branch }} Build: {{ zuul.build }} Revision: {{ zuul.ref }}"
roles:
- role: fetch-tox-output
tox_envlist: releasenotes
+ - role: write-root-marker
+ root_marker_dir: "{{ zuul.project.src_dir }}/releasenotes/build/html/"
- role: fetch-sphinx-output
sphinx_output_src: "{{ zuul.project.src_dir }}/releasenotes/build/html/"
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
