Merge branch 'bugfix/clang_tidy_deploy_artifacts_missing' into 'master'

ci: ensure clang_tidy_deploy artifacts downloaded

See merge request espressif/esp-idf!12393
This commit is contained in:
Angus Gratton 2021-02-18 03:58:20 +00:00
commit 8e7db81ce8
2 changed files with 5 additions and 7 deletions

View File

@ -12,19 +12,14 @@
- "CONTRIBUTING.rst" - "CONTRIBUTING.rst"
.patterns-c-files: &patterns-c-files .patterns-c-files: &patterns-c-files
- ".gitlab/ci/static-code-analysis.yml"
- "**/*.{c,C}" - "**/*.{c,C}"
- "**/*.{h,H}" - "**/*.{h,H}"
- "components/**/Kconfig" - "components/**/Kconfig"
- "components/**/CMakeList.txt" - "components/**/CMakeList.txt"
.patterns-python-files: &patterns-python-files .patterns-python-files: &patterns-python-files
- "**/*.py"
.patterns-static-code-analysis: &patterns-static-code-analysis
- ".gitlab/ci/static-code-analysis.yml" - ".gitlab/ci/static-code-analysis.yml"
- "tools/ci/static-analysis-rules.yml"
- "**/*.{c,C}"
- "**/*.{h,H}"
- "**/*.py" - "**/*.py"
.patterns-example_test: &patterns-example_test .patterns-example_test: &patterns-example_test
@ -203,7 +198,9 @@
.rules:patterns:static-code-analysis-preview: .rules:patterns:static-code-analysis-preview:
rules: rules:
- <<: *if-dev-push - <<: *if-dev-push
changes: *patterns-static-code-analysis changes: *patterns-c-files
- <<: *if-dev-push
changes: *patterns-python-files
# DO NOT place comments or maintain any code from this line # DO NOT place comments or maintain any code from this line
# #

View File

@ -111,6 +111,7 @@ clang_tidy_deploy:
extends: extends:
- .deploy_job_template - .deploy_job_template
- .rules:patterns:clang_tidy - .rules:patterns:clang_tidy
dependencies: # set dependencies to null to avoid missing artifacts issue
needs: needs:
- clang_tidy_check - clang_tidy_check
tags: tags: