Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-tcg-20210526' into staging
[qemu.git] / .gitlab-ci.d / static_checks.yml
blob91247a6f67074150dd06b508380dfdc35a47006c
1 check-patch:
2   stage: build
3   image: $CI_REGISTRY_IMAGE/qemu/centos8:latest
4   needs:
5     job: amd64-centos8-container
6   script: .gitlab-ci.d/check-patch.py
7   variables:
8     GIT_DEPTH: 1000
9   rules:
10     - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
11       when: never
12     - when: on_success
13       allow_failure: true
15 check-dco:
16   stage: build
17   image: $CI_REGISTRY_IMAGE/qemu/centos8:latest
18   needs:
19     job: amd64-centos8-container
20   script: .gitlab-ci.d/check-dco.py
21   variables:
22     GIT_DEPTH: 1000
23   rules:
24     - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
25       when: never
26     - when: on_success