Compare commits

...

1 Commits

Author SHA1 Message Date
f4506b2141 adding constraints reference
All checks were successful
gl/check check status: success (f4506b2141ff8f2def622023d54b4111ef9d91d5)
gl/gate gate status: success (f4506b2141ff8f2def622023d54b4111ef9d91d5)
2023-08-09 11:33:40 +00:00

View File

@ -24,7 +24,9 @@ commands = {posargs}
# This env is invoked in the periodic pipeline and is therefore responsible to # This env is invoked in the periodic pipeline and is therefore responsible to
# build all relevant docs at once. # build all relevant docs at once.
[testenv:docs] [testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt deps =
-r{toxinidir}/doc/requirements.txt
-c https://raw.githubusercontent.com/opentelekomcloud-docs-swiss/docs-constraints/main/constraints.txt
allowlist_externals = allowlist_externals =
mkdir mkdir
cp cp
@ -40,7 +42,7 @@ commands =
{%- endfor %} {%- endfor %}
[testenv:docs-pdf] [testenv:docs-pdf]
deps = -r{toxinidir}/doc/requirements.txt deps = {[testenv:docs]deps}
allowlist_externals = allowlist_externals =
rm rm
mkdir mkdir
@ -59,7 +61,7 @@ commands =
{% set loc = doc.rst_location | replace('/source', '') %} {% set loc = doc.rst_location | replace('/source', '') %}
# HTML version # HTML version
[testenv:{{ doc.type }}] [testenv:{{ doc.type }}]
deps = -r{toxinidir}/doc/requirements.txt deps = {[testenv:docs]deps}
allowlist_externals = allowlist_externals =
cp cp
mkdir mkdir
@ -78,7 +80,7 @@ commands =
# Json version (for search) # Json version (for search)
[testenv:json-{{ doc.type }}] [testenv:json-{{ doc.type }}]
deps = -r{toxinidir}/doc/requirements.txt deps = {[testenv:docs]deps}
allowlist_externals = allowlist_externals =
cp cp
mkdir mkdir
@ -102,7 +104,7 @@ commands =
{% if doc.pdf_name -%} {% if doc.pdf_name -%}
# PDF version # PDF version
[testenv:{{ doc.type }}-pdf-docs] [testenv:{{ doc.type }}-pdf-docs]
deps = -r{toxinidir}/doc/requirements.txt deps = {[testenv:docs]deps}
allowlist_externals = allowlist_externals =
rm rm
mkdir mkdir