Merge branch 'ci/fix_nightly_run_build_jobs_v4.3' into 'release/v4.3'

ci: build all when has env var NIGHTLY_RUN (v4.3)

See merge request espressif/esp-idf!19702
This commit is contained in:
Anton Maklakov 2022-09-08 11:47:18 +08:00
commit 1dbab6dfc4
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@ BUILD_ALL_LABELS = [
'BOT_LABEL_BUILD_ALL_APPS', 'BOT_LABEL_BUILD_ALL_APPS',
'BOT_LABEL_REGULAR_TEST', 'BOT_LABEL_REGULAR_TEST',
'BOT_LABEL_WEEKEND_TEST', 'BOT_LABEL_WEEKEND_TEST',
'NIGHTLY_RUN',
'BOT_LABEL_NIGHTLY_RUN',
] ]

View File

@ -85,7 +85,7 @@ class IDFAssignTest(CIAssignTest.AssignTest):
def search_cases(self, case_filter=None): def search_cases(self, case_filter=None):
_filter = deepcopy(case_filter) if case_filter else {} _filter = deepcopy(case_filter) if case_filter else {}
if 'NIGHTLY_RUN' in os.environ: if 'NIGHTLY_RUN' in os.environ or 'BOT_LABEL_NIGHTLY_RUN' in os.environ:
_filter.update({'nightly_run': True}) _filter.update({'nightly_run': True})
return super().search_cases(_filter) return super().search_cases(_filter)