2021-02-08 23:31:38 -05:00
|
|
|
############
|
|
|
|
# Patterns #
|
|
|
|
############
|
2020-11-30 04:40:24 -05:00
|
|
|
.patterns-c-files: &patterns-c-files
|
2021-02-16 11:31:08 -05:00
|
|
|
- ".gitlab/ci/static-code-analysis.yml"
|
2021-08-18 21:26:20 -04:00
|
|
|
|
2021-02-18 05:52:39 -05:00
|
|
|
- "tools/ci/static-analysis-rules.yml"
|
2021-08-18 21:26:20 -04:00
|
|
|
- "tools/ci/clang_tidy_dirs.txt"
|
|
|
|
|
2022-12-15 12:46:33 -05:00
|
|
|
- "**/*.{c,C,cpp}"
|
|
|
|
- "**/*.{h,H,hpp}"
|
2021-02-08 23:31:38 -05:00
|
|
|
- "components/**/Kconfig"
|
|
|
|
- "components/**/CMakeList.txt"
|
2020-11-30 04:40:24 -05:00
|
|
|
|
2022-06-06 21:05:15 -04:00
|
|
|
.patterns-python-cache: &patterns-python-cache
|
|
|
|
- "tools/requirements.json"
|
|
|
|
- "tools/requirements/requirements.*.txt"
|
|
|
|
|
2020-11-30 04:40:24 -05:00
|
|
|
.patterns-python-files: &patterns-python-files
|
2021-02-08 23:31:38 -05:00
|
|
|
- ".gitlab/ci/static-code-analysis.yml"
|
2020-11-30 04:40:24 -05:00
|
|
|
- "**/*.py"
|
|
|
|
|
2021-07-29 03:55:03 -04:00
|
|
|
.patterns-sonarqube-files: &patterns-sonarqube-files
|
|
|
|
- "tools/ci/sonar_exclude_list.txt"
|
|
|
|
|
2021-02-22 03:53:37 -05:00
|
|
|
.patterns-build_components: &patterns-build_components
|
2023-09-08 00:45:19 -04: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 03:53:37 -05:00
|
|
|
|
2022-08-30 11:11:19 -04:00
|
|
|
.patterns-downloadable-tools: &patterns-downloadable-tools
|
|
|
|
- "tools/idf_tools.py"
|
|
|
|
- "tools/tools.json"
|
|
|
|
|
2023-07-14 08:15:50 -04:00
|
|
|
.patterns-build_template-app: &patterns-build_template-app
|
|
|
|
- "tools/ci/build_template_app.sh"
|
|
|
|
|
2021-02-22 03:53:37 -05:00
|
|
|
.patterns-build_system: &patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- "tools/cmake/**/*"
|
|
|
|
- "tools/kconfig_new/**/*"
|
2023-10-21 00:40:02 -04:00
|
|
|
- "tools/idf.py"
|
|
|
|
- "tools/idf_py_actions/**/*"
|
2022-02-01 13:11:46 -05:00
|
|
|
- "tools/requirements.json"
|
2024-01-29 01:24:57 -05:00
|
|
|
- "tools/ci/ignore_build_warnings.txt"
|
2021-08-02 22:40:39 -04:00
|
|
|
- "tools/ci/test_build_system*.sh"
|
2021-08-30 18:32:07 -04:00
|
|
|
- "tools/ci/test_build_system*.py"
|
2022-07-12 22:34:02 -04:00
|
|
|
- "tools/ci/ci_build_apps.py"
|
2022-08-08 20:11:57 -04:00
|
|
|
- "tools/test_build_system/**/*"
|
2021-02-08 23:31:38 -05:00
|
|
|
|
2023-07-14 08:15:50 -04: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"
|
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.patterns-host_test: &patterns-host_test
|
|
|
|
- ".gitlab/ci/host-test.yml"
|
2021-07-19 22:00:25 -04:00
|
|
|
|
|
|
|
- "components/**/*"
|
|
|
|
|
2023-11-29 04:43:19 -05:00
|
|
|
- "tools/ci/test_autocomplete/*"
|
2021-02-08 23:31:38 -05: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 07:38:19 -04:00
|
|
|
- "tools/test_idf_size/**/*"
|
2021-02-08 23:31:38 -05:00
|
|
|
|
2021-07-27 06:19:35 -04:00
|
|
|
- "tools/tools.json"
|
2021-02-08 23:31:38 -05:00
|
|
|
- "tools/tools_schema.json"
|
|
|
|
- "tools/idf_tools.py"
|
|
|
|
- "tools/test_idf_tools/**/*"
|
2021-09-16 10:48:03 -04:00
|
|
|
- "tools/install_util.py"
|
2021-02-08 23:31:38 -05:00
|
|
|
|
2022-02-01 13:11:46 -05:00
|
|
|
- "tools/requirements/*"
|
|
|
|
- "tools/requirements.json"
|
|
|
|
- "tools/requirements_schema.json"
|
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
- "tools/mkdfu.py"
|
|
|
|
- "tools/test_mkdfu/**/*"
|
|
|
|
|
|
|
|
- "tools/kconfig_new/**/*"
|
|
|
|
|
2021-02-18 05:52:39 -05:00
|
|
|
- "tools/detect_python.sh"
|
|
|
|
- "tools/detect_python.fish"
|
|
|
|
|
2021-10-09 03:42:14 -04:00
|
|
|
- "tools/ci/test_reproducible_build.sh"
|
|
|
|
|
2021-11-05 05:23:24 -04:00
|
|
|
- "tools/gen_soc_caps_kconfig/*"
|
2021-12-27 03:29:07 -05: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 01:03:08 -05:00
|
|
|
- "tools/check_python_dependencies.py"
|
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.patterns-docker: &patterns-docker
|
|
|
|
- "tools/docker/**/*"
|
|
|
|
|
2021-02-22 23:32:12 -05:00
|
|
|
.patterns-submodule: &patterns-submodule
|
|
|
|
- "components/bootloader/subproject/components/micro-ecc/micro-ecc"
|
2021-04-23 07:59:57 -04:00
|
|
|
- "components/bt/controller/lib_esp32"
|
2022-06-30 00:13:57 -04:00
|
|
|
- "components/bt/controller/lib_esp32c2/esp32c2-bt-lib"
|
2021-04-23 07:59:57 -04:00
|
|
|
- "components/bt/controller/lib_esp32c3_family"
|
2022-06-30 00:13:57 -04:00
|
|
|
- "components/bt/controller/lib_esp32h2/esp32h2-bt-lib"
|
2021-02-22 23:32:12 -05:00
|
|
|
- "components/bt/host/nimble/nimble"
|
|
|
|
- "components/cmock/CMock"
|
2021-05-24 07:39:39 -04:00
|
|
|
- "components/esp_phy/lib"
|
2021-02-22 23:32:12 -05:00
|
|
|
- "components/esp_wifi/lib"
|
2022-12-14 04:10:54 -05:00
|
|
|
- "components/esp_coex/lib"
|
2021-02-22 23:32:12 -05:00
|
|
|
- "components/json/cJSON"
|
|
|
|
- "components/lwip/lwip"
|
|
|
|
- "components/mbedtls/mbedtls"
|
|
|
|
- "components/mqtt/esp-mqtt"
|
2021-06-28 07:20:51 -04:00
|
|
|
- "components/openthread/lib"
|
2022-06-30 00:13:57 -04:00
|
|
|
- "components/openthread/openthread"
|
2021-02-22 23:32:12 -05:00
|
|
|
- "components/protobuf-c/protobuf-c"
|
|
|
|
- "components/spiffs/spiffs"
|
|
|
|
- "components/unity/unity"
|
2022-07-20 07:59:14 -04:00
|
|
|
- "components/heap/tlsf"
|
2023-01-04 23:26:17 -05:00
|
|
|
- "components/bt/controller/lib_esp32c6/esp32c6-bt-lib"
|
2024-04-09 06:31:01 -04:00
|
|
|
- "components/bt/controller/lib_esp32c5/esp32c5-bt-lib"
|
2023-11-07 20:57:57 -05:00
|
|
|
- "components/bt/esp_ble_mesh/lib/lib"
|
2022-07-12 04:48:54 -04:00
|
|
|
- ".gitmodules"
|
2021-02-22 23:32:12 -05:00
|
|
|
|
2023-12-18 09:29:58 -05:00
|
|
|
.patterns-idf-pytest-plugin: &patterns-idf-pytest-plugin
|
|
|
|
- "tools/ci/idf_pytest/**/*"
|
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
##############
|
|
|
|
# if anchors #
|
|
|
|
##############
|
2020-10-20 03:00:50 -04:00
|
|
|
.if-ref-master: &if-ref-master
|
2020-09-26 23:20:53 -04:00
|
|
|
if: '$CI_COMMIT_REF_NAME == "master"'
|
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-tag-release: &if-tag-release
|
|
|
|
if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2020-10-20 03:00:50 -04:00
|
|
|
.if-protected: &if-protected
|
2023-10-18 00:55:53 -04: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 03:00:50 -04:00
|
|
|
|
|
|
|
.if-protected-no_label: &if-protected-no_label
|
2020-09-26 23:20:53 -04: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 06:32:31 -05: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 00:55:53 -04:00
|
|
|
.if-qa-test-tag: &if-qa-test-tag
|
|
|
|
if: '$CI_COMMIT_TAG =~ /^qa-test/'
|
|
|
|
|
2020-09-26 23:20:53 -04:00
|
|
|
.if-dev-push: &if-dev-push
|
2023-10-18 00:55:53 -04: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-26 23:20:53 -04:00
|
|
|
|
|
|
|
.if-schedule: &if-schedule
|
|
|
|
if: '$CI_PIPELINE_SOURCE == "schedule"'
|
|
|
|
|
2023-12-19 03:19:50 -05:00
|
|
|
.if-schedule-nightly: &if-schedule-nightly
|
|
|
|
if: '$CI_PIPELINE_SOURCE == "schedule" && $INCLUDE_NIGHTLY_RUN == "1"'
|
|
|
|
|
2023-10-20 04:40:07 -04: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-07 21:12:22 -05: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-21 19:58:45 -05:00
|
|
|
.if-label-upload_cache: &if-label-upload_cache
|
|
|
|
if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*upload_cache(?:,[^,\n\r]+)*$/i'
|
|
|
|
|
2021-10-26 05:55:58 -04:00
|
|
|
.if-revert-branch: &if-revert-branch
|
|
|
|
if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^revert-/'
|
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
#########
|
|
|
|
# Rules #
|
|
|
|
#########
|
2023-05-23 22:53:57 -04:00
|
|
|
### Branches ###
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:protected:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
|
2023-10-18 00:55:53 -04:00
|
|
|
.rules:push_to_github:
|
2021-02-08 23:31:38 -05:00
|
|
|
rules:
|
2023-10-18 00:55:53 -04:00
|
|
|
- <<: *if-qa-test-tag
|
|
|
|
when: never
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected-no_label
|
|
|
|
|
2023-05-16 22:12:15 -04:00
|
|
|
.rules:protected-no_label-always:
|
|
|
|
rules:
|
2023-10-18 00:55:53 -04:00
|
|
|
- <<: *if-qa-test-tag
|
|
|
|
when: never
|
2023-05-16 22:12:15 -04:00
|
|
|
- <<: *if-protected-no_label
|
|
|
|
when: always
|
|
|
|
|
2023-05-23 22:53:57 -04:00
|
|
|
.rules:tag:release:
|
|
|
|
rules:
|
|
|
|
- <<: *if-tag-release
|
|
|
|
|
2023-12-19 06:32:31 -05:00
|
|
|
# Do not upload caches on dev branches by default
|
|
|
|
.rules:upload-python-cache:
|
2022-06-06 21:05:15 -04:00
|
|
|
rules:
|
2023-12-19 03:19:50 -05:00
|
|
|
- <<: *if-tag-release
|
|
|
|
- <<: *if-schedule-nightly
|
2023-12-19 06:32:31 -05:00
|
|
|
- <<: *if-protected-ref-push
|
|
|
|
changes: *patterns-python-cache
|
2023-02-21 19:58:45 -05:00
|
|
|
- <<: *if-label-upload_cache
|
|
|
|
when: manual
|
2022-06-06 21:05:15 -04:00
|
|
|
|
2023-12-19 06:32:31 -05:00
|
|
|
.rules:upload-submodule-cache:
|
2022-07-12 04:48:54 -04:00
|
|
|
rules:
|
2023-12-19 06:32:31 -05:00
|
|
|
# Needn't upload submodule cache in schedule pipeline
|
2023-12-19 03:19:50 -05:00
|
|
|
- <<: *if-tag-release
|
2023-12-19 06:32:31 -05:00
|
|
|
- <<: *if-protected-ref-push
|
2022-07-12 04:48:54 -04:00
|
|
|
changes: *patterns-submodule
|
2023-04-13 05:25:46 -04:00
|
|
|
- <<: *if-label-upload_cache
|
|
|
|
when: manual
|
|
|
|
|
2023-12-19 06:32:31 -05:00
|
|
|
### Patterns ###
|
2021-02-08 23:31:38 -05: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-16 11:31:08 -05:00
|
|
|
changes: *patterns-c-files
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-python-files
|
2021-07-29 03:55:03 -04:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-sonarqube-files
|
2021-02-08 23:31:38 -05:00
|
|
|
|
2023-12-18 09:29:58 -05:00
|
|
|
.rules:patterns:idf-pytest-plugin:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-idf-pytest-plugin
|
|
|
|
|
2021-03-07 21:12:22 -05:00
|
|
|
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
2021-02-08 23:31:38 -05: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-07 21:12:22 -05:00
|
|
|
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
##################
|
|
|
|
# Auto Generated #
|
|
|
|
##################
|
2020-09-26 23:20:53 -04:00
|
|
|
.if-label-build: &if-label-build
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_BUILD || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-docker: &if-label-docker
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_DOCKER || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docker(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-host_test: &if-label-host_test
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_HOST_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*host_test(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-macos: &if-label-macos
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_MACOS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-macos_test: &if-label-macos_test
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_MACOS_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos_test(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-nvs_coverage: &if-label-nvs_coverage
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_NVS_COVERAGE || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*nvs_coverage(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
2021-02-22 23:32:12 -05:00
|
|
|
.if-label-submodule: &if-label-submodule
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_SUBMODULE || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*submodule(?:,[^,\n\r]+)*$/i'
|
2021-02-22 23:32:12 -05:00
|
|
|
|
2023-10-20 04:40:07 -04:00
|
|
|
.if-label-windows: &if-label-windows
|
|
|
|
if: '$BOT_LABEL_WINDOWS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*windows(?:,[^,\n\r]+)*$/i'
|
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-10-26 05:55:58 -04:00
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
2020-10-20 03:00:50 -04:00
|
|
|
- <<: *if-protected
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2022-08-30 11:11:19 -04:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-downloadable-tools
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2023-07-14 08:15:50 -04: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 09:29:58 -05:00
|
|
|
.rules:build:docker:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-10-26 05:55:58 -04:00
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
2023-12-18 09:29:58 -05:00
|
|
|
- <<: *if-label-docker
|
2021-02-22 03:53:37 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
2023-12-18 09:29:58 -05:00
|
|
|
changes: *patterns-docker
|
2022-08-30 11:11:19 -04:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-downloadable-tools
|
2022-12-20 23:07:35 -05:00
|
|
|
- <<: *if-dev-push
|
2023-12-18 09:29:58 -05:00
|
|
|
changes: *patterns-submodule
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2023-12-18 09:29:58 -05:00
|
|
|
.rules:build:macos:
|
2023-04-05 23:08:24 -04:00
|
|
|
rules:
|
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
2023-12-18 09:29:58 -05:00
|
|
|
- <<: *if-label-macos
|
|
|
|
- <<: *if-label-macos_test
|
2023-04-05 23:08:24 -04:00
|
|
|
- <<: *if-dev-push
|
2023-12-18 09:29:58 -05:00
|
|
|
changes: *patterns-build_macos
|
2023-04-05 23:08:24 -04:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-downloadable-tools
|
|
|
|
|
2023-12-18 09:29:58 -05:00
|
|
|
.rules:build:target_test:
|
2021-11-26 04:03:47 -05: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 09:29:58 -05:00
|
|
|
changes: *patterns-build_template-app
|
2022-08-30 11:11:19 -04:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-downloadable-tools
|
2021-11-26 04:03:47 -05:00
|
|
|
|
2023-12-18 09:29:58 -05:00
|
|
|
.rules:labels:nvs_coverage:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-10-26 05:55:58 -04:00
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
2023-12-18 09:29:58 -05:00
|
|
|
- <<: *if-label-nvs_coverage
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2023-12-18 09:29:58 -05:00
|
|
|
.rules:labels:windows_pytest_build_system:
|
2023-12-07 05:15:55 -05:00
|
|
|
rules:
|
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
|
|
|
- <<: *if-schedule-test-build-system-windows
|
|
|
|
- <<: *if-label-windows
|
|
|
|
|
2022-10-09 01:10:59 -04:00
|
|
|
.rules:test:host_test:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-10-26 05:55:58 -04:00
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
2021-03-07 21:12:22 -05:00
|
|
|
- <<: *if-label-build-only
|
|
|
|
when: never
|
2022-10-09 01:10:59 -04:00
|
|
|
- <<: *if-label-host_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-host_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2022-10-09 01:10:59 -04:00
|
|
|
.rules:test:submodule:
|
2022-08-17 03:49:36 -04:00
|
|
|
rules:
|
|
|
|
- <<: *if-revert-branch
|
|
|
|
when: never
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build-only
|
|
|
|
when: never
|
2022-10-09 01:10:59 -04:00
|
|
|
- <<: *if-label-submodule
|
2022-08-17 03:49:36 -04:00
|
|
|
- <<: *if-dev-push
|
2022-10-09 01:10:59 -04:00
|
|
|
changes: *patterns-submodule
|