2019-11-22 07:58:32 +00:00
|
|
|
.check_doc_links_template: &check_doc_links_template
|
|
|
|
stage: post_deploy
|
2020-02-10 08:55:46 +00:00
|
|
|
image: $CI_DOCKER_REGISTRY/esp-idf-doc-env:v2
|
2019-11-22 07:58:32 +00:00
|
|
|
tags: [ "build", "amd64", "internet" ]
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /^release\/v/
|
|
|
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- docs/_build/*/*/*.txt
|
|
|
|
expire_in: 1 week
|
|
|
|
allow_failure: true
|
|
|
|
dependencies: []
|
|
|
|
script:
|
|
|
|
- cd docs
|
2020-02-04 06:36:23 +00:00
|
|
|
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.6.10 ./build_docs.py -l $DOCLANG -t $DOCTGT linkcheck
|
2019-11-22 07:58:32 +00:00
|
|
|
|
|
|
|
check_doc_links_en_esp32:
|
|
|
|
extends: .check_doc_links_template
|
|
|
|
variables:
|
|
|
|
DOCLANG: "en"
|
|
|
|
DOCTGT: "esp32"
|
|
|
|
|
|
|
|
check_doc_links_en_esp32s2:
|
|
|
|
extends: .check_doc_links_template
|
|
|
|
variables:
|
|
|
|
DOCLANG: "en"
|
|
|
|
DOCTGT: "esp32s2"
|
|
|
|
|
|
|
|
check_doc_links_zh_CN_esp32:
|
|
|
|
extends: .check_doc_links_template
|
|
|
|
variables:
|
|
|
|
DOCLANG: "zh_CN"
|
|
|
|
DOCTGT: "esp32"
|
|
|
|
|
|
|
|
check_doc_links_zh_CN_esp32s2:
|
|
|
|
extends: .check_doc_links_template
|
|
|
|
variables:
|
|
|
|
DOCLANG: "zh_CN"
|
|
|
|
DOCTGT: "esp32s2"
|