From 6b3427c6471b53af96da14ed866707d3faad752a Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 28 May 2020 10:17:21 +0200 Subject: [PATCH] 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 --- roles/write-root-marker/README.rst | 19 ------------------- roles/write-root-marker/defaults/main.yaml | 3 --- roles/write-root-marker/tasks/main.yaml | 4 ---- 3 files changed, 26 deletions(-) delete mode 100644 roles/write-root-marker/README.rst delete mode 100644 roles/write-root-marker/defaults/main.yaml delete mode 100644 roles/write-root-marker/tasks/main.yaml diff --git a/roles/write-root-marker/README.rst b/roles/write-root-marker/README.rst deleted file mode 100644 index 83d31851..00000000 --- a/roles/write-root-marker/README.rst +++ /dev/null @@ -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. diff --git a/roles/write-root-marker/defaults/main.yaml b/roles/write-root-marker/defaults/main.yaml deleted file mode 100644 index a631275c..00000000 --- a/roles/write-root-marker/defaults/main.yaml +++ /dev/null @@ -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" diff --git a/roles/write-root-marker/tasks/main.yaml b/roles/write-root-marker/tasks/main.yaml deleted file mode 100644 index 567e9db7..00000000 --- a/roles/write-root-marker/tasks/main.yaml +++ /dev/null @@ -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 }}"