mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ci: add more ways to trigger upload cache
This commit is contained in:
parent
25cb9b3f0e
commit
f74c81a71b
@ -331,6 +331,9 @@
|
||||
.if-label-build-only: &if-label-build-only
|
||||
if: '$CI_JOB_STAGE == "target_test" && $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*For Maintainers: Only Build Tests(?:,[^,\n\r]+)*$/i'
|
||||
|
||||
.if-label-upload_cache: &if-label-upload_cache
|
||||
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*upload_cache(?:,[^,\n\r]+)*$/i'
|
||||
|
||||
.if-revert-branch: &if-revert-branch
|
||||
if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^revert-/'
|
||||
|
||||
@ -356,11 +359,16 @@
|
||||
|
||||
.rules:patterns:python-cache:
|
||||
rules:
|
||||
- *if-schedule
|
||||
- <<: *if-label-upload_cache
|
||||
when: manual
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-python-cache
|
||||
|
||||
.rules:patterns:submodule:
|
||||
rules:
|
||||
- <<: *if-label-upload_cache
|
||||
when: manual
|
||||
- <<: *if-dev-push
|
||||
changes: *patterns-submodule
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user