1check-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
14
15check-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
27
28check-python-pipenv:
29  stage: test
30  image: $CI_REGISTRY_IMAGE/qemu/python:latest
31  script:
32    - make -C python venv-check
33  variables:
34    GIT_DEPTH: 1
35  needs:
36    job: python-container
37
38check-python-tox:
39  stage: test
40  image: $CI_REGISTRY_IMAGE/qemu/python:latest
41  script:
42    - make -C python check-tox
43  variables:
44    GIT_DEPTH: 1
45  needs:
46    job: python-container
47  allow_failure: true
48