Compare commits

..

1 Commits

Author SHA1 Message Date
ad1ca5c356 adding iam permissions metadata and sd metadata
All checks were successful
gl/check check status: success (ad1ca5c3561250dc195c83bc7a4ff06fbffb605a)
gl/gate gate status: success (ad1ca5c3561250dc195c83bc7a4ff06fbffb605a)
2023-08-03 11:24:00 +00:00
2 changed files with 5 additions and 8 deletions

View File

@ -24,9 +24,7 @@ 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 = deps = -r{toxinidir}/doc/requirements.txt
-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
@ -42,7 +40,7 @@ commands =
{%- endfor %} {%- endfor %}
[testenv:docs-pdf] [testenv:docs-pdf]
deps = {[testenv:docs]deps} deps = -r{toxinidir}/doc/requirements.txt
allowlist_externals = allowlist_externals =
rm rm
mkdir mkdir
@ -61,7 +59,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 = {[testenv:docs]deps} deps = -r{toxinidir}/doc/requirements.txt
allowlist_externals = allowlist_externals =
cp cp
mkdir mkdir
@ -80,7 +78,7 @@ commands =
# Json version (for search) # Json version (for search)
[testenv:json-{{ doc.type }}] [testenv:json-{{ doc.type }}]
deps = {[testenv:docs]deps} deps = -r{toxinidir}/doc/requirements.txt
allowlist_externals = allowlist_externals =
cp cp
mkdir mkdir
@ -104,7 +102,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 = {[testenv:docs]deps} deps = -r{toxinidir}/doc/requirements.txt
allowlist_externals = allowlist_externals =
rm rm
mkdir mkdir

View File

@ -10,7 +10,6 @@ import otc_metadata.services
def main(): def main():
data = otc_metadata.services.Services() data = otc_metadata.services.Services()
data._sort_data()
_yaml = YAML() _yaml = YAML()
_yaml.indent(mapping=2, sequence=4, offset=2) _yaml.indent(mapping=2, sequence=4, offset=2)