Merge "Remove duplicated role write-root-marker"
This commit is contained in:
commit
5642abd4bb
@ -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.
|
@ -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"
|
@ -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 }}"
|
Loading…
Reference in New Issue
Block a user