Update 'zuul.yaml'
Reviewed-by: Goncharov, Artem <artem.goncharov@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
This commit is contained in:
@ -40,7 +40,8 @@ class Services(object):
|
||||
|
||||
# sort docs list by <service_type>_<title>
|
||||
self._service_data["documents"] = sorted(
|
||||
sorted_docs, key=lambda x: f"{x.get('service_type')}{x.get('title')}"
|
||||
sorted_docs,
|
||||
key=lambda x: f"{x.get('service_type')}{x.get('title')}"
|
||||
)
|
||||
# sort services by <service_type>_<service_title>
|
||||
self._service_data["services"] = sorted(
|
||||
@ -183,7 +184,10 @@ class Services(object):
|
||||
]
|
||||
if "repositories" in srv and environment:
|
||||
for repo in srv["repositories"]:
|
||||
if "environment" in repo and repo["environment"] == environment:
|
||||
if (
|
||||
"environment" in repo
|
||||
and repo["environment"] == environment
|
||||
):
|
||||
srv_res["repository"] = repo["repo"]
|
||||
for doc in self.all_docs:
|
||||
if (
|
||||
|
Reference in New Issue
Block a user