Merge "Remove duplicated role write-root-marker"

This commit is contained in:
Zuul 2020-05-29 13:11:11 +00:00 committed by Gerrit Code Review
commit 5642abd4bb
3 changed files with 0 additions and 26 deletions

View File

@ -1,19 +0,0 @@
Write the root marker for an AFS publishing job
** Role Variables **
.. zuul:rolevar:: sphinx_build_dir
:default: doc/build
Directory relative to zuul_work_dir where Sphinx build output was put.
.. zuul:rolevar:: zuul_work_dir
:default: {{ zuul.project.src_dir }}
Directory to operate in.
.. zuul:rolevar:: root_marker_dir
:default: {{ zuul_work_dir }}/{{ sphinx_build_dir }}/html
The documentation build directory. The marker file will be placed
in this directory.

View File

@ -1,3 +0,0 @@
sphinx_build_dir: "doc/build"
zuul_work_dir: "{{ zuul.project.src_dir }}"
root_marker_dir: "{{ zuul_work_dir }}/{{ sphinx_build_dir }}/html"

View File

@ -1,4 +0,0 @@
- name: Write marker text
copy:
dest: "{{ root_marker_dir }}/.root-marker"
content: "Project: {{ zuul.project.name }} Branch: {{ zuul.branch | default('') }} Build: {{ zuul.build }} Revision: {{ zuul.ref }}"