2021-02-09 12:31:38 +08:00
|
|
|
############
|
|
|
|
# Patterns #
|
|
|
|
############
|
2020-11-30 17:40:24 +08:00
|
|
|
.patterns-c-files: &patterns-c-files
|
2021-02-17 00:31:08 +08:00
|
|
|
- ".gitlab/ci/static-code-analysis.yml"
|
2021-08-19 09:26:20 +08:00
|
|
|
|
2021-02-18 18:52:39 +08:00
|
|
|
- "tools/ci/static-analysis-rules.yml"
|
2021-08-19 09:26:20 +08:00
|
|
|
- "tools/ci/clang_tidy_dirs.txt"
|
|
|
|
|
2022-12-15 18:46:33 +01:00
|
|
|
- "**/*.{c,C,cpp}"
|
|
|
|
- "**/*.{h,H,hpp}"
|
2021-02-09 12:31:38 +08:00
|
|
|
- "components/**/Kconfig"
|
|
|
|
- "components/**/CMakeList.txt"
|
2020-11-30 17:40:24 +08:00
|
|
|
|
2022-06-07 09:05:15 +08:00
|
|
|
.patterns-python-cache: &patterns-python-cache
|
|
|
|
- "tools/requirements.json"
|
|
|
|
- "tools/requirements/requirements.*.txt"
|
|
|
|
|
2020-11-30 17:40:24 +08:00
|
|
|
.patterns-python-files: &patterns-python-files
|
2021-02-09 12:31:38 +08:00
|
|
|
- ".gitlab/ci/static-code-analysis.yml"
|
2020-11-30 17:40:24 +08:00
|
|
|
- "**/*.py"
|
|
|
|
|
2021-07-29 15:55:03 +08:00
|
|
|
.patterns-sonarqube-files: &patterns-sonarqube-files
|
|
|
|
- "tools/ci/sonar_exclude_list.txt"
|
|
|
|
|
2021-02-22 16:53:37 +08:00
|
|
|
.patterns-build_components: &patterns-build_components
|
2023-09-08 12:45:19 +08:00
|
|
|
# components files except "test*/" "host*/" folders
|
|
|
|
# ?? to include folders less than 4 characters
|
|
|
|
- "components/*/???[!t]*/**/*"
|
|
|
|
- "components/*/??[!s]?*/**/*"
|
|
|
|
- "components/*/???/**/*"
|
|
|
|
- "components/*/??/**/*"
|
|
|
|
- "components/*/*"
|
|
|
|
- "components/*"
|
|
|
|
# Add folders excluded by "???[!t]" and "??[!s]?"
|
|
|
|
# pre-commit: tools/ci/check_rules_components_patterns.py
|
|
|
|
- "components/bt/host/**/*"
|
2021-02-22 16:53:37 +08:00
|
|
|
|
2022-08-30 17:11:19 +02:00
|
|
|
.patterns-downloadable-tools: &patterns-downloadable-tools
|
|
|
|
- "tools/idf_tools.py"
|
|
|
|
- "tools/tools.json"
|
|
|
|
|
2023-07-14 20:15:50 +08:00
|
|
|
.patterns-build_template-app: &patterns-build_template-app
|
|
|
|
- "tools/ci/build_template_app.sh"
|
|
|
|
|
2021-02-22 16:53:37 +08:00
|
|
|
.patterns-build_system: &patterns-build_system
|
2021-02-09 12:31:38 +08:00
|
|
|
- "tools/cmake/**/*"
|
|
|
|
- "tools/kconfig_new/**/*"
|
2023-10-21 12:40:02 +08:00
|
|
|
- "tools/idf.py"
|
|
|
|
- "tools/idf_py_actions/**/*"
|
2022-02-01 19:11:46 +01:00
|
|
|
- "tools/requirements.json"
|
2024-01-29 14:24:57 +08:00
|
|
|
- "tools/ci/ignore_build_warnings.txt"
|
2021-08-03 10:40:39 +08:00
|
|
|
- "tools/ci/test_build_system*.sh"
|
2021-08-31 00:32:07 +02:00
|
|
|
- "tools/ci/test_build_system*.py"
|
2022-07-13 10:34:02 +08:00
|
|
|
- "tools/ci/ci_build_apps.py"
|
2022-08-09 02:11:57 +02:00
|
|
|
- "tools/test_build_system/**/*"
|
2021-02-09 12:31:38 +08:00
|
|
|
|
2023-07-14 20:15:50 +08:00
|
|
|
.patterns-build_macos: &patterns-build_macos
|
|
|
|
- "tools/ci/test_configure_ci_environment.sh"
|
|
|
|
|
|
|
|
.patterns-build_check: &patterns-build_check
|
|
|
|
- "tools/test_build_system/**/*"
|
|
|
|
- "tools/ci/test_configure_ci_environment.sh"
|
|
|
|
- "tools/gen_esp_err_to_name.py"
|
|
|
|
- "tools/ci/check_soc_headers_leak.py"
|
|
|
|
- "tools/ci/check_esp_memory_utils_headers.sh"
|
|
|
|
- "tools/ci/check_blobs.sh"
|
|
|
|
- "tools/ci/check_public_headers.py"
|
2024-06-07 19:03:01 +08:00
|
|
|
- "tools/ci/check_register_rw_half_word.cmake"
|
|
|
|
- "tools/ci/check_register_rw_half_word.py"
|
2023-07-14 20:15:50 +08:00
|
|
|
|
2021-02-09 12:31:38 +08:00
|
|
|
.patterns-host_test: &patterns-host_test
|
|
|
|
- ".gitlab/ci/host-test.yml"
|
2021-07-20 10:00:25 +08:00
|
|
|
|
|
|
|
- "components/**/*"
|
|
|
|
|
2023-11-29 10:43:19 +01:00
|
|
|
- "tools/ci/test_autocomplete/*"
|
2021-02-09 12:31:38 +08:00
|
|
|
|
|
|
|
- "tools/mass_mfg/**/*"
|
|
|
|
|
|
|
|
- "tools/esp_app_trace/**/*"
|
|
|
|
- "tools/ldgen/**/*"
|
|
|
|
|
|
|
|
- "tools/idf_monitor.py"
|
|
|
|
|
|
|
|
- "tools/idf.py"
|
|
|
|
- "tools/idf_py_actions/**/*"
|
|
|
|
- "tools/test_idf_py/**/*"
|
|
|
|
|
|
|
|
- "tools/idf_size.py"
|
2024-05-08 13:38:19 +02:00
|
|
|
- "tools/test_idf_size/**/*"
|
2021-02-09 12:31:38 +08:00
|
|
|
|
2021-07-27 12:19:35 +02:00
|
|
|
- "tools/tools.json"
|
2021-02-09 12:31:38 +08:00
|
|
|
- "tools/tools_schema.json"
|
|
|
|
- "tools/idf_tools.py"
|
|
|
|
- "tools/test_idf_tools/**/*"
|
2021-09-16 16:48:03 +02:00
|
|
|
- "tools/install_util.py"
|
2021-02-09 12:31:38 +08:00
|
|
|
|
2022-02-01 19:11:46 +01:00
|
|
|
- "tools/requirements/*"
|
|
|
|
- "tools/requirements.json"
|
|
|
|
- "tools/requirements_schema.json"
|
|
|
|
|
2021-02-09 12:31:38 +08:00
|
|
|
- "tools/mkdfu.py"
|
|
|
|
- "tools/test_mkdfu/**/*"
|
|
|
|
|
|
|
|
- "tools/kconfig_new/**/*"
|
|
|
|
|
2021-02-18 18:52:39 +08:00
|
|
|
- "tools/detect_python.sh"
|
|
|
|
- "tools/detect_python.fish"
|
|
|
|
|
2021-11-05 17:23:24 +08:00
|
|
|
- "tools/gen_soc_caps_kconfig/*"
|
2021-12-27 16:29:07 +08:00
|
|
|
- "tools/gen_soc_caps_kconfig/test/test_gen_soc_caps_kconfig.py"
|
|
|
|
|
|
|
|
- "tools/mkuf2.py"
|
|
|
|
|
|
|
|
- "tools/split_paths_by_spaces.py"
|
|
|
|
|
2024-02-22 07:03:08 +01:00
|
|
|
- "tools/check_python_dependencies.py"
|
|
|
|
|
2021-02-09 12:31:38 +08:00
|
|
|
.patterns-docker: &patterns-docker
|
|
|
|
- "tools/docker/**/*"
|
|
|
|
|
2021-02-23 12:32:12 +08:00
|
|
|
.patterns-submodule: &patterns-submodule
|
|
|
|
- "components/bootloader/subproject/components/micro-ecc/micro-ecc"
|
2021-04-23 19:59:57 +08:00
|
|
|
- "components/bt/controller/lib_esp32"
|
2022-06-30 12:13:57 +08:00
|
|
|
- "components/bt/controller/lib_esp32c2/esp32c2-bt-lib"
|
2021-04-23 19:59:57 +08:00
|
|
|
- "components/bt/controller/lib_esp32c3_family"
|
2022-06-30 12:13:57 +08:00
|
|
|
- "components/bt/controller/lib_esp32h2/esp32h2-bt-lib"
|
2021-02-23 12:32:12 +08:00
|
|
|
- "components/bt/host/nimble/nimble"
|
|
|
|
- "components/cmock/CMock"
|
2021-05-24 19:39:39 +08:00
|
|
|
- "components/esp_phy/lib"
|
2021-02-23 12:32:12 +08:00
|
|
|
- "components/esp_wifi/lib"
|
2022-12-14 17:10:54 +08:00
|
|
|
- "components/esp_coex/lib"
|
2021-02-23 12:32:12 +08:00
|
|
|
- "components/json/cJSON"
|
|
|
|
- "components/lwip/lwip"
|
|
|
|
- "components/mbedtls/mbedtls"
|
|
|
|
- "components/mqtt/esp-mqtt"
|
2021-06-28 19:20:51 +08:00
|
|
|
- "components/openthread/lib"
|
2022-06-30 12:13:57 +08:00
|
|
|
- "components/openthread/openthread"
|
2021-02-23 12:32:12 +08:00
|
|
|
- "components/protobuf-c/protobuf-c"
|
|
|
|
- "components/spiffs/spiffs"
|
|
|
|
- "components/unity/unity"
|
2022-07-20 13:59:14 +02:00
|
|
|
- "components/heap/tlsf"
|
2023-01-05 12:26:17 +08:00
|
|
|
- "components/bt/controller/lib_esp32c6/esp32c6-bt-lib"
|
2024-04-09 12:31:01 +02:00
|
|
|
- "components/bt/controller/lib_esp32c5/esp32c5-bt-lib"
|
2023-11-08 09:57:57 +08:00
|
|
|
- "components/bt/esp_ble_mesh/lib/lib"
|
2022-07-12 16:48:54 +08:00
|
|
|
- ".gitmodules"
|
2021-02-23 12:32:12 +08:00
|
|
|
|
2023-12-18 15:29:58 +01:00
|
|
|
.patterns-idf-pytest-plugin: &patterns-idf-pytest-plugin
|
|
|
|
- "tools/ci/idf_pytest/**/*"
|
2024-05-18 19:00:08 +08:00
|
|
|
- "tools/ci/dynamic_pipelines/tests/**/*"
|
2023-12-18 15:29:58 +01:00
|
|
|
|
2021-02-09 12:31:38 +08:00
|
|
|
##############
|
|
|
|
# if anchors #
|
|
|
|
##############
|
2020-10-20 15:00:50 +08:00
|
|
|
.if-ref-master: &if-ref-master
|
2020-09-27 11:20:53 +08:00
|
|
|
if: '$CI_COMMIT_REF_NAME == "master"'
|
|
|
|
|
2021-02-09 12:31:38 +08:00
|
|
|
.if-tag-release: &if-tag-release
|
|
|
|
if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/'
|
2020-09-27 11:20:53 +08:00
|
|
|
|
2020-10-20 15:00:50 +08:00
|
|
|
.if-protected: &if-protected
|
2023-10-18 12:55:53 +08:00
|
|
|
if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/) || $CI_COMMIT_TAG =~ /^qa-test/'
|
2020-10-20 15:00:50 +08:00
|
|
|
|
|
|
|
.if-protected-no_label: &if-protected-no_label
|
2020-09-27 11:20:53 +08:00
|
|
|
if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/) && $BOT_TRIGGER_WITH_LABEL == null'
|
|
|
|
|
2023-12-19 19:32:31 +08:00
|
|
|
.if-protected-ref-push: &if-protected-ref-push
|
|
|
|
# rules:changes always evaluates to true for new branch pipelines or when there is no Git push event
|
|
|
|
if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/) && $CI_PIPELINE_SOURCE == "push"'
|
|
|
|
|
2023-10-18 12:55:53 +08:00
|
|
|
.if-qa-test-tag: &if-qa-test-tag
|
|
|
|
if: '$CI_COMMIT_TAG =~ /^qa-test/'
|
|
|
|
|
2020-09-27 11:20:53 +08:00
|
|
|
.if-dev-push: &if-dev-push
|
2023-10-18 12:55:53 +08:00
|
|
|
if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && $CI_COMMIT_TAG !~ /^qa-test/ && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event")'
|
2020-09-27 11:20:53 +08:00
|
|
|
|
|
|
|
.if-schedule: &if-schedule
|
|
|
|
if: '$CI_PIPELINE_SOURCE == "schedule"'
|
|
|
|
|
2023-12-19 16:19:50 +08:00
|
|
|
.if-schedule-nightly: &if-schedule-nightly
|
|
|
|
if: '$CI_PIPELINE_SOURCE == "schedule" && $INCLUDE_NIGHTLY_RUN == "1"'
|
|
|
|
|
2023-10-20 10:40:07 +02:00
|
|
|
.if-schedule-test-build-system-windows: &if-schedule-test-build-system-windows
|
|
|
|
if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULED_BUILD_SYSTEM_TEST_WIN == "true"'
|
|
|
|
|
2021-03-08 10:12:22 +08:00
|
|
|
.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'
|
|
|
|
|
2023-02-22 08:58:45 +08:00
|
|
|
.if-label-upload_cache: &if-label-upload_cache
|
|
|
|
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*upload_cache(?:,[^,\n\r]+)*$/i'
|
|
|
|
|
2021-10-26 17:55:58 +08:00
|
|
|
.if-revert-branch: &if-revert-branch
|
|
|
|
if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^revert-/'
|
|
|
|
|
2021-02-09 12:31:38 +08:00
|
|
|
#########
|
|
|
|
# Rules #
|
|
|
|
#########
|
2023-05-24 10:53:57 +08:00
|
|
|
### Branches ###
|
2021-02-09 12:31:38 +08:00
|
|
|
.rules:protected:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
|
2023-10-18 12:55:53 +08:00
|
|
|
.rules:push_to_github:
|
2021-02-09 12:31:38 +08:00
|
|
|
rules:
|
2023-10-18 12:55:53 +08:00
|
|
|
- <<: *if-qa-test-tag
|
|
|
|
when: never
|
2021-02-09 12:31:38 +08:00
|
|
|
- <<: *if-protected-no_label
|
|
|
|
|
2023-05-17 10:12:15 +08:00
|
|
|
.rules:protected-no_label-always:
|
|
|
|
rules:
|
2023-10-18 12:55:53 +08:00
|
|
|
- <<: *if-qa-test-tag
|
|
|
|
when: never
|
2023-05-17 10:12:15 +08:00
|
|
|
- <<: *if-protected-no_label
|
|
|
|
when: always
|
|
|
|
|
2023-05-24 10:53:57 +08:00
|
|
|
.rules:tag:release:
|
|
|
|
rules:
|
|
|
|
- <<: *if-tag-release
|
|
|
|
|
2023-12-19 19:32:31 +08:00
|
|
|
# Do not upload caches on dev branches by default
|
|
|
|
.rules:upload-python-cache:
|
2022-06-07 09:05:15 +08:00
|
|
|
rules:
|
2023-12-19 16:19:50 +08:00
|
|
|
- <<: *if-tag-release
|
|
|
|
- <<: *if-schedule-nightly
|
2023-12-19 19:32:31 +08:00
|
|
|
- <<: *if-protected-ref-push
|
|
|
|
changes: *patterns-python-cache
|
2023-02-22 08:58:45 +08:00
|
|
|
- <<: *if-label-upload_cache
|
|
|
|
when: manual
|
2022-06-07 09:05:15 +08:00
|
|
|
|
2023-12-19 19:32:31 +08:00
|
|
|
.rules:upload-submodule-cache:
|
2022-07-12 16:48:54 +08:00
|
|
|
rules:
|
2023-12-19 19:32:31 +08:00
|
|
|
# Needn't upload submodule cache in schedule pipeline
|
2023-12-19 16:19:50 +08:00
|
|
|
- <<: *if-tag-release
|
2023-12-19 19:32:31 +08:00
|
|
|
- <<: *if-protected-ref-push
|
2022-07-12 16:48:54 +08:00
|
|
|
changes: *patterns-submodule
|
2023-04-13 11:25:46 +02:00
|
|
|
- <<: *if-label-upload_cache
|
|
|
|
when: manual
|
|
|
|
|
2023-12-19 19:32:31 +08:00
|
|
|
### Patterns ###
|
2021-02-09 12:31:38 +08:00
|
|
|
.rules:patterns:clang_tidy:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-c-files
|
|
|
|
|
|
|
|
.rules:patterns:python-files:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-python-files
|
|
|
|
|
|
|
|
.rules:patterns:static-code-analysis-preview:
|
|
|
|
rules:
|
|
|
|
- <<: *if-dev-push
|
2021-02-17 00:31:08 +08:00
|
|
|
changes: *patterns-c-files
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-python-files
|
2021-07-29 15:55:03 +08:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-sonarqube-files
|
2021-02-09 12:31:38 +08:00
|
|
|
|
2023-12-18 15:29:58 +01:00
|
|
|
.rules:patterns:idf-pytest-plugin:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-idf-pytest-plugin
|
|
|
|
|
2021-03-08 10:12:22 +08:00
|
|
|
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
2021-02-09 12:31:38 +08:00
|
|
|
# DO NOT place comments or maintain any code from this line
|
|
|
|
#
|
|
|
|
# Use dependencies.yml and generate_rules.py under .gitlab/ci/dependencies dir
|
|
|
|
# to generate labels and rules
|
|
|
|
# Could also use pre-commit hook to finish this if detected changes on
|
|
|
|
# these two files
|
2021-03-08 10:12:22 +08:00
|
|
|
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
2021-02-09 12:31:38 +08:00
|
|
|
|
|
|
|
##################
|
|
|
|
# Auto Generated #
|
|
|
|
##################
|
2020-09-27 11:20:53 +08:00
|
|
|
.if-label-build: &if-label-build
|
2021-02-25 16:44:39 +08:00
|
|
|
if: '$BOT_LABEL_BUILD || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build(?:,[^,\n\r]+)*$/i'
|
2020-09-27 11:20:53 +08:00
|
|
|
|
2021-02-09 12:31:38 +08:00
|
|
|
.if-label-docker: &if-label-docker
|
2021-02-25 16:44:39 +08:00
|
|
|
if: '$BOT_LABEL_DOCKER || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docker(?:,[^,\n\r]+)*$/i'
|
2021-02-09 12:31:38 +08:00
|
|
|
|
|
|
|
.if-label-host_test: &if-label-host_test
|
2021-02-25 16:44:39 +08:00
|
|
|
if: '$BOT_LABEL_HOST_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*host_test(?:,[^,\n\r]+)*$/i'
|
2021-02-09 12:31:38 +08:00
|
|
|
|
|
|
|
.if-label-macos: &if-label-macos
|
2021-02-25 16:44:39 +08:00
|
|
|
if: '$BOT_LABEL_MACOS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos(?:,[^,\n\r]+)*$/i'
|
2021-02-09 12:31:38 +08:00
|
|
|
|
|
|
|
.if-label-macos_test: &if-label-macos_test
|
2021-02-25 16:44:39 +08:00
|
|
|
if: '$BOT_LABEL_MACOS_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos_test(?:,[^,\n\r]+)*$/i'
|
2020-09-27 11:20:53 +08:00
|
|
|
|
2021-02-09 12:31:38 +08:00
|
|
|
.if-label-nvs_coverage: &if-label-nvs_coverage
|
2021-02-25 16:44:39 +08:00
|
|
|
if: '$BOT_LABEL_NVS_COVERAGE || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*nvs_coverage(?:,[^,\n\r]+)*$/i'
|
2021-02-09 12:31:38 +08:00
|
|
|
|
2021-02-23 12:32:12 +08:00
|
|
|
.if-label-submodule: &if-label-submodule
|
2021-02-25 16:44:39 +08:00
|
|
|
if: '$BOT_LABEL_SUBMODULE || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*submodule(?:,[^,\n\r]+)*$/i'
|
2021-02-23 12:32:12 +08:00
|
|
|
|
2023-10-20 10:40:07 +02:00
|
|
|
.if-label-windows: &if-label-windows
|
|
|
|
if: '$BOT_LABEL_WINDOWS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*windows(?:,[^,\n\r]+)*$/i'
|
|
|
|
|
2021-02-09 12:31:38 +08:00
|
|
|
.rules:build:
|
2020-09-27 11:20:53 +08:00
|
|
|
rules:
|
2021-10-26 17:55:58 +08:00
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
2020-10-20 15:00:50 +08:00
|
|
|
- <<: *if-protected
|
2021-02-09 12:31:38 +08:00
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 16:53:37 +08:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2022-08-30 17:11:19 +02:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-downloadable-tools
|
2020-09-27 11:20:53 +08:00
|
|
|
|
2023-07-14 20:15:50 +08:00
|
|
|
.rules:build:check:
|
|
|
|
rules:
|
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_check
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-downloadable-tools
|
|
|
|
|
2023-12-18 15:29:58 +01:00
|
|
|
.rules:build:docker:
|
2020-09-27 11:20:53 +08:00
|
|
|
rules:
|
2021-10-26 17:55:58 +08:00
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
2021-02-09 12:31:38 +08:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
2023-12-18 15:29:58 +01:00
|
|
|
- <<: *if-label-docker
|
2021-02-22 16:53:37 +08:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-09 12:31:38 +08:00
|
|
|
- <<: *if-dev-push
|
2023-12-18 15:29:58 +01:00
|
|
|
changes: *patterns-docker
|
2022-08-30 17:11:19 +02:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-downloadable-tools
|
2022-12-21 12:07:35 +08:00
|
|
|
- <<: *if-dev-push
|
2023-12-18 15:29:58 +01:00
|
|
|
changes: *patterns-submodule
|
2020-09-27 11:20:53 +08:00
|
|
|
|
2023-12-18 15:29:58 +01:00
|
|
|
.rules:build:macos:
|
2023-04-06 11:08:24 +08:00
|
|
|
rules:
|
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
2023-12-18 15:29:58 +01:00
|
|
|
- <<: *if-label-macos
|
|
|
|
- <<: *if-label-macos_test
|
2023-04-06 11:08:24 +08:00
|
|
|
- <<: *if-dev-push
|
2023-12-18 15:29:58 +01:00
|
|
|
changes: *patterns-build_macos
|
2023-04-06 11:08:24 +08:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-downloadable-tools
|
|
|
|
|
2023-12-18 15:29:58 +01:00
|
|
|
.rules:build:target_test:
|
2021-11-26 17:03:47 +08:00
|
|
|
rules:
|
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
|
|
|
- <<: *if-dev-push
|
2023-12-18 15:29:58 +01:00
|
|
|
changes: *patterns-build_template-app
|
2022-08-30 17:11:19 +02:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-downloadable-tools
|
2021-11-26 17:03:47 +08:00
|
|
|
|
2023-12-18 15:29:58 +01:00
|
|
|
.rules:labels:nvs_coverage:
|
2020-09-27 11:20:53 +08:00
|
|
|
rules:
|
2021-10-26 17:55:58 +08:00
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
2023-12-18 15:29:58 +01:00
|
|
|
- <<: *if-label-nvs_coverage
|
2020-09-27 11:20:53 +08:00
|
|
|
|
2023-12-18 15:29:58 +01:00
|
|
|
.rules:labels:windows_pytest_build_system:
|
2023-12-07 11:15:55 +01:00
|
|
|
rules:
|
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
|
|
|
- <<: *if-schedule-test-build-system-windows
|
|
|
|
- <<: *if-label-windows
|
|
|
|
|
2022-10-09 13:10:59 +08:00
|
|
|
.rules:test:host_test:
|
2020-09-27 11:20:53 +08:00
|
|
|
rules:
|
2021-10-26 17:55:58 +08:00
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
2021-02-09 12:31:38 +08:00
|
|
|
- <<: *if-protected
|
2021-03-08 10:12:22 +08:00
|
|
|
- <<: *if-label-build-only
|
|
|
|
when: never
|
2022-10-09 13:10:59 +08:00
|
|
|
- <<: *if-label-host_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-host_test
|
2020-09-27 11:20:53 +08:00
|
|
|
|
2022-10-09 13:10:59 +08:00
|
|
|
.rules:test:submodule:
|
2022-08-17 15:49:36 +08:00
|
|
|
rules:
|
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build-only
|
|
|
|
when: never
|
2022-10-09 13:10:59 +08:00
|
|
|
- <<: *if-label-submodule
|
2022-08-17 15:49:36 +08:00
|
|
|
- <<: *if-dev-push
|
2022-10-09 13:10:59 +08:00
|
|
|
changes: *patterns-submodule
|