ci: fix the issue that build_docs label has to be used with regular_test
The deploy_docs_preview used to be in the last stage (deploy), which is later than the post_check. However the label check in the post_check stage will fail when build_docs is used without regular test. Move the deploy_docs_preview to new earlier stage (test_deploy) to fix this. Also move related job `clang_tidy_deploy` there.
This commit is contained in:
parent
d0b27b1649
commit
f9f617cd4f
|
@ -4,6 +4,7 @@ stages:
|
||||||
- assign_test
|
- assign_test
|
||||||
- host_test
|
- host_test
|
||||||
- target_test
|
- target_test
|
||||||
|
- test_deploy
|
||||||
- post_check
|
- post_check
|
||||||
- deploy
|
- deploy
|
||||||
- post_deploy
|
- post_deploy
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
.clang_tidy_deploy_template:
|
.clang_tidy_deploy_template:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
||||||
|
@ -26,6 +25,8 @@
|
||||||
|
|
||||||
clang_tidy_deploy:
|
clang_tidy_deploy:
|
||||||
extends: .clang_tidy_deploy_template
|
extends: .clang_tidy_deploy_template
|
||||||
|
# Override default stage to happen before the post_check
|
||||||
|
stage: test_deploy
|
||||||
dependencies:
|
dependencies:
|
||||||
- clang_tidy_check
|
- clang_tidy_check
|
||||||
- clang_tidy_check_all
|
- clang_tidy_check_all
|
||||||
|
@ -103,6 +104,8 @@ push_to_github:
|
||||||
# deploys docs to CI_DOCKER_REGISTRY webserver, for internal review
|
# deploys docs to CI_DOCKER_REGISTRY webserver, for internal review
|
||||||
deploy_docs_preview:
|
deploy_docs_preview:
|
||||||
extends: .deploy_docs_template
|
extends: .deploy_docs_template
|
||||||
|
# Override default stage to happen before the post_check
|
||||||
|
stage: test_deploy
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- triggers
|
- triggers
|
||||||
|
|
Loading…
Reference in a new issue