mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fba96d58c2
build: - upgrade idf-build-apps to 2.x - unify get_pytest_apps and get_cmake_apps to get_all_apps - returns (test_apps, non_test_apps) tuple - add tests for the new get_all_apps assign: - generate build report - generate target test pipeline based on the build report target test: - download artifacts from minio server - users can use `pytest --pipeline-id xxxxx` to download and flash the binaries from the artifacts .post: - generate target test reports
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
workflow:
|
|
rules:
|
|
# Disable those non-protected push triggered pipelines
|
|
- 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"'
|
|
when: never
|
|
# when running merged result pipelines, CI_COMMIT_SHA represents the temp commit it created.
|
|
# Please use PIPELINE_COMMIT_SHA at all places that require a commit sha of the original commit.
|
|
- 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
|
|
|
|
include:
|
|
- '.gitlab/ci/danger.yml'
|
|
- '.gitlab/ci/common.yml'
|
|
- '.gitlab/ci/rules.yml'
|
|
- '.gitlab/ci/upload_cache.yml'
|
|
- '.gitlab/ci/docs.yml'
|
|
- '.gitlab/ci/static-code-analysis.yml'
|
|
- '.gitlab/ci/pre_check.yml'
|
|
- '.gitlab/ci/build.yml'
|
|
- '.gitlab/ci/integration_test.yml'
|
|
- '.gitlab/ci/host-test.yml'
|
|
- '.gitlab/ci/deploy.yml'
|