Compare commits

..

1 Commits

Author SHA1 Message Date
434f4a2b92 remove html location from Cloud Create to avoid issue on docs-export generation script
All checks were successful
gl/check check status: success (434f4a2b92a44da6c4d2d55769e9e35a5999317f)
gl/gate gate status: success (434f4a2b92a44da6c4d2d55769e9e35a5999317f)
2024-02-27 14:22:27 +00:00

View File

@ -246,19 +246,12 @@ class Services(object):
x for x in srv["teams"] if x["permission"] == "write"
]
if "repositories" in srv and environment:
internal_exists = False
for repo in srv["repositories"]:
if (
"environment" in repo
and repo["environment"] == environment
):
srv_res["repository"] = repo["repo"]
if repo["environment"] == "internal":
internal_exists = True
# internal repo does not exist
# service will be left out from metadata.yaml
if not internal_exists:
continue
for doc in self.all_docs:
if (
"html_location" in doc