forked from docs/doc-exports
Add job for comparing doc content to the current
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
This commit is contained in:
5
roles/compare/tasks/main.yaml
Normal file
5
roles/compare/tasks/main.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
- name: Verify document {{ doc_label }} matches the one in the current HC
|
||||
args:
|
||||
executable: "/bin/bash"
|
||||
chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"
|
||||
ansible.builtin.shell: "source {{ ansible_user_dir }}/.venv/bin/activate; otc-convert-compare {{ compare_html_location }} {{ compare_hc_location }}"
|
||||
@ -30,7 +30,6 @@
|
||||
ansible.builtin.set_fact:
|
||||
convert_params: "{{ convert_params }} --templates-location {{ zuul_work_dir }}/templates"
|
||||
|
||||
|
||||
- name: Convert {{ doc_label | default('') }} HTML to RST
|
||||
args:
|
||||
executable: "/bin/bash"
|
||||
|
||||
Reference in New Issue
Block a user