diff --git a/.gitlab/ci/dependencies/generate_rules.py b/.gitlab/ci/dependencies/generate_rules.py index 469799f209..19fd6a52bb 100755 --- a/.gitlab/ci/dependencies/generate_rules.py +++ b/.gitlab/ci/dependencies/generate_rules.py @@ -21,17 +21,22 @@ import sys from collections import defaultdict from itertools import product +import yaml + try: import pygraphviz as pgv except ImportError: # used when pre-commit, skip generating image pass -import yaml +try: + from typing import Union +except ImportError: # used for type hint + pass IDF_PATH = os.path.abspath(os.getenv('IDF_PATH', os.path.join(os.path.dirname(__file__), '..', '..', '..'))) -def _list(str_or_list): +def _list(str_or_list): # type: (Union[str, list]) -> list if isinstance(str_or_list, str): return [str_or_list] elif isinstance(str_or_list, list): @@ -40,7 +45,7 @@ def _list(str_or_list): raise ValueError('Wrong type: {}. Only supports str or list.'.format(type(str_or_list))) -def _format_nested_dict(_dict, f_tuple): +def _format_nested_dict(_dict, f_tuple): # type: (dict[str, dict], tuple[str, ...]) -> dict[str, dict] res = {} for k, v in _dict.items(): k = k.split('__')[0] @@ -54,7 +59,7 @@ def _format_nested_dict(_dict, f_tuple): return res -def _format_nested_list(_list, f_tuple): +def _format_nested_list(_list, f_tuple): # type: (list[str], tuple[str, ...]) -> list[str] res = [] for item in _list: if isinstance(item, list): @@ -76,17 +81,12 @@ class RulesWriter: LABEL_TEMPLATE = inspect.cleandoc(r''' .if-label-{0}: &if-label-{0} - if: '$BOT_LABEL_{1}' - ''') - TITLE_TEMPLATE = inspect.cleandoc(r''' - .if-title-{0}: &if-title-{0} - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*{0}(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*{0}(?:[, ]+\w+)*/i' + if: '$BOT_LABEL_{1} || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*{0}(?:,[^,\n\r]+)*$/i' ''') - RULE_NORM = ' - <<: *if-protected' - RULE_PROD = ' - <<: *if-protected-no_label' + RULE_PROTECTED = ' - <<: *if-protected' + RULE_PROTECTED_NO_LABEL = ' - <<: *if-protected-no_label' RULE_LABEL_TEMPLATE = ' - <<: *if-label-{0}' - RULE_TITLE_TEMPLATE = ' - <<: *if-title-{0}' RULE_PATTERN_TEMPLATE = ' - <<: *if-dev-push\n' \ ' changes: *patterns-{0}' RULES_TEMPLATE = inspect.cleandoc(r""" @@ -175,7 +175,7 @@ class RulesWriter: sorted_res[k][vk] = sorted(vv) return sorted_res - def new_labels_titles_str(self): # type: () -> str + def new_labels_str(self): # type: () -> str _labels = set([]) for k, v in self.cfg.items(): if not v: @@ -188,8 +188,6 @@ class RulesWriter: res = '' res += '\n\n'.join([self._format_label(_label) for _label in labels]) - res += '\n\n' - res += '\n\n'.join([self._format_title(_label) for _label in labels]) return res @classmethod @@ -200,10 +198,6 @@ class RulesWriter: def bot_label_str(label): # type: (str) -> str return label.upper().replace('-', '_') - @classmethod - def _format_title(cls, title): # type: (str) -> str - return cls.TITLE_TEMPLATE.format(title) - def new_rules_str(self): # type: () -> str res = [] for k, v in sorted(self.rules.items()): @@ -213,13 +207,12 @@ class RulesWriter: def _format_rule(self, name, cfg): # type: (str, dict) -> str _rules = [] if name.endswith('-production'): - _rules.append(self.RULE_PROD) + _rules.append(self.RULE_PROTECTED_NO_LABEL) else: if not (name.endswith('-preview') or name.startswith('labels:')): - _rules.append(self.RULE_NORM) + _rules.append(self.RULE_PROTECTED) for label in cfg['labels']: _rules.append(self.RULE_LABEL_TEMPLATE.format(label)) - _rules.append(self.RULE_TITLE_TEMPLATE.format(label)) for pattern in cfg['patterns']: if '.patterns-{}'.format(pattern) in self.rules_cfg: _rules.append(self.RULE_PATTERN_TEMPLATE.format(pattern)) @@ -231,7 +224,7 @@ class RulesWriter: with open(self.rules_yml) as fr: file_str = fr.read() - auto_generate_str = '\n{}\n\n{}\n'.format(self.new_labels_titles_str(), self.new_rules_str()) + auto_generate_str = '\n{}\n\n{}\n'.format(self.new_labels_str(), self.new_rules_str()) rest, marker, old = file_str.partition(self.AUTO_GENERATE_MARKER) if old == auto_generate_str: return False diff --git a/.gitlab/ci/rules.yml b/.gitlab/ci/rules.yml index ce8ee6c05f..9ed55251eb 100644 --- a/.gitlab/ci/rules.yml +++ b/.gitlab/ci/rules.yml @@ -249,214 +249,111 @@ # Auto Generated # ################## .if-label-build: &if-label-build - if: '$BOT_LABEL_BUILD' + if: '$BOT_LABEL_BUILD || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build(?:,[^,\n\r]+)*$/i' .if-label-build_docs: &if-label-build_docs - if: '$BOT_LABEL_BUILD_DOCS' + if: '$BOT_LABEL_BUILD_DOCS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build_docs(?:,[^,\n\r]+)*$/i' .if-label-component_ut: &if-label-component_ut - if: '$BOT_LABEL_COMPONENT_UT' + if: '$BOT_LABEL_COMPONENT_UT || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut(?:,[^,\n\r]+)*$/i' .if-label-component_ut_esp32: &if-label-component_ut_esp32 - if: '$BOT_LABEL_COMPONENT_UT_ESP32' + if: '$BOT_LABEL_COMPONENT_UT_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32(?:,[^,\n\r]+)*$/i' .if-label-component_ut_esp32c3: &if-label-component_ut_esp32c3 - if: '$BOT_LABEL_COMPONENT_UT_ESP32C3' + if: '$BOT_LABEL_COMPONENT_UT_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32c3(?:,[^,\n\r]+)*$/i' .if-label-component_ut_esp32s2: &if-label-component_ut_esp32s2 - if: '$BOT_LABEL_COMPONENT_UT_ESP32S2' + if: '$BOT_LABEL_COMPONENT_UT_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s2(?:,[^,\n\r]+)*$/i' .if-label-component_ut_esp32s3: &if-label-component_ut_esp32s3 - if: '$BOT_LABEL_COMPONENT_UT_ESP32S3' + if: '$BOT_LABEL_COMPONENT_UT_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s3(?:,[^,\n\r]+)*$/i' .if-label-custom_test: &if-label-custom_test - if: '$BOT_LABEL_CUSTOM_TEST' + if: '$BOT_LABEL_CUSTOM_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test(?:,[^,\n\r]+)*$/i' .if-label-custom_test_esp32: &if-label-custom_test_esp32 - if: '$BOT_LABEL_CUSTOM_TEST_ESP32' + if: '$BOT_LABEL_CUSTOM_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32(?:,[^,\n\r]+)*$/i' .if-label-custom_test_esp32c3: &if-label-custom_test_esp32c3 - if: '$BOT_LABEL_CUSTOM_TEST_ESP32C3' + if: '$BOT_LABEL_CUSTOM_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32c3(?:,[^,\n\r]+)*$/i' .if-label-custom_test_esp32s2: &if-label-custom_test_esp32s2 - if: '$BOT_LABEL_CUSTOM_TEST_ESP32S2' + if: '$BOT_LABEL_CUSTOM_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s2(?:,[^,\n\r]+)*$/i' .if-label-custom_test_esp32s3: &if-label-custom_test_esp32s3 - if: '$BOT_LABEL_CUSTOM_TEST_ESP32S3' + if: '$BOT_LABEL_CUSTOM_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s3(?:,[^,\n\r]+)*$/i' .if-label-docker: &if-label-docker - if: '$BOT_LABEL_DOCKER' + if: '$BOT_LABEL_DOCKER || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docker(?:,[^,\n\r]+)*$/i' .if-label-docs: &if-label-docs - if: '$BOT_LABEL_DOCS' + if: '$BOT_LABEL_DOCS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docs(?:,[^,\n\r]+)*$/i' .if-label-example_test: &if-label-example_test - if: '$BOT_LABEL_EXAMPLE_TEST' + if: '$BOT_LABEL_EXAMPLE_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test(?:,[^,\n\r]+)*$/i' .if-label-example_test_esp32: &if-label-example_test_esp32 - if: '$BOT_LABEL_EXAMPLE_TEST_ESP32' + if: '$BOT_LABEL_EXAMPLE_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32(?:,[^,\n\r]+)*$/i' .if-label-example_test_esp32c3: &if-label-example_test_esp32c3 - if: '$BOT_LABEL_EXAMPLE_TEST_ESP32C3' + if: '$BOT_LABEL_EXAMPLE_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32c3(?:,[^,\n\r]+)*$/i' .if-label-example_test_esp32s2: &if-label-example_test_esp32s2 - if: '$BOT_LABEL_EXAMPLE_TEST_ESP32S2' + if: '$BOT_LABEL_EXAMPLE_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s2(?:,[^,\n\r]+)*$/i' .if-label-example_test_esp32s3: &if-label-example_test_esp32s3 - if: '$BOT_LABEL_EXAMPLE_TEST_ESP32S3' + if: '$BOT_LABEL_EXAMPLE_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s3(?:,[^,\n\r]+)*$/i' .if-label-fuzzer_test: &if-label-fuzzer_test - if: '$BOT_LABEL_FUZZER_TEST' + if: '$BOT_LABEL_FUZZER_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*fuzzer_test(?:,[^,\n\r]+)*$/i' .if-label-host_test: &if-label-host_test - if: '$BOT_LABEL_HOST_TEST' + if: '$BOT_LABEL_HOST_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*host_test(?:,[^,\n\r]+)*$/i' .if-label-integration_test: &if-label-integration_test - if: '$BOT_LABEL_INTEGRATION_TEST' + if: '$BOT_LABEL_INTEGRATION_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*integration_test(?:,[^,\n\r]+)*$/i' .if-label-iperf_stress_test: &if-label-iperf_stress_test - if: '$BOT_LABEL_IPERF_STRESS_TEST' + if: '$BOT_LABEL_IPERF_STRESS_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*iperf_stress_test(?:,[^,\n\r]+)*$/i' .if-label-macos: &if-label-macos - if: '$BOT_LABEL_MACOS' + if: '$BOT_LABEL_MACOS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos(?:,[^,\n\r]+)*$/i' .if-label-macos_test: &if-label-macos_test - if: '$BOT_LABEL_MACOS_TEST' + if: '$BOT_LABEL_MACOS_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos_test(?:,[^,\n\r]+)*$/i' .if-label-nvs_coverage: &if-label-nvs_coverage - if: '$BOT_LABEL_NVS_COVERAGE' + if: '$BOT_LABEL_NVS_COVERAGE || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*nvs_coverage(?:,[^,\n\r]+)*$/i' .if-label-submodule: &if-label-submodule - if: '$BOT_LABEL_SUBMODULE' + if: '$BOT_LABEL_SUBMODULE || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*submodule(?:,[^,\n\r]+)*$/i' .if-label-unit_test: &if-label-unit_test - if: '$BOT_LABEL_UNIT_TEST' + if: '$BOT_LABEL_UNIT_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test(?:,[^,\n\r]+)*$/i' .if-label-unit_test_esp32: &if-label-unit_test_esp32 - if: '$BOT_LABEL_UNIT_TEST_ESP32' + if: '$BOT_LABEL_UNIT_TEST_ESP32 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32(?:,[^,\n\r]+)*$/i' .if-label-unit_test_esp32c3: &if-label-unit_test_esp32c3 - if: '$BOT_LABEL_UNIT_TEST_ESP32C3' + if: '$BOT_LABEL_UNIT_TEST_ESP32C3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32c3(?:,[^,\n\r]+)*$/i' .if-label-unit_test_esp32s2: &if-label-unit_test_esp32s2 - if: '$BOT_LABEL_UNIT_TEST_ESP32S2' + if: '$BOT_LABEL_UNIT_TEST_ESP32S2 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s2(?:,[^,\n\r]+)*$/i' .if-label-unit_test_esp32s3: &if-label-unit_test_esp32s3 - if: '$BOT_LABEL_UNIT_TEST_ESP32S3' + if: '$BOT_LABEL_UNIT_TEST_ESP32S3 || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s3(?:,[^,\n\r]+)*$/i' .if-label-weekend_test: &if-label-weekend_test - if: '$BOT_LABEL_WEEKEND_TEST' + if: '$BOT_LABEL_WEEKEND_TEST || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*weekend_test(?:,[^,\n\r]+)*$/i' .if-label-windows: &if-label-windows - if: '$BOT_LABEL_WINDOWS' - -.if-title-build: &if-title-build - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*build(?:[, ]+\w+)*/i' - -.if-title-build_docs: &if-title-build_docs - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*build_docs(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*build_docs(?:[, ]+\w+)*/i' - -.if-title-component_ut: &if-title-component_ut - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*component_ut(?:[, ]+\w+)*/i' - -.if-title-component_ut_esp32: &if-title-component_ut_esp32 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*component_ut_esp32(?:[, ]+\w+)*/i' - -.if-title-component_ut_esp32c3: &if-title-component_ut_esp32c3 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32c3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*component_ut_esp32c3(?:[, ]+\w+)*/i' - -.if-title-component_ut_esp32s2: &if-title-component_ut_esp32s2 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s2(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*component_ut_esp32s2(?:[, ]+\w+)*/i' - -.if-title-component_ut_esp32s3: &if-title-component_ut_esp32s3 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*component_ut_esp32s3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*component_ut_esp32s3(?:[, ]+\w+)*/i' - -.if-title-custom_test: &if-title-custom_test - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*custom_test(?:[, ]+\w+)*/i' - -.if-title-custom_test_esp32: &if-title-custom_test_esp32 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*custom_test_esp32(?:[, ]+\w+)*/i' - -.if-title-custom_test_esp32c3: &if-title-custom_test_esp32c3 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32c3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*custom_test_esp32c3(?:[, ]+\w+)*/i' - -.if-title-custom_test_esp32s2: &if-title-custom_test_esp32s2 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s2(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*custom_test_esp32s2(?:[, ]+\w+)*/i' - -.if-title-custom_test_esp32s3: &if-title-custom_test_esp32s3 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*custom_test_esp32s3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*custom_test_esp32s3(?:[, ]+\w+)*/i' - -.if-title-docker: &if-title-docker - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docker(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*docker(?:[, ]+\w+)*/i' - -.if-title-docs: &if-title-docs - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*docs(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*docs(?:[, ]+\w+)*/i' - -.if-title-example_test: &if-title-example_test - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*example_test(?:[, ]+\w+)*/i' - -.if-title-example_test_esp32: &if-title-example_test_esp32 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*example_test_esp32(?:[, ]+\w+)*/i' - -.if-title-example_test_esp32c3: &if-title-example_test_esp32c3 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32c3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*example_test_esp32c3(?:[, ]+\w+)*/i' - -.if-title-example_test_esp32s2: &if-title-example_test_esp32s2 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s2(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*example_test_esp32s2(?:[, ]+\w+)*/i' - -.if-title-example_test_esp32s3: &if-title-example_test_esp32s3 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*example_test_esp32s3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*example_test_esp32s3(?:[, ]+\w+)*/i' - -.if-title-fuzzer_test: &if-title-fuzzer_test - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*fuzzer_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*fuzzer_test(?:[, ]+\w+)*/i' - -.if-title-host_test: &if-title-host_test - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*host_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*host_test(?:[, ]+\w+)*/i' - -.if-title-integration_test: &if-title-integration_test - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*integration_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*integration_test(?:[, ]+\w+)*/i' - -.if-title-iperf_stress_test: &if-title-iperf_stress_test - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*iperf_stress_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*iperf_stress_test(?:[, ]+\w+)*/i' - -.if-title-macos: &if-title-macos - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*macos(?:[, ]+\w+)*/i' - -.if-title-macos_test: &if-title-macos_test - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*macos_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*macos_test(?:[, ]+\w+)*/i' - -.if-title-nvs_coverage: &if-title-nvs_coverage - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*nvs_coverage(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*nvs_coverage(?:[, ]+\w+)*/i' - -.if-title-submodule: &if-title-submodule - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*submodule(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*submodule(?:[, ]+\w+)*/i' - -.if-title-unit_test: &if-title-unit_test - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*unit_test(?:[, ]+\w+)*/i' - -.if-title-unit_test_esp32: &if-title-unit_test_esp32 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*unit_test_esp32(?:[, ]+\w+)*/i' - -.if-title-unit_test_esp32c3: &if-title-unit_test_esp32c3 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32c3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*unit_test_esp32c3(?:[, ]+\w+)*/i' - -.if-title-unit_test_esp32s2: &if-title-unit_test_esp32s2 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s2(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*unit_test_esp32s2(?:[, ]+\w+)*/i' - -.if-title-unit_test_esp32s3: &if-title-unit_test_esp32s3 - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*unit_test_esp32s3(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*unit_test_esp32s3(?:[, ]+\w+)*/i' - -.if-title-weekend_test: &if-title-weekend_test - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*weekend_test(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*weekend_test(?:[, ]+\w+)*/i' - -.if-title-windows: &if-title-windows - if: '$CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*windows(?:,[^,\n\r]+)*$/i || $CI_COMMIT_DESCRIPTION =~ /test labels?: (?:\w+[, ]+)*windows(?:[, ]+\w+)*/i' + if: '$BOT_LABEL_WINDOWS || $CI_MERGE_REQUEST_LABELS =~ /^(?:[^,\n\r]+,)*windows(?:,[^,\n\r]+)*$/i' .rules:build: rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -466,15 +363,10 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-component_ut - - <<: *if-title-component_ut - <<: *if-label-component_ut_esp32 - - <<: *if-title-component_ut_esp32 - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32 - - <<: *if-title-unit_test_esp32 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -486,15 +378,10 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-component_ut - - <<: *if-title-component_ut - <<: *if-label-component_ut_esp32c3 - - <<: *if-title-component_ut_esp32c3 - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32c3 - - <<: *if-title-unit_test_esp32c3 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -506,15 +393,10 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-component_ut - - <<: *if-title-component_ut - <<: *if-label-component_ut_esp32s2 - - <<: *if-title-component_ut_esp32s2 - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32s2 - - <<: *if-title-unit_test_esp32s2 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -526,15 +408,10 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-component_ut - - <<: *if-title-component_ut - <<: *if-label-component_ut_esp32s3 - - <<: *if-title-component_ut_esp32s3 - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32s3 - - <<: *if-title-unit_test_esp32s3 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -546,11 +423,8 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-custom_test - - <<: *if-title-custom_test - <<: *if-label-custom_test_esp32 - - <<: *if-title-custom_test_esp32 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -562,11 +436,8 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-custom_test - - <<: *if-title-custom_test - <<: *if-label-custom_test_esp32c3 - - <<: *if-title-custom_test_esp32c3 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -578,11 +449,8 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-custom_test - - <<: *if-title-custom_test - <<: *if-label-custom_test_esp32s2 - - <<: *if-title-custom_test_esp32s2 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -594,11 +462,8 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-custom_test - - <<: *if-title-custom_test - <<: *if-label-custom_test_esp32s3 - - <<: *if-title-custom_test_esp32s3 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -610,9 +475,7 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-docker - - <<: *if-title-docker - <<: *if-dev-push changes: *patterns-docker @@ -620,9 +483,7 @@ rules: - <<: *if-protected - <<: *if-label-build_docs - - <<: *if-title-build_docs - <<: *if-label-docs - - <<: *if-title-docs - <<: *if-dev-push changes: *patterns-docs @@ -634,30 +495,21 @@ rules: - <<: *if-protected - <<: *if-label-build_docs - - <<: *if-title-build_docs - <<: *if-label-docs - - <<: *if-title-docs .rules:build:docs:label-only-preview: rules: - <<: *if-label-build_docs - - <<: *if-title-build_docs - <<: *if-label-docs - - <<: *if-title-docs .rules:build:example_test-esp32: rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-example_test - - <<: *if-title-example_test - <<: *if-label-example_test_esp32 - - <<: *if-title-example_test_esp32 - <<: *if-label-iperf_stress_test - - <<: *if-title-iperf_stress_test - <<: *if-label-weekend_test - - <<: *if-title-weekend_test - <<: *if-dev-push changes: *patterns-build-example_test - <<: *if-dev-push @@ -671,11 +523,8 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-example_test - - <<: *if-title-example_test - <<: *if-label-example_test_esp32c3 - - <<: *if-title-example_test_esp32c3 - <<: *if-dev-push changes: *patterns-build-example_test - <<: *if-dev-push @@ -689,11 +538,8 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-example_test - - <<: *if-title-example_test - <<: *if-label-example_test_esp32s2 - - <<: *if-title-example_test_esp32s2 - <<: *if-dev-push changes: *patterns-build-example_test - <<: *if-dev-push @@ -707,11 +553,8 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-example_test - - <<: *if-title-example_test - <<: *if-label-example_test_esp32s3 - - <<: *if-title-example_test_esp32s3 - <<: *if-dev-push changes: *patterns-build-example_test - <<: *if-dev-push @@ -725,7 +568,6 @@ rules: - <<: *if-protected - <<: *if-label-integration_test - - <<: *if-title-integration_test - <<: *if-dev-push changes: *patterns-integration_test @@ -733,11 +575,8 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-macos - - <<: *if-title-macos - <<: *if-label-macos_test - - <<: *if-title-macos_test - <<: *if-dev-push changes: *patterns-build_system @@ -745,49 +584,27 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-component_ut - - <<: *if-title-component_ut - <<: *if-label-component_ut_esp32 - - <<: *if-title-component_ut_esp32 - <<: *if-label-component_ut_esp32c3 - - <<: *if-title-component_ut_esp32c3 - <<: *if-label-component_ut_esp32s2 - - <<: *if-title-component_ut_esp32s2 - <<: *if-label-component_ut_esp32s3 - - <<: *if-title-component_ut_esp32s3 - <<: *if-label-custom_test - - <<: *if-title-custom_test - <<: *if-label-custom_test_esp32 - - <<: *if-title-custom_test_esp32 - <<: *if-label-custom_test_esp32c3 - - <<: *if-title-custom_test_esp32c3 - <<: *if-label-custom_test_esp32s2 - - <<: *if-title-custom_test_esp32s2 - <<: *if-label-custom_test_esp32s3 - - <<: *if-title-custom_test_esp32s3 - <<: *if-label-example_test - - <<: *if-title-example_test - <<: *if-label-example_test_esp32 - - <<: *if-title-example_test_esp32 - <<: *if-label-example_test_esp32c3 - - <<: *if-title-example_test_esp32c3 - <<: *if-label-example_test_esp32s2 - - <<: *if-title-example_test_esp32s2 - <<: *if-label-example_test_esp32s3 - - <<: *if-title-example_test_esp32s3 - <<: *if-label-integration_test - - <<: *if-title-integration_test - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32 - - <<: *if-title-unit_test_esp32 - <<: *if-label-unit_test_esp32c3 - - <<: *if-title-unit_test_esp32c3 - <<: *if-label-unit_test_esp32s2 - - <<: *if-title-unit_test_esp32s2 - <<: *if-label-unit_test_esp32s3 - - <<: *if-title-unit_test_esp32s3 - <<: *if-dev-push changes: *patterns-build-example_test - <<: *if-dev-push @@ -809,11 +626,8 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32 - - <<: *if-title-unit_test_esp32 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -825,9 +639,7 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-unit_test_esp32c3 - - <<: *if-title-unit_test_esp32c3 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -837,11 +649,8 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32s2 - - <<: *if-title-unit_test_esp32s2 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -853,11 +662,8 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32s3 - - <<: *if-title-unit_test_esp32s3 - <<: *if-dev-push changes: *patterns-build_components - <<: *if-dev-push @@ -869,9 +675,7 @@ rules: - <<: *if-protected - <<: *if-label-build - - <<: *if-title-build - <<: *if-label-windows - - <<: *if-title-windows - <<: *if-dev-push changes: *patterns-build_system - <<: *if-dev-push @@ -880,72 +684,45 @@ .rules:labels:fuzzer_test-weekend_test: rules: - <<: *if-label-fuzzer_test - - <<: *if-title-fuzzer_test - <<: *if-label-weekend_test - - <<: *if-title-weekend_test .rules:labels:iperf_stress_test: rules: - <<: *if-label-iperf_stress_test - - <<: *if-title-iperf_stress_test .rules:labels:nvs_coverage: rules: - <<: *if-label-nvs_coverage - - <<: *if-title-nvs_coverage .rules:labels:weekend_test: rules: - <<: *if-label-weekend_test - - <<: *if-title-weekend_test .rules:test:any_test: rules: - <<: *if-protected - <<: *if-label-component_ut - - <<: *if-title-component_ut - <<: *if-label-component_ut_esp32 - - <<: *if-title-component_ut_esp32 - <<: *if-label-component_ut_esp32c3 - - <<: *if-title-component_ut_esp32c3 - <<: *if-label-component_ut_esp32s2 - - <<: *if-title-component_ut_esp32s2 - <<: *if-label-component_ut_esp32s3 - - <<: *if-title-component_ut_esp32s3 - <<: *if-label-custom_test - - <<: *if-title-custom_test - <<: *if-label-custom_test_esp32 - - <<: *if-title-custom_test_esp32 - <<: *if-label-custom_test_esp32c3 - - <<: *if-title-custom_test_esp32c3 - <<: *if-label-custom_test_esp32s2 - - <<: *if-title-custom_test_esp32s2 - <<: *if-label-custom_test_esp32s3 - - <<: *if-title-custom_test_esp32s3 - <<: *if-label-example_test - - <<: *if-title-example_test - <<: *if-label-example_test_esp32 - - <<: *if-title-example_test_esp32 - <<: *if-label-example_test_esp32c3 - - <<: *if-title-example_test_esp32c3 - <<: *if-label-example_test_esp32s2 - - <<: *if-title-example_test_esp32s2 - <<: *if-label-example_test_esp32s3 - - <<: *if-title-example_test_esp32s3 - <<: *if-label-host_test - - <<: *if-title-host_test - <<: *if-label-integration_test - - <<: *if-title-integration_test - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32 - - <<: *if-title-unit_test_esp32 - <<: *if-label-unit_test_esp32c3 - - <<: *if-title-unit_test_esp32c3 - <<: *if-label-unit_test_esp32s2 - - <<: *if-title-unit_test_esp32s2 - <<: *if-label-unit_test_esp32s3 - - <<: *if-title-unit_test_esp32s3 - <<: *if-dev-push changes: *patterns-build-example_test - <<: *if-dev-push @@ -965,13 +742,9 @@ rules: - <<: *if-protected - <<: *if-label-component_ut - - <<: *if-title-component_ut - <<: *if-label-component_ut_esp32 - - <<: *if-title-component_ut_esp32 - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32 - - <<: *if-title-unit_test_esp32 - <<: *if-dev-push changes: *patterns-component_ut @@ -979,13 +752,9 @@ rules: - <<: *if-protected - <<: *if-label-component_ut - - <<: *if-title-component_ut - <<: *if-label-component_ut_esp32c3 - - <<: *if-title-component_ut_esp32c3 - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32c3 - - <<: *if-title-unit_test_esp32c3 - <<: *if-dev-push changes: *patterns-component_ut @@ -993,13 +762,9 @@ rules: - <<: *if-protected - <<: *if-label-component_ut - - <<: *if-title-component_ut - <<: *if-label-component_ut_esp32s2 - - <<: *if-title-component_ut_esp32s2 - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32s2 - - <<: *if-title-unit_test_esp32s2 - <<: *if-dev-push changes: *patterns-component_ut @@ -1007,13 +772,9 @@ rules: - <<: *if-protected - <<: *if-label-component_ut - - <<: *if-title-component_ut - <<: *if-label-component_ut_esp32s3 - - <<: *if-title-component_ut_esp32s3 - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32s3 - - <<: *if-title-unit_test_esp32s3 - <<: *if-dev-push changes: *patterns-component_ut @@ -1021,9 +782,7 @@ rules: - <<: *if-protected - <<: *if-label-custom_test - - <<: *if-title-custom_test - <<: *if-label-custom_test_esp32 - - <<: *if-title-custom_test_esp32 - <<: *if-dev-push changes: *patterns-custom_test @@ -1031,9 +790,7 @@ rules: - <<: *if-protected - <<: *if-label-custom_test - - <<: *if-title-custom_test - <<: *if-label-custom_test_esp32c3 - - <<: *if-title-custom_test_esp32c3 - <<: *if-dev-push changes: *patterns-custom_test @@ -1041,9 +798,7 @@ rules: - <<: *if-protected - <<: *if-label-custom_test - - <<: *if-title-custom_test - <<: *if-label-custom_test_esp32s2 - - <<: *if-title-custom_test_esp32s2 - <<: *if-dev-push changes: *patterns-custom_test @@ -1051,9 +806,7 @@ rules: - <<: *if-protected - <<: *if-label-custom_test - - <<: *if-title-custom_test - <<: *if-label-custom_test_esp32s3 - - <<: *if-title-custom_test_esp32s3 - <<: *if-dev-push changes: *patterns-custom_test @@ -1061,9 +814,7 @@ rules: - <<: *if-protected - <<: *if-label-example_test - - <<: *if-title-example_test - <<: *if-label-example_test_esp32 - - <<: *if-title-example_test_esp32 - <<: *if-dev-push changes: *patterns-build-example_test - <<: *if-dev-push @@ -1073,9 +824,7 @@ rules: - <<: *if-protected - <<: *if-label-example_test - - <<: *if-title-example_test - <<: *if-label-example_test_esp32c3 - - <<: *if-title-example_test_esp32c3 - <<: *if-dev-push changes: *patterns-build-example_test - <<: *if-dev-push @@ -1085,9 +834,7 @@ rules: - <<: *if-protected - <<: *if-label-example_test - - <<: *if-title-example_test - <<: *if-label-example_test_esp32s2 - - <<: *if-title-example_test_esp32s2 - <<: *if-dev-push changes: *patterns-build-example_test - <<: *if-dev-push @@ -1097,9 +844,7 @@ rules: - <<: *if-protected - <<: *if-label-example_test - - <<: *if-title-example_test - <<: *if-label-example_test_esp32s3 - - <<: *if-title-example_test_esp32s3 - <<: *if-dev-push changes: *patterns-build-example_test - <<: *if-dev-push @@ -1109,7 +854,6 @@ rules: - <<: *if-protected - <<: *if-label-host_test - - <<: *if-title-host_test - <<: *if-dev-push changes: *patterns-host_test @@ -1117,7 +861,6 @@ rules: - <<: *if-protected - <<: *if-label-integration_test - - <<: *if-title-integration_test - <<: *if-dev-push changes: *patterns-integration_test @@ -1125,7 +868,6 @@ rules: - <<: *if-protected - <<: *if-label-submodule - - <<: *if-title-submodule - <<: *if-dev-push changes: *patterns-submodule @@ -1133,47 +875,26 @@ rules: - <<: *if-protected - <<: *if-label-component_ut - - <<: *if-title-component_ut - <<: *if-label-component_ut_esp32 - - <<: *if-title-component_ut_esp32 - <<: *if-label-component_ut_esp32c3 - - <<: *if-title-component_ut_esp32c3 - <<: *if-label-component_ut_esp32s2 - - <<: *if-title-component_ut_esp32s2 - <<: *if-label-component_ut_esp32s3 - - <<: *if-title-component_ut_esp32s3 - <<: *if-label-custom_test - - <<: *if-title-custom_test - <<: *if-label-custom_test_esp32 - - <<: *if-title-custom_test_esp32 - <<: *if-label-custom_test_esp32c3 - - <<: *if-title-custom_test_esp32c3 - <<: *if-label-custom_test_esp32s2 - - <<: *if-title-custom_test_esp32s2 - <<: *if-label-custom_test_esp32s3 - - <<: *if-title-custom_test_esp32s3 - <<: *if-label-example_test - - <<: *if-title-example_test - <<: *if-label-example_test_esp32 - - <<: *if-title-example_test_esp32 - <<: *if-label-example_test_esp32c3 - - <<: *if-title-example_test_esp32c3 - <<: *if-label-example_test_esp32s2 - - <<: *if-title-example_test_esp32s2 - <<: *if-label-example_test_esp32s3 - - <<: *if-title-example_test_esp32s3 - <<: *if-label-integration_test - - <<: *if-title-integration_test - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32 - - <<: *if-title-unit_test_esp32 - <<: *if-label-unit_test_esp32c3 - - <<: *if-title-unit_test_esp32c3 - <<: *if-label-unit_test_esp32s2 - - <<: *if-title-unit_test_esp32s2 - <<: *if-label-unit_test_esp32s3 - - <<: *if-title-unit_test_esp32s3 - <<: *if-dev-push changes: *patterns-build-example_test - <<: *if-dev-push @@ -1191,9 +912,7 @@ rules: - <<: *if-protected - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32 - - <<: *if-title-unit_test_esp32 - <<: *if-dev-push changes: *patterns-unit_test @@ -1201,15 +920,12 @@ rules: - <<: *if-protected - <<: *if-label-unit_test_esp32c3 - - <<: *if-title-unit_test_esp32c3 .rules:test:unit_test-esp32s2: rules: - <<: *if-protected - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32s2 - - <<: *if-title-unit_test_esp32s2 - <<: *if-dev-push changes: *patterns-unit_test @@ -1217,8 +933,6 @@ rules: - <<: *if-protected - <<: *if-label-unit_test - - <<: *if-title-unit_test - <<: *if-label-unit_test_esp32s3 - - <<: *if-title-unit_test_esp32s3 - <<: *if-dev-push changes: *patterns-unit_test diff --git a/tools/ci/mypy_ignore_list.txt b/tools/ci/mypy_ignore_list.txt index c11a716a82..68ea959135 100644 --- a/tools/ci/mypy_ignore_list.txt +++ b/tools/ci/mypy_ignore_list.txt @@ -1,4 +1,3 @@ -.gitlab/ci/dependencies/generate_rules.py components/app_update/otatool.py components/efuse/efuse_table_gen.py components/efuse/test_efuse_host/efuse_tests.py