forked from docs/doc-exports
re-enable doc building jobs
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Goncharov, Artem argoncha <artem.goncharov@t-systems.com> Co-committed-by: Goncharov, Artem argoncha <artem.goncharov@t-systems.com>
This commit is contained in:
parent
6d76e8ec08
commit
71825840f7
@ -4,11 +4,11 @@ docs:
|
|||||||
service: ma
|
service: ma
|
||||||
type: umn
|
type: umn
|
||||||
html_location: docs/modelarts/umn
|
html_location: docs/modelarts/umn
|
||||||
repository: opentelekomcloud-docs/modelarts
|
repository: docs/modelarts
|
||||||
project_location: /umn/source
|
project_location: /umn/source
|
||||||
- label: ma_api
|
- label: ma_api
|
||||||
service: ma
|
service: ma
|
||||||
type: api-ref
|
type: api-ref
|
||||||
html_location: docs/modelarts/api-ref
|
html_location: docs/modelarts/api-ref
|
||||||
repository: opentelekomcloud-docs/modelarts
|
repository: docs/modelarts
|
||||||
project_location: /api-ref/source
|
project_location: /api-ref/source
|
||||||
|
@ -4,17 +4,17 @@ docs:
|
|||||||
service: ecs
|
service: ecs
|
||||||
type: umn
|
type: umn
|
||||||
html_location: docs/ecs/umn
|
html_location: docs/ecs/umn
|
||||||
repository: opentelekomcloud-docs/elastic-cloud-server
|
repository: docs/elastic-cloud-server
|
||||||
project_location: /umn/source
|
project_location: /umn/source
|
||||||
- label: ecs_api
|
- label: ecs_api
|
||||||
service: ecs
|
service: ecs
|
||||||
type: api-ref
|
type: api-ref
|
||||||
html_location: docs/ecs/api-ref
|
html_location: docs/ecs/api-ref
|
||||||
repository: opentelekomcloud-docs/elastic-cloud-server
|
repository: docs/elastic-cloud-server
|
||||||
project_location: /api-ref/source
|
project_location: /api-ref/source
|
||||||
- label: ecs_dev
|
- label: ecs_dev
|
||||||
service: ecs
|
service: ecs
|
||||||
type: dev-guide
|
type: dev-guide
|
||||||
html_location: docs/ecs/dev
|
html_location: docs/ecs/dev
|
||||||
repository: opentelekomcloud-docs/elastic-cloud-server
|
repository: docs/elastic-cloud-server
|
||||||
project_location: /dev_guide/source
|
project_location: /dev_guide/source
|
||||||
|
@ -4,6 +4,11 @@
|
|||||||
- name: Read project docs configuration
|
- name: Read project docs configuration
|
||||||
include_vars: "{{ docs_update_data_file }}"
|
include_vars: "{{ docs_update_data_file }}"
|
||||||
|
|
||||||
|
- name: Save doc var
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
doc_exports_vars: "{{ docs }}"
|
||||||
|
cacheable: true
|
||||||
|
|
||||||
- name: Detect list of changes
|
- name: Detect list of changes
|
||||||
command: "git log -1 --name-only --pretty="
|
command: "git log -1 --name-only --pretty="
|
||||||
args:
|
args:
|
||||||
@ -15,7 +20,7 @@
|
|||||||
command: "git config --global user.name 'OpenTelekomCloud Proposal Bot'"
|
command: "git config --global user.name 'OpenTelekomCloud Proposal Bot'"
|
||||||
|
|
||||||
- name: Configure git user email
|
- name: Configure git user email
|
||||||
command: "git config --global user.email 52695153+otcbot@users.noreply.github.com"
|
command: "git config --global user.email otcbot@otc-service.com"
|
||||||
|
|
||||||
- name: Generate new RSTs
|
- name: Generate new RSTs
|
||||||
include_role:
|
include_role:
|
||||||
|
46
zuul.yaml
46
zuul.yaml
@ -1,3 +1,43 @@
|
|||||||
|
---
|
||||||
|
- job:
|
||||||
|
name: otc-doc-exports-convert-base
|
||||||
|
parent: unittests
|
||||||
|
abstract: true
|
||||||
|
nodeset: vm
|
||||||
|
description: |
|
||||||
|
Convert doc exports from html to rst and generate corresponding rst diff
|
||||||
|
files.
|
||||||
|
pre-run: playbooks/pre.yaml
|
||||||
|
run: playbooks/run.yaml
|
||||||
|
post-run: playbooks/post.yaml
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: otc-doc-exports-convert-compute
|
||||||
|
parent: otc-doc-exports-convert-base
|
||||||
|
description: |
|
||||||
|
Convert Compute doc exports from html to rst and generate
|
||||||
|
corresponding rst patch files.
|
||||||
|
files:
|
||||||
|
- otc_doc_convertor
|
||||||
|
- docs/ecs
|
||||||
|
- roles
|
||||||
|
provides: otc-doc-exports-convert-compute
|
||||||
|
vars:
|
||||||
|
docs_update_data_file: "docs_compute.yaml"
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: otc-doc-exports-convert-big-data
|
||||||
|
parent: otc-doc-exports-convert-base
|
||||||
|
description: |
|
||||||
|
Convert BigData doc exports from html to rst and generate
|
||||||
|
corresponding rst patch files.
|
||||||
|
files:
|
||||||
|
- otc_doc_convertor
|
||||||
|
- docs/modelarts
|
||||||
|
- roles
|
||||||
|
vars:
|
||||||
|
docs_update_data_file: "docs_big-data.yaml"
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
merge-mode: squash-merge
|
merge-mode: squash-merge
|
||||||
default-branch: main
|
default-branch: main
|
||||||
@ -6,11 +46,17 @@
|
|||||||
docs_base_location: "base"
|
docs_base_location: "base"
|
||||||
docs_new_location: "new"
|
docs_new_location: "new"
|
||||||
ensure_pandoc_version: "2.18"
|
ensure_pandoc_version: "2.18"
|
||||||
|
propose_change_git_provider: "gitea"
|
||||||
|
propose_change_git_baseurl: "gitea.eco.tsi-dev.otc-service.com"
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- otc-tox-pep8:
|
- otc-tox-pep8:
|
||||||
nodeset: ubuntu-focal
|
nodeset: ubuntu-focal
|
||||||
|
- otc-doc-exports-convert-compute
|
||||||
|
- otc-doc-exports-convert-big-data
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- otc-tox-pep8:
|
- otc-tox-pep8:
|
||||||
nodeset: ubuntu-focal
|
nodeset: ubuntu-focal
|
||||||
|
- otc-doc-exports-convert-compute
|
||||||
|
- otc-doc-exports-convert-big-data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user