forked from infra/otc-metadata
Compare commits
11 Commits
release_fg
...
main
Author | SHA1 | Date | |
---|---|---|---|
6e78daae0b | |||
97d4a38758 | |||
8570f36dbe | |||
57a7b287d4 | |||
2425f658ed | |||
ac79a500b4 | |||
90a9117b8d | |||
61f2419fab | |||
516716bf33 | |||
a3b9946169 | |||
7af1b5dcdb |
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
environment: internal
|
|
||||||
hc_location: usermanual2/aom
|
|
||||||
html_location: docs/aom/umn2
|
|
||||||
link: /application-operations-management/umn2/
|
|
||||||
pdf_name: aom-umn2.0
|
|
||||||
rst_location: umn2/source
|
|
||||||
service_type: aom
|
|
||||||
title: User Guide 2.0
|
|
||||||
type: umn2
|
|
10
otc_metadata/data/documents/aom2-api-ref.yaml
Normal file
10
otc_metadata/data/documents/aom2-api-ref.yaml
Normal 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
|
10
otc_metadata/data/documents/aom2-umn.yaml
Normal file
10
otc_metadata/data/documents/aom2-umn.yaml
Normal 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
|
10
otc_metadata/data/documents/asm-api-ref.yaml
Normal file
10
otc_metadata/data/documents/asm-api-ref.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
environment: internal
|
||||||
|
hc_location: api/asm
|
||||||
|
html_location: docs/asm/api-ref
|
||||||
|
link: /application-service-mesh/api-ref/
|
||||||
|
pdf_name: asm-api-ref
|
||||||
|
rst_location: api-ref/source
|
||||||
|
service_type: asm
|
||||||
|
title: API Reference
|
||||||
|
type: api-ref
|
10
otc_metadata/data/documents/asm-best-practice.yaml
Normal file
10
otc_metadata/data/documents/asm-best-practice.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
hc_location: bestpractice/asm
|
||||||
|
environment: internal
|
||||||
|
html_location: docs/asm/best-practice
|
||||||
|
link: /application-service-mesh/best-practice/
|
||||||
|
pdf_name: asm-best-practice
|
||||||
|
rst_location: doc/best-practice/source
|
||||||
|
service_type: asm
|
||||||
|
title: Best Practice
|
||||||
|
type: best-practice
|
10
otc_metadata/data/documents/asm-umn.yaml
Normal file
10
otc_metadata/data/documents/asm-umn.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
environment: internal
|
||||||
|
hc_location: usermanual/asm
|
||||||
|
html_location: docs/asm/umn
|
||||||
|
link: /application-service-mesh/umn/
|
||||||
|
pdf_name: asm-umn
|
||||||
|
rst_location: umn/source
|
||||||
|
service_type: asm
|
||||||
|
title: User Guide
|
||||||
|
type: umn
|
10
otc_metadata/data/documents/cfw-api-ref.yaml
Normal file
10
otc_metadata/data/documents/cfw-api-ref.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
environment: internal
|
||||||
|
hc_location: api/cfw
|
||||||
|
html_location: docs/cfw/api-ref
|
||||||
|
link: /cloud-firewall/api-ref/
|
||||||
|
pdf_name: cfw-api-ref
|
||||||
|
rst_location: api-ref/source
|
||||||
|
service_type: cfw
|
||||||
|
title: API Reference
|
||||||
|
type: api-ref
|
10
otc_metadata/data/documents/cfw-umn.yaml
Normal file
10
otc_metadata/data/documents/cfw-umn.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
environment: internal
|
||||||
|
hc_location: usermanual/cfw
|
||||||
|
html_location: docs/cfw/umn
|
||||||
|
link: /cloud-firewall/umn/
|
||||||
|
pdf_name: cfw-umn
|
||||||
|
rst_location: umn/source
|
||||||
|
service_type: cfw
|
||||||
|
title: User Guide
|
||||||
|
type: umn
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
hc_location: api/ddm
|
hc_location: api/ddm
|
||||||
environment: internal
|
environment: public
|
||||||
html_location: docs/ddm/api-ref
|
html_location: docs/ddm/api-ref
|
||||||
link: /distributed-database-middleware/api-ref/
|
link: /distributed-database-middleware/api-ref/
|
||||||
pdf_name: ddm-api-ref
|
pdf_name: ddm-api-ref
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
hc_location: usermanual/ddm
|
hc_location: usermanual/ddm
|
||||||
environment: internal
|
environment: public
|
||||||
html_location: docs/ddm/umn
|
html_location: docs/ddm/umn
|
||||||
link: /distributed-database-middleware/umn/
|
link: /distributed-database-middleware/umn/
|
||||||
pdf_name: ddm-umn
|
pdf_name: ddm-umn
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
hc_location: api/functiongraph
|
hc_location: api/functiongraph
|
||||||
environment: internal
|
|
||||||
html_location: docs/fg/api-ref
|
html_location: docs/fg/api-ref
|
||||||
link: /function-graph/api-ref/
|
link: /function-graph/api-ref/
|
||||||
pdf_name: fg-api-ref
|
pdf_name: fg-api-ref
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
hc_location: usermanual/functiongraph
|
hc_location: usermanual/functiongraph
|
||||||
environment: internal
|
|
||||||
html_location: docs/fg/umn
|
html_location: docs/fg/umn
|
||||||
link: /function-graph/umn/
|
link: /function-graph/umn/
|
||||||
pdf_name: fg-umn
|
pdf_name: fg-umn
|
||||||
|
16
otc_metadata/data/services/aom2.yaml
Normal file
16
otc_metadata/data/services/aom2.yaml
Normal 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
|
@ -12,7 +12,5 @@ service_title: API Gateway (APIG)
|
|||||||
service_type: apig
|
service_type: apig
|
||||||
service_uri: api-gateway
|
service_uri: api-gateway
|
||||||
teams:
|
teams:
|
||||||
- name: docs-bigdata-ai-rw
|
|
||||||
permission: write
|
|
||||||
- name: docs-orchestration-rw
|
- name: docs-orchestration-rw
|
||||||
permission: write
|
permission: write
|
||||||
|
16
otc_metadata/data/services/asm.yaml
Normal file
16
otc_metadata/data/services/asm.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
environment: internal
|
||||||
|
repositories:
|
||||||
|
- environment: internal
|
||||||
|
repo: docs/application-service-mesh
|
||||||
|
type: gitea
|
||||||
|
- environment: public
|
||||||
|
repo: opentelekomcloud-docs/application-service-mesh
|
||||||
|
type: github
|
||||||
|
service_category: container
|
||||||
|
service_title: Application Service Mesh
|
||||||
|
service_type: asm
|
||||||
|
service_uri: application-service-mesh
|
||||||
|
teams:
|
||||||
|
- name: docs-container-rw
|
||||||
|
permission: write
|
16
otc_metadata/data/services/cfw.yaml
Normal file
16
otc_metadata/data/services/cfw.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
environment: internal
|
||||||
|
repositories:
|
||||||
|
- environment: internal
|
||||||
|
repo: docs/cloud-firewall
|
||||||
|
type: gitea
|
||||||
|
- environment: public
|
||||||
|
repo: opentelekomcloud-docs/cloud-firewall
|
||||||
|
type: github
|
||||||
|
service_category: security-services
|
||||||
|
service_title: Cloud Firewall
|
||||||
|
service_type: cfw
|
||||||
|
service_uri: cloud-firewall
|
||||||
|
teams:
|
||||||
|
- name: docs-security-services-rw
|
||||||
|
permission: write
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
environment: internal
|
environment: public
|
||||||
repositories:
|
repositories:
|
||||||
- environment: internal
|
- environment: internal
|
||||||
repo: docs/distributed-database-middleware
|
repo: docs/distributed-database-middleware
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
environment: internal
|
environment: public
|
||||||
repositories:
|
repositories:
|
||||||
- environment: internal
|
- environment: internal
|
||||||
repo: docs/function-graph
|
repo: docs/function-graph
|
||||||
@ -12,5 +12,5 @@ service_title: FunctionGraph
|
|||||||
service_type: fg
|
service_type: fg
|
||||||
service_uri: function-graph
|
service_uri: function-graph
|
||||||
teams:
|
teams:
|
||||||
- name: docs-container-rw
|
- name: docs-orchestration-rw
|
||||||
permission: write
|
permission: write
|
||||||
|
@ -95,12 +95,12 @@ def process_repositories(args, service):
|
|||||||
f"due to the doc-type filter."
|
f"due to the doc-type filter."
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
if doc.get("environment"):
|
# if doc.get("environment"):
|
||||||
logging.info(
|
# logging.info(
|
||||||
f"Skipping synchronizing {doc['title']} "
|
# f"Skipping synchronizing {doc['title']} "
|
||||||
f"since it is environment bound."
|
# f"since it is environment bound."
|
||||||
)
|
# )
|
||||||
continue
|
# continue
|
||||||
|
|
||||||
branch_name = f"{args.branch_name}#{doc['type']}"
|
branch_name = f"{args.branch_name}#{doc['type']}"
|
||||||
remote_ref = SymbolicReference.create(
|
remote_ref = SymbolicReference.create(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user