mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
33 lines
1.1 KiB
YAML
33 lines
1.1 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
|
|
# merged result pipelines
|
|
- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA
|
|
variables:
|
|
PIPELINE_COMMIT_SHA: $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA
|
|
# else
|
|
- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA == null || $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA == ""
|
|
variables:
|
|
PIPELINE_COMMIT_SHA: $CI_COMMIT_SHA
|
|
- 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_commit.yml"
|
|
- ".gitlab/ci/pre_check.yml"
|
|
- ".gitlab/ci/build.yml"
|
|
- ".gitlab/ci/integration_test.yml"
|
|
- ".gitlab/ci/host-test.yml"
|
|
- ".gitlab/ci/deploy.yml"
|
|
- ".gitlab/ci/post_deploy.yml"
|
|
- ".gitlab/ci/test-win.yml"
|