mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
ci: apply idf-ci gitlab dynamic-pipeline-variables
Renamed env vars: - TEST_CASE_FILTERS -> IDF_CI_SELECT_BY_FILTER_EXPR - BUILD_AND_TEST_ALL_APPS -> IDF_CI_SELECT_ALL_PYTEST_CASES Removed env vars; - IS_MR_PIPELINE (could use CI_MERGE_REQUEST_IID) - REPORT_EXIT_CODE -> IDF_CI_IS_DEBUG_PIPELINE (fail fast) - PYTEST_IGNORE_COLLECT_IMPORT_ERROR -> always skip import error
This commit is contained in:
@@ -8,11 +8,9 @@ workflow:
|
||||
- if: $CI_OPEN_MERGE_REQUESTS != null
|
||||
variables:
|
||||
PIPELINE_COMMIT_SHA: $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA
|
||||
IS_MR_PIPELINE: 1
|
||||
- if: $CI_OPEN_MERGE_REQUESTS == null
|
||||
variables:
|
||||
PIPELINE_COMMIT_SHA: $CI_COMMIT_SHA
|
||||
IS_MR_PIPELINE: 0
|
||||
- when: always
|
||||
|
||||
# Place the default settings in `.gitlab/ci/common.yml` instead
|
||||
|
||||
Reference in New Issue
Block a user