Compare commits

...

11 Commits

Author SHA1 Message Date
c518093ee1 removing obsolete doc
All checks were successful
gl/check check status: success (c518093ee101af3bab693a1aa6d96540475dfd6e)
gl/gate gate status: success (c518093ee101af3bab693a1aa6d96540475dfd6e)
2024-04-10 19:33:48 +00:00
f3fe7eb10a adding AOM2 as new service/documents
Some checks are pending
gl/check check status: pending (f3fe7eb10aeae1951767136a0beb62f3de6b9105)
2024-04-10 19:31:41 +00:00
7af1b5dcdb release function graph in public
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-04-08 13:21:09 +00:00
be8fad03bc removed environment: internal for ocr
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-committed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
2024-04-02 15:25:26 +00:00
92bf54ed0b make blueprints internal in AC
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-03-08 09:57:21 +00:00
842a30fe3d fix public only service left out in metadata.yaml
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-03-08 09:57:11 +00:00
c7558639bb remove html location from Cloud Create to avoid issue on docs-export generation script
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-02-27 14:38:12 +00:00
3062b7d309 make aom User Guide 2.0 internal
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-02-27 14:17:34 +00:00
d91d67c912 add aom User Guide 2.0
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-02-27 12:21:30 +00:00
4095fcd384 fix squad value
Reviewed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
Co-authored-by: Kvrivishvili, Iustina <iustina.kvrivishvili@t-systems.com>
Co-committed-by: Kvrivishvili, Iustina <iustina.kvrivishvili@t-systems.com>
2024-02-23 16:53:21 +00:00
c9461de490 enable Best Practice docs for CSS
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-02-23 11:42:58 +00:00
14 changed files with 53 additions and 16 deletions

View File

@ -1,5 +1,5 @@
---
environment: public
environment: internal
link: /architecture-center/caf/
pdf_name: architecture-center-cloud-adoption-framework
rst_location: doc/caf/source

View File

@ -0,0 +1,10 @@
---
environment: internal
hc_location: api/aom2
html_location: docs/aom2/api-ref
link: /application-operations-management-2/api-ref/
pdf_name: aom2-api-ref
rst_location: api-ref/source
service_type: aom2
title: API Reference
type: api-ref

View File

@ -0,0 +1,10 @@
---
environment: internal
hc_location: usermanual/aom2
html_location: docs/aom2/umn
link: /application-operations-management-2/umn/
pdf_name: aom2-umn
rst_location: umn/source
service_type: aom2
title: User Guide
type: umn

View File

@ -1,5 +1,4 @@
---
html_location: docs/cc/api-ref
link: /cloud-create/api-ref/
pdf_name: cc-api-ref
rst_location: api-ref/source

View File

@ -1,6 +1,5 @@
---
hc_location: bestpractice/css
environment: internal
html_location: docs/css/best-practice
link: /cloud-search-service/best-practice/
pdf_name: css-best-practice

View File

@ -1,6 +1,5 @@
---
hc_location: api/functiongraph
environment: internal
html_location: docs/fg/api-ref
link: /function-graph/api-ref/
pdf_name: fg-api-ref

View File

@ -1,6 +1,5 @@
---
hc_location: usermanual/functiongraph
environment: internal
html_location: docs/fg/umn
link: /function-graph/umn/
pdf_name: fg-umn

View File

@ -1,6 +1,5 @@
---
hc_location: api/ocr
environment: internal
html_location: docs/ocr/api-ref
link: /optical-character-recognition/api-ref/
pdf_name: ocr-api-ref

View File

@ -1,6 +1,5 @@
---
hc_location: usermanual/ocr
environment: internal
html_location: docs/ocr/umn
link: /optical-character-recognition/umn/
pdf_name: ocr-umn

View File

@ -0,0 +1,16 @@
---
environment: internal
repositories:
- environment: internal
repo: docs/application-operations-management-2
type: gitea
- environment: public
repo: opentelekomcloud-docs/application-operations-management-2
type: github
service_category: application
service_title: Application Operations Management 2.0
service_type: aom2
service_uri: application-operations-management-2
teams:
- name: docs-orchestration-rw
permission: write

View File

@ -1,5 +1,5 @@
---
environment: internal
environment: public
repositories:
- environment: internal
repo: docs/function-graph
@ -12,5 +12,5 @@ service_title: FunctionGraph
service_type: fg
service_uri: function-graph
teams:
- name: docs-compute-rw
- name: docs-container-rw
permission: write

View File

@ -1,5 +1,5 @@
---
environment: internal
environment: public
repositories:
- environment: internal
repo: docs/optical-character-recognition

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

View File

@ -95,12 +95,12 @@ def process_repositories(args, service):
f"due to the doc-type filter."
)
continue
if doc.get("environment"):
logging.info(
f"Skipping synchronizing {doc['title']} "
f"since it is environment bound."
)
continue
# if doc.get("environment"):
# logging.info(
# f"Skipping synchronizing {doc['title']} "
# f"since it is environment bound."
# )
# continue
branch_name = f"{args.branch_name}#{doc['type']}"
remote_ref = SymbolicReference.create(