2021-02-08 23:31:38 -05:00
|
|
|
############
|
|
|
|
# Patterns #
|
|
|
|
############
|
2020-11-04 04:07:33 -05:00
|
|
|
.patterns-docs: &patterns-docs
|
2021-02-08 23:31:38 -05:00
|
|
|
- ".gitlab/ci/docs.yml"
|
2020-11-04 04:07:33 -05:00
|
|
|
- "docs/**/*"
|
|
|
|
- "components/**/*.h"
|
2021-02-19 04:09:51 -05:00
|
|
|
- "components/**/Kconfig*"
|
2020-11-04 04:07:33 -05:00
|
|
|
- "components/**/CMakeList.txt"
|
|
|
|
- "components/**/sdkconfig*"
|
2021-02-08 23:31:38 -05:00
|
|
|
- "tools/kconfig_new/**/*"
|
2020-11-04 04:07:33 -05:00
|
|
|
- "CONTRIBUTING.rst"
|
|
|
|
|
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-02-18 05:52:39 -05:00
|
|
|
- "tools/ci/static-analysis-rules.yml"
|
2020-11-30 04:40:24 -05:00
|
|
|
- "**/*.{c,C}"
|
|
|
|
- "**/*.{h,H}"
|
2021-02-08 23:31:38 -05:00
|
|
|
- "components/**/Kconfig"
|
|
|
|
- "components/**/CMakeList.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-02-08 23:31:38 -05:00
|
|
|
.patterns-example_test: &patterns-example_test
|
|
|
|
- "tools/ci/python_packages/gitlab_api.py"
|
|
|
|
- "tools/ci/python_packages/idf_http_server_test/**/*"
|
|
|
|
- "tools/ci/python_packages/idf_iperf_test_util/**/*"
|
|
|
|
- "tools/ci/python_packages/tiny_test_fw/**/*"
|
|
|
|
- "tools/ci/python_packages/ttfw_idf/**/*"
|
|
|
|
|
|
|
|
- "tools/ci/find_apps_build_apps.sh"
|
|
|
|
- "tools/build_apps.py"
|
|
|
|
- "tools/find_apps.py"
|
|
|
|
- "tools/find_build_apps/**/*"
|
|
|
|
|
|
|
|
- "tools/esp_prov/**/*"
|
|
|
|
- "examples/**/*"
|
|
|
|
|
|
|
|
.patterns-build-example_test: &patterns-build-example_test
|
|
|
|
- "tools/ci/build_example_dirs.txt"
|
|
|
|
- "tools/ci/get_supported_examples.sh"
|
|
|
|
|
2021-02-22 03:53:37 -05:00
|
|
|
.patterns-build_components: &patterns-build_components
|
|
|
|
- "components/**/*"
|
|
|
|
|
|
|
|
.patterns-build_system: &patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- "tools/cmake/**/*"
|
|
|
|
- "tools/kconfig_new/**/*"
|
|
|
|
- "tools/tools.json"
|
|
|
|
|
|
|
|
.patterns-custom_test: &patterns-custom_test
|
|
|
|
- "components/espcoredump/**/*"
|
|
|
|
|
|
|
|
- "tools/ci/python_packages/gitlab_api.py"
|
|
|
|
- "tools/ci/python_packages/tiny_test_fw/**/*"
|
|
|
|
- "tools/ci/python_packages/ttfw_idf/**/*"
|
|
|
|
|
|
|
|
- "tools/ci/find_apps_build_apps.sh"
|
|
|
|
- "tools/build_apps.py"
|
|
|
|
- "tools/find_apps.py"
|
|
|
|
- "tools/find_build_apps/**/*"
|
|
|
|
|
|
|
|
- "tools/test_apps/**/*"
|
|
|
|
|
|
|
|
.patterns-unit_test: &patterns-unit_test
|
|
|
|
- "tools/ci/python_packages/gitlab_api.py"
|
|
|
|
- "tools/ci/python_packages/tiny_test_fw/**/*"
|
|
|
|
- "tools/ci/python_packages/ttfw_idf/**/*"
|
|
|
|
|
|
|
|
- "tools/ci/find_apps_build_apps.sh"
|
|
|
|
- "tools/build_apps.py"
|
|
|
|
- "tools/find_apps.py"
|
|
|
|
- "tools/find_build_apps/**/*"
|
|
|
|
|
|
|
|
- "tools/unit-test-app/**/*"
|
|
|
|
|
|
|
|
.patterns-component_ut: &patterns-component_ut
|
|
|
|
- "tools/ci/python_packages/gitlab_api.py"
|
|
|
|
- "tools/ci/python_packages/tiny_test_fw/**/*"
|
|
|
|
- "tools/ci/python_packages/ttfw_idf/**/*"
|
|
|
|
|
|
|
|
- "tools/ci/find_apps_build_apps.sh"
|
|
|
|
- "tools/build_apps.py"
|
|
|
|
- "tools/find_apps.py"
|
|
|
|
- "tools/find_build_apps/**/*"
|
|
|
|
|
|
|
|
- "components/**/test_apps/**/*"
|
|
|
|
|
|
|
|
.patterns-integration_test: &patterns-integration_test
|
|
|
|
- "tools/ci/python_packages/tiny_test_fw/**/*"
|
|
|
|
|
|
|
|
.patterns-host_test: &patterns-host_test
|
|
|
|
- ".gitlab/ci/host-test.yml"
|
|
|
|
- "tools/ci/test_autocomplete.py"
|
|
|
|
- "tools/ci/test_build_system.sh"
|
|
|
|
- "tools/ci/test_build_system_cmake.sh"
|
|
|
|
- "tools/ci/test_check_kconfigs.py"
|
|
|
|
- "tools/ci/test_configure_ci_environment.sh"
|
|
|
|
|
|
|
|
- "tools/mass_mfg/**/*"
|
|
|
|
- "components/nvs_flash/test_nvs_host/**/*"
|
|
|
|
|
|
|
|
- "tools/esp_app_trace/**/*"
|
|
|
|
- "tools/ldgen/**/*"
|
|
|
|
|
|
|
|
- "tools/gdb_panic_server.py"
|
|
|
|
- "tools/idf_monitor.py"
|
|
|
|
- "tools/test_idf_monitor/**/*"
|
|
|
|
|
|
|
|
- "tools/idf.py"
|
|
|
|
- "tools/idf_py_actions/**/*"
|
|
|
|
- "tools/test_idf_py/**/*"
|
|
|
|
|
|
|
|
- "tools/idf_size.py"
|
|
|
|
- "tools/test_idf_size/**/*"
|
|
|
|
|
|
|
|
- "tools/tools_schema.json"
|
|
|
|
- "tools/idf_tools.py"
|
|
|
|
- "tools/test_idf_tools/**/*"
|
|
|
|
|
|
|
|
- "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-02-08 23:31:38 -05:00
|
|
|
.patterns-windows: &patterns-windows
|
|
|
|
- "tools/windows/**/*"
|
|
|
|
|
|
|
|
.patterns-docker: &patterns-docker
|
|
|
|
- "tools/docker/**/*"
|
|
|
|
|
2021-02-22 23:32:12 -05:00
|
|
|
.patterns-submodule: &patterns-submodule
|
|
|
|
- "components/asio/asio"
|
|
|
|
- "components/bootloader/subproject/components/micro-ecc/micro-ecc"
|
|
|
|
- "components/bt/controller/lib"
|
|
|
|
- "components/bt/host/nimble/nimble"
|
|
|
|
- "components/cbor/tinycbor"
|
|
|
|
- "components/cmock/CMock"
|
|
|
|
- "components/cmock/CMock/vendor/c_exception"
|
|
|
|
- "components/cmock/CMock/vendor/unity"
|
|
|
|
- "components/coap/libcoap"
|
|
|
|
- "components/coap/libcoap/ext/tinydtls"
|
|
|
|
- "components/esp_wifi/lib"
|
|
|
|
- "components/esptool_py/esptool"
|
|
|
|
- "components/expat/expat"
|
|
|
|
- "components/json/cJSON"
|
|
|
|
- "components/libsodium/libsodium"
|
|
|
|
- "components/lwip/lwip"
|
|
|
|
- "components/mbedtls/mbedtls"
|
|
|
|
- "components/mqtt/esp-mqtt"
|
|
|
|
- "components/nghttp/nghttp2"
|
|
|
|
- "components/nghttp/nghttp2/third-party/mruby"
|
|
|
|
- "components/nghttp/nghttp2/third-party/neverbleed"
|
|
|
|
- "components/protobuf-c/protobuf-c"
|
|
|
|
- "components/spiffs/spiffs"
|
|
|
|
- "components/tinyusb/tinyusb"
|
|
|
|
- "components/unity/unity"
|
|
|
|
- "examples/build_system/cmake/import_lib/main/lib/tinyxml2"
|
|
|
|
- "examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib"
|
|
|
|
|
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
|
|
|
|
if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/)'
|
|
|
|
|
|
|
|
.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'
|
|
|
|
|
|
|
|
.if-dev-push: &if-dev-push
|
|
|
|
if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event")'
|
|
|
|
|
|
|
|
.if-schedule: &if-schedule
|
|
|
|
if: '$CI_PIPELINE_SOURCE == "schedule"'
|
|
|
|
|
|
|
|
.if-trigger: &if-trigger
|
|
|
|
if: '$CI_PIPELINE_SOURCE == "trigger"'
|
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
#########
|
|
|
|
# Rules #
|
|
|
|
#########
|
|
|
|
.rules:protected:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
|
|
|
|
.rules:protected-no_label:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected-no_label
|
|
|
|
|
|
|
|
.rules:dev:
|
|
|
|
rules:
|
|
|
|
- <<: *if-trigger
|
|
|
|
- <<: *if-dev-push
|
|
|
|
|
|
|
|
.rules:tag:release:
|
|
|
|
rules:
|
|
|
|
- <<: *if-tag-release
|
|
|
|
|
|
|
|
.rules:ref:master-schedule:
|
|
|
|
rules:
|
|
|
|
- <<: *if-ref-master
|
|
|
|
- <<: *if-schedule
|
|
|
|
|
|
|
|
.rules:ref:master-schedule-always:
|
|
|
|
rules:
|
|
|
|
- <<: *if-ref-master
|
|
|
|
when: always
|
|
|
|
- <<: *if-schedule
|
|
|
|
when: always
|
2020-09-26 23:20:53 -04:00
|
|
|
|
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-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
|
|
|
|
|
|
|
|
##################
|
|
|
|
# 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
|
|
|
|
2020-10-20 03:00:50 -04:00
|
|
|
.if-label-build_docs: &if-label-build_docs
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_BUILD_DOCS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build_docs(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-component_ut: &if-label-component_ut
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_COMPONENT_UT || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-component_ut_esp32: &if-label-component_ut_esp32
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_COMPONENT_UT_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-component_ut_esp32c3: &if-label-component_ut_esp32c3
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_COMPONENT_UT_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32c3(?:,[^,\n\r]+)*$/i'
|
2020-11-29 22:44:37 -05:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-component_ut_esp32s2: &if-label-component_ut_esp32s2
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_COMPONENT_UT_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s2(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-component_ut_esp32s3: &if-label-component_ut_esp32s3
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_COMPONENT_UT_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s3(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-custom_test: &if-label-custom_test
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_CUSTOM_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test(?:,[^,\n\r]+)*$/i'
|
2020-12-30 03:10:37 -05:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-custom_test_esp32: &if-label-custom_test_esp32
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_CUSTOM_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-custom_test_esp32c3: &if-label-custom_test_esp32c3
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_CUSTOM_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32c3(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-custom_test_esp32s2: &if-label-custom_test_esp32s2
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_CUSTOM_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s2(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-custom_test_esp32s3: &if-label-custom_test_esp32s3
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_CUSTOM_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s3(?:,[^,\n\r]+)*$/i'
|
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-docs: &if-label-docs
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_DOCS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docs(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2020-10-20 03:00:50 -04:00
|
|
|
.if-label-example_test: &if-label-example_test
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_EXAMPLE_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-example_test_esp32: &if-label-example_test_esp32
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_EXAMPLE_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-example_test_esp32c3: &if-label-example_test_esp32c3
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_EXAMPLE_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32c3(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-example_test_esp32s2: &if-label-example_test_esp32s2
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_EXAMPLE_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s2(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-example_test_esp32s3: &if-label-example_test_esp32s3
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_EXAMPLE_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s3(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2020-10-20 03:00:50 -04:00
|
|
|
.if-label-fuzzer_test: &if-label-fuzzer_test
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_FUZZER_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*fuzzer_test(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
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-integration_test: &if-label-integration_test
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_INTEGRATION_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*integration_test(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2020-10-20 03:00:50 -04:00
|
|
|
.if-label-iperf_stress_test: &if-label-iperf_stress_test
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_IPERF_STRESS_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*iperf_stress_test(?:,[^,\n\r]+)*$/i'
|
2020-09-26 23:20:53 -04:00
|
|
|
|
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
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.if-label-unit_test: &if-label-unit_test
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_UNIT_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-unit_test_esp32: &if-label-unit_test_esp32
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_UNIT_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-unit_test_esp32c3: &if-label-unit_test_esp32c3
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_UNIT_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32c3(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-unit_test_esp32s2: &if-label-unit_test_esp32s2
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_UNIT_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s2(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-unit_test_esp32s3: &if-label-unit_test_esp32s3
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_UNIT_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s3(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-weekend_test: &if-label-weekend_test
|
2021-02-25 03:44:39 -05:00
|
|
|
if: '$BOT_LABEL_WEEKEND_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*weekend_test(?:,[^,\n\r]+)*$/i'
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.if-label-windows: &if-label-windows
|
2021-02-25 03:44:39 -05:00
|
|
|
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:
|
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
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:component_ut-esp32:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-component_ut
|
|
|
|
- <<: *if-label-component_ut_esp32
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-component_ut
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:component_ut-esp32c3:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2020-10-20 03:00:50 -04:00
|
|
|
- <<: *if-protected
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-component_ut
|
|
|
|
- <<: *if-label-component_ut_esp32c3
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32c3
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-component_ut
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:component_ut-esp32s2:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-component_ut
|
|
|
|
- <<: *if-label-component_ut_esp32s2
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32s2
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-component_ut
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:component_ut-esp32s3:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-component_ut
|
|
|
|
- <<: *if-label-component_ut_esp32s3
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32s3
|
2020-10-20 03:00:50 -04:00
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-component_ut
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:custom_test-esp32:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-custom_test
|
|
|
|
- <<: *if-label-custom_test_esp32
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-custom_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:custom_test-esp32c3:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-custom_test
|
|
|
|
- <<: *if-label-custom_test_esp32c3
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-custom_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:custom_test-esp32s2:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-custom_test
|
|
|
|
- <<: *if-label-custom_test_esp32s2
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-custom_test
|
2020-10-20 03:00:50 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:custom_test-esp32s3:
|
2020-10-20 03:00:50 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-custom_test
|
|
|
|
- <<: *if-label-custom_test_esp32s3
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-custom_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:docker:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
2020-09-26 23:20:53 -04:00
|
|
|
- <<: *if-label-build
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-docker
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-docker
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:docs:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2020-11-04 04:07:33 -05:00
|
|
|
- <<: *if-protected
|
2020-10-20 03:00:50 -04:00
|
|
|
- <<: *if-label-build_docs
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-docs
|
2020-11-04 04:07:33 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-docs
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-19 04:28:09 -05:00
|
|
|
.rules:build:docs-production:
|
2020-11-10 21:27:27 -05:00
|
|
|
rules:
|
2021-02-19 04:28:09 -05:00
|
|
|
- <<: *if-protected-no_label
|
|
|
|
|
|
|
|
.rules:build:docs:label-only:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
2020-11-10 21:27:27 -05:00
|
|
|
- <<: *if-label-build_docs
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-docs
|
2020-11-10 21:27:27 -05:00
|
|
|
|
2021-02-19 04:28:09 -05:00
|
|
|
.rules:build:docs:label-only-preview:
|
2020-11-30 04:40:24 -05:00
|
|
|
rules:
|
2021-02-19 04:28:09 -05:00
|
|
|
- <<: *if-label-build_docs
|
|
|
|
- <<: *if-label-docs
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.rules:build:example_test-esp32:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-example_test
|
|
|
|
- <<: *if-label-example_test_esp32
|
|
|
|
- <<: *if-label-iperf_stress_test
|
|
|
|
- <<: *if-label-weekend_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build-example_test
|
2021-02-22 03:53:37 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-example_test
|
2020-11-30 04:40:24 -05:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:example_test-esp32c3:
|
2020-11-30 04:40:24 -05:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-example_test
|
|
|
|
- <<: *if-label-example_test_esp32c3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build-example_test
|
2021-02-22 03:53:37 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-example_test
|
2020-11-30 04:40:24 -05:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:example_test-esp32s2:
|
2020-11-30 04:40:24 -05:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-example_test
|
|
|
|
- <<: *if-label-example_test_esp32s2
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build-example_test
|
2021-02-22 03:53:37 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-example_test
|
2020-11-30 04:40:24 -05:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:example_test-esp32s3:
|
2020-11-30 04:40:24 -05:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-example_test
|
|
|
|
- <<: *if-label-example_test_esp32s3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build-example_test
|
2021-02-22 03:53:37 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-example_test
|
2020-11-30 04:40:24 -05:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:integration_test:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-integration_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-integration_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:macos:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-macos
|
|
|
|
- <<: *if-label-macos_test
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_system
|
|
|
|
|
|
|
|
.rules:build:target_test:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-component_ut
|
|
|
|
- <<: *if-label-component_ut_esp32
|
|
|
|
- <<: *if-label-component_ut_esp32c3
|
|
|
|
- <<: *if-label-component_ut_esp32s2
|
|
|
|
- <<: *if-label-component_ut_esp32s3
|
|
|
|
- <<: *if-label-custom_test
|
|
|
|
- <<: *if-label-custom_test_esp32
|
|
|
|
- <<: *if-label-custom_test_esp32c3
|
|
|
|
- <<: *if-label-custom_test_esp32s2
|
|
|
|
- <<: *if-label-custom_test_esp32s3
|
|
|
|
- <<: *if-label-example_test
|
|
|
|
- <<: *if-label-example_test_esp32
|
|
|
|
- <<: *if-label-example_test_esp32c3
|
|
|
|
- <<: *if-label-example_test_esp32s2
|
|
|
|
- <<: *if-label-example_test_esp32s3
|
|
|
|
- <<: *if-label-integration_test
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32
|
|
|
|
- <<: *if-label-unit_test_esp32c3
|
|
|
|
- <<: *if-label-unit_test_esp32s2
|
|
|
|
- <<: *if-label-unit_test_esp32s3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build-example_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-component_ut
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-custom_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-example_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-integration_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-unit_test
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.rules:build:unit_test-esp32:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-unit_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:build:unit_test-esp32c3:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-unit_test_esp32c3
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
|
|
|
|
.rules:build:unit_test-esp32s2:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32s2
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-unit_test
|
|
|
|
|
|
|
|
.rules:build:unit_test-esp32s3:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32s3
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_components
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-unit_test
|
|
|
|
|
|
|
|
.rules:build:windows:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-build
|
|
|
|
- <<: *if-label-windows
|
|
|
|
- <<: *if-dev-push
|
2021-02-22 03:53:37 -05:00
|
|
|
changes: *patterns-build_system
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-windows
|
|
|
|
|
|
|
|
.rules:labels:fuzzer_test-weekend_test:
|
|
|
|
rules:
|
2020-10-20 03:00:50 -04:00
|
|
|
- <<: *if-label-fuzzer_test
|
|
|
|
- <<: *if-label-weekend_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:labels:iperf_stress_test:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-iperf_stress_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:labels:nvs_coverage:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-nvs_coverage
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:labels:weekend_test:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-weekend_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:any_test:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-component_ut
|
|
|
|
- <<: *if-label-component_ut_esp32
|
|
|
|
- <<: *if-label-component_ut_esp32c3
|
|
|
|
- <<: *if-label-component_ut_esp32s2
|
|
|
|
- <<: *if-label-component_ut_esp32s3
|
2020-10-20 03:00:50 -04:00
|
|
|
- <<: *if-label-custom_test
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-custom_test_esp32
|
|
|
|
- <<: *if-label-custom_test_esp32c3
|
|
|
|
- <<: *if-label-custom_test_esp32s2
|
|
|
|
- <<: *if-label-custom_test_esp32s3
|
|
|
|
- <<: *if-label-example_test
|
|
|
|
- <<: *if-label-example_test_esp32
|
|
|
|
- <<: *if-label-example_test_esp32c3
|
|
|
|
- <<: *if-label-example_test_esp32s2
|
|
|
|
- <<: *if-label-example_test_esp32s3
|
|
|
|
- <<: *if-label-host_test
|
|
|
|
- <<: *if-label-integration_test
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32
|
|
|
|
- <<: *if-label-unit_test_esp32c3
|
|
|
|
- <<: *if-label-unit_test_esp32s2
|
|
|
|
- <<: *if-label-unit_test_esp32s3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build-example_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-component_ut
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-custom_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-example_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-host_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-integration_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-unit_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:component_ut-esp32:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-component_ut
|
|
|
|
- <<: *if-label-component_ut_esp32
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-component_ut
|
2020-11-12 04:58:24 -05:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:component_ut-esp32c3:
|
2020-11-12 04:58:24 -05:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-component_ut
|
|
|
|
- <<: *if-label-component_ut_esp32c3
|
2020-11-29 22:44:37 -05:00
|
|
|
- <<: *if-label-unit_test
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-unit_test_esp32c3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-component_ut
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:component_ut-esp32s2:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-component_ut
|
|
|
|
- <<: *if-label-component_ut_esp32s2
|
2020-11-29 22:44:37 -05:00
|
|
|
- <<: *if-label-unit_test
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-unit_test_esp32s2
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-component_ut
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:component_ut-esp32s3:
|
2020-12-30 03:10:37 -05:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-component_ut
|
|
|
|
- <<: *if-label-component_ut_esp32s3
|
2020-12-30 03:10:37 -05:00
|
|
|
- <<: *if-label-unit_test
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-unit_test_esp32s3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-component_ut
|
2020-12-30 03:10:37 -05:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:custom_test-esp32:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-custom_test
|
|
|
|
- <<: *if-label-custom_test_esp32
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-custom_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:custom_test-esp32c3:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
2020-10-20 03:00:50 -04:00
|
|
|
- <<: *if-label-custom_test
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-custom_test_esp32c3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-custom_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:custom_test-esp32s2:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-custom_test
|
|
|
|
- <<: *if-label-custom_test_esp32s2
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-custom_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:custom_test-esp32s3:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-custom_test
|
|
|
|
- <<: *if-label-custom_test_esp32s3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-custom_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:example_test-esp32:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-example_test
|
|
|
|
- <<: *if-label-example_test_esp32
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build-example_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-example_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:example_test-esp32c3:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
2020-10-20 03:00:50 -04:00
|
|
|
- <<: *if-label-example_test
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-example_test_esp32c3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build-example_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-example_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:example_test-esp32s2:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-example_test
|
|
|
|
- <<: *if-label-example_test_esp32s2
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build-example_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-example_test
|
2020-09-26 23:20:53 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:example_test-esp32s3:
|
2020-09-26 23:20:53 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
2020-10-20 03:00:50 -04:00
|
|
|
- <<: *if-label-example_test
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-example_test_esp32s3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build-example_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-example_test
|
2020-10-21 00:12:28 -04:00
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:host_test:
|
2020-10-21 00:12:28 -04:00
|
|
|
rules:
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-host_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-host_test
|
|
|
|
|
|
|
|
.rules:test:integration_test:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-integration_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-integration_test
|
|
|
|
|
2021-02-22 23:32:12 -05:00
|
|
|
.rules:test:submodule:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-submodule
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-submodule
|
|
|
|
|
2021-02-08 23:31:38 -05:00
|
|
|
.rules:test:target_test:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-component_ut
|
|
|
|
- <<: *if-label-component_ut_esp32
|
|
|
|
- <<: *if-label-component_ut_esp32c3
|
|
|
|
- <<: *if-label-component_ut_esp32s2
|
|
|
|
- <<: *if-label-component_ut_esp32s3
|
2020-10-21 00:12:28 -04:00
|
|
|
- <<: *if-label-custom_test
|
2021-02-08 23:31:38 -05:00
|
|
|
- <<: *if-label-custom_test_esp32
|
|
|
|
- <<: *if-label-custom_test_esp32c3
|
|
|
|
- <<: *if-label-custom_test_esp32s2
|
|
|
|
- <<: *if-label-custom_test_esp32s3
|
|
|
|
- <<: *if-label-example_test
|
|
|
|
- <<: *if-label-example_test_esp32
|
|
|
|
- <<: *if-label-example_test_esp32c3
|
|
|
|
- <<: *if-label-example_test_esp32s2
|
|
|
|
- <<: *if-label-example_test_esp32s3
|
|
|
|
- <<: *if-label-integration_test
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32
|
|
|
|
- <<: *if-label-unit_test_esp32c3
|
|
|
|
- <<: *if-label-unit_test_esp32s2
|
|
|
|
- <<: *if-label-unit_test_esp32s3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-build-example_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-component_ut
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-custom_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-example_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-integration_test
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-unit_test
|
|
|
|
|
|
|
|
.rules:test:unit_test-esp32:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-unit_test
|
|
|
|
|
|
|
|
.rules:test:unit_test-esp32c3:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-unit_test_esp32c3
|
|
|
|
|
|
|
|
.rules:test:unit_test-esp32s2:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32s2
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-unit_test
|
|
|
|
|
|
|
|
.rules:test:unit_test-esp32s3:
|
|
|
|
rules:
|
|
|
|
- <<: *if-protected
|
|
|
|
- <<: *if-label-unit_test
|
|
|
|
- <<: *if-label-unit_test_esp32s3
|
|
|
|
- <<: *if-dev-push
|
|
|
|
changes: *patterns-unit_test
|