1check-patch:
2  stage: build
3  image: $CI_REGISTRY_IMAGE/qemu/centos8:latest
4  needs:
5    job: amd64-centos8-container
6  script:
7    - .gitlab-ci.d/check-patch.py
8  variables:
9    GIT_DEPTH: 1000
10  rules:
11    - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
12      when: never
13    - when: on_success
14      allow_failure: true
15
16check-dco:
17  stage: build
18  image: $CI_REGISTRY_IMAGE/qemu/centos8:latest
19  needs:
20    job: amd64-centos8-container
21  script: .gitlab-ci.d/check-dco.py
22  variables:
23    GIT_DEPTH: 1000
24  rules:
25    - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
26      when: never
27    - when: on_success
28
29check-python-pipenv:
30  stage: test
31  image: $CI_REGISTRY_IMAGE/qemu/python:latest
32  script:
33    - make -C python check-pipenv
34  variables:
35    GIT_DEPTH: 1
36  needs:
37    job: python-container
38
39check-python-tox:
40  stage: test
41  image: $CI_REGISTRY_IMAGE/qemu/python:latest
42  script:
43    - make -C python check-tox
44  variables:
45    GIT_DEPTH: 1
46    QEMU_TOX_EXTRA_ARGS: --skip-missing-interpreters=false
47  needs:
48    job: python-container
49  allow_failure: true
50