kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'ci/improve_docs_rules_dependencies' into 'master'
CI: improve docs rules dependencies See merge request espressif/esp-idf!12419pull/6718/head
commit
7a6d36f86a
|
@ -49,15 +49,20 @@
|
|||
|
||||
"build:docs":
|
||||
labels:
|
||||
- build
|
||||
- docs
|
||||
- build_docs # for backward compatibility
|
||||
patterns:
|
||||
- docs
|
||||
deploy:
|
||||
- preview
|
||||
- production
|
||||
|
||||
"build:docs:label-only":
|
||||
labels:
|
||||
- docs
|
||||
- build_docs # for backward compatibility
|
||||
deploy:
|
||||
- preview
|
||||
|
||||
"build":
|
||||
labels:
|
||||
- build
|
||||
|
|
|
@ -28,7 +28,7 @@ check_docs_lang_sync:
|
|||
parallel:
|
||||
matrix:
|
||||
- DOCLANG: ["en", "zh_CN"]
|
||||
DOCTGT: ["esp32", "esp32s2"]
|
||||
DOCTGT: ["esp32", "esp32s2", "esp32c3"]
|
||||
|
||||
check_docs_gh_links:
|
||||
extends:
|
||||
|
@ -68,6 +68,7 @@ build_docs_html:
|
|||
build_docs_pdf:
|
||||
extends:
|
||||
- .build_docs_build_stage_template
|
||||
- .rules:build:docs:label-only
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
|
@ -97,7 +98,7 @@ build_docs_pdf:
|
|||
deploy_docs_preview:
|
||||
extends:
|
||||
- .deploy_docs_template
|
||||
- .rules:build:docs-preview
|
||||
- .rules:build:docs:label-only-preview
|
||||
dependencies: # set dependencies to null to avoid missing artifacts issue
|
||||
needs:
|
||||
- build_docs_html
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
- ".gitlab/ci/docs.yml"
|
||||
- "docs/**/*"
|
||||
- "components/**/*.h"
|
||||
- "components/**/Kconfig"
|
||||
- "components/**/Kconfig*"
|
||||
- "components/**/CMakeList.txt"
|
||||
- "components/**/sdkconfig*"
|
||||
- "tools/kconfig_new/**/*"
|
||||
|
@ -565,19 +565,6 @@
|
|||
.rules:build:docs:
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-build_docs
|
||||
- <<: *if-title-build_docs
|
||||
- <<: *if-label-docs
|
||||
- <<: *if-title-docs
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-docs
|
||||
|
||||
.rules:build:docs-preview:
|
||||
rules:
|
||||
- <<: *if-label-build
|
||||
- <<: *if-title-build
|
||||
- <<: *if-label-build_docs
|
||||
- <<: *if-title-build_docs
|
||||
- <<: *if-label-docs
|
||||
|
@ -589,6 +576,21 @@
|
|||
rules:
|
||||
- <<: *if-protected-no_label
|
||||
|
||||
.rules:build:docs:label-only:
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
- <<: *if-label-build_docs
|
||||
- <<: *if-title-build_docs
|
||||
- <<: *if-label-docs
|
||||
- <<: *if-title-docs
|
||||
|
||||
.rules:build:docs:label-only-preview:
|
||||
rules:
|
||||
- <<: *if-label-build_docs
|
||||
- <<: *if-title-build_docs
|
||||
- <<: *if-label-docs
|
||||
- <<: *if-title-docs
|
||||
|
||||
.rules:build:example_test-esp32:
|
||||
rules:
|
||||
- <<: *if-protected
|
||||
|
|
Ładowanie…
Reference in New Issue