Auto copy PDFs to HTML folder for Zuul to upload
All checks were successful
gl/check check status: success (4236619c49592e08dd0eac126be857a7a644b3b8)
gl/gate gate status: success (4236619c49592e08dd0eac126be857a7a644b3b8)

This commit is contained in:
Gode, Sebastian 2025-02-07 10:03:10 +00:00
parent a866e9829d
commit 4236619c49

View File

@ -58,6 +58,7 @@ allowlist_externals =
cp cp
commands = commands =
mkdir -p doc/build/pdf mkdir -p doc/build/pdf
mkdir -p doc/build/html
{[testenv:bindeps]commands} {[testenv:bindeps]commands}
mkdir -p {toxinidir}/_templates mkdir -p {toxinidir}/_templates
wget -O {toxinidir}/_templates/longtable.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/longtable.tex.jinja wget -O {toxinidir}/_templates/longtable.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/longtable.tex.jinja
@ -127,6 +128,7 @@ commands =
make -C {{ loc }}/build/pdf make -C {{ loc }}/build/pdf
mkdir -p doc/build/pdf mkdir -p doc/build/pdf
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/ cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/html/
{% endfor %} {% endfor %}
[testenv:bindeps] [testenv:bindeps]