Compare commits
7 Commits
test-draft
...
cic
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce0a74a60d | ||
|
|
6b12f88b54 | ||
|
|
57b25587bc | ||
|
|
62d24f048a | ||
|
|
0966fce08c | ||
|
|
9472979a16 | ||
|
|
170928aaa1 |
@@ -3,6 +3,14 @@
|
||||
include:
|
||||
- local: '.gitlab-ci-release.yml'
|
||||
|
||||
workflow:
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "push"
|
||||
when: always
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
when: always
|
||||
- when: never
|
||||
|
||||
variables:
|
||||
DEFAULT_TAG: ""
|
||||
MIRROR_DOCKER: docker.io
|
||||
@@ -41,6 +49,9 @@ stages:
|
||||
# - privileged = true in /etc/gitlab-runner/config.toml
|
||||
# OR passwordless sudo for: modprobe, cryptsetup, dd
|
||||
rules:
|
||||
# Skip if MR description contains [skip-pytest]
|
||||
- if: $CI_MERGE_REQUEST_DESCRIPTION =~ /\[skip-pytest\]/
|
||||
when: never
|
||||
- if: $PYTEST == "1"
|
||||
when: always
|
||||
- if: $PYTEST == $CI_JOB_NAME
|
||||
@@ -142,6 +153,9 @@ stages:
|
||||
.world_build:
|
||||
stage: world_build
|
||||
rules:
|
||||
# Skip if MR description contains [skip-world]
|
||||
- if: $CI_MERGE_REQUEST_DESCRIPTION =~ /\[skip-world\]/
|
||||
when: never
|
||||
- if: $WORLD == "1"
|
||||
when: always
|
||||
- when: never
|
||||
@@ -224,6 +238,9 @@ build all other platforms:
|
||||
.test_suites:
|
||||
stage: test_suites
|
||||
rules:
|
||||
# Skip if MR description contains [skip-suites]
|
||||
- if: $CI_MERGE_REQUEST_DESCRIPTION =~ /\[skip-suites\]/
|
||||
when: never
|
||||
- if: $SUITES == "1"
|
||||
when: always
|
||||
- when: never
|
||||
@@ -369,6 +386,9 @@ Examples:
|
||||
.python_check_template:
|
||||
stage: test.py
|
||||
rules:
|
||||
# Skip if MR description contains [skip-pytest]
|
||||
- if: $CI_MERGE_REQUEST_DESCRIPTION =~ /\[skip-pytest\]/
|
||||
when: never
|
||||
- if: $PYTEST == "1"
|
||||
when: always
|
||||
- if: $PYTEST == $CI_JOB_NAME
|
||||
@@ -714,6 +734,9 @@ coreboot test.py:
|
||||
stage: sjg-lab
|
||||
needs: []
|
||||
rules:
|
||||
# Skip if MR description contains [skip-sjg]
|
||||
- if: $CI_MERGE_REQUEST_DESCRIPTION =~ /\[skip-sjg\]/
|
||||
when: never
|
||||
- if: $SJG_LAB == $ROLE || $SJG_LAB == "1"
|
||||
when: always
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
|
||||
Reference in New Issue
Block a user