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:
2022-10-19 12:57:39 +00:00
committed by zuul
parent 22737368b1
commit 7821fdbd24
8 changed files with 254 additions and 10 deletions

View 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 }}"

View File

@ -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"