Compare commits

...

2 Commits

Author SHA1 Message Date
c7e8c2ec27 remove short test
All checks were successful
gl/check check status: success (c7e8c2ec27dcc931fcf0209e3698a35f09ffb0b7)
gl/gate gate status: success (c7e8c2ec27dcc931fcf0209e3698a35f09ffb0b7)
2024-03-08 08:29:12 +00:00
4da0f88978 fix public only service left out in metadata.yaml
All checks were successful
gl/check check status: success (4da0f8897858706bb261531c457c9e33012fd011)
2024-03-04 10:48:47 +00:00

View File

@ -246,12 +246,19 @@ 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