Remove duplicated role write-root-marker

This role is defined in opendev/base-jobs, we can use that one.

Remove this role.

Depends-On: https://review.opendev.org/731462
Change-Id: Iadca49375789ec606866764ebc14802fc30a9db4
This commit is contained in:
Andreas Jaeger 2020-05-28 10:17:21 +02:00
parent 127a3443c0
commit 6b3427c647
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 }}"