dcbad7a6ed
The check-patch job is intended to be used by contributors or subsystem maintainers to see if there are style mistakes. The false positive rate is too high to be used in a gating scenario so should not run it on the upstream repo ever. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210915125452.1704899-2-berrange@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210917162332.3511179-9-alex.bennee@linaro.org>
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
check-patch:
|
|
stage: build
|
|
image: $CI_REGISTRY_IMAGE/qemu/centos8:latest
|
|
needs:
|
|
job: amd64-centos8-container
|
|
script:
|
|
- .gitlab-ci.d/check-patch.py
|
|
variables:
|
|
GIT_DEPTH: 1000
|
|
rules:
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project"'
|
|
when: never
|
|
- when: on_success
|
|
allow_failure: true
|
|
|
|
check-dco:
|
|
stage: build
|
|
image: $CI_REGISTRY_IMAGE/qemu/centos8:latest
|
|
needs:
|
|
job: amd64-centos8-container
|
|
script: .gitlab-ci.d/check-dco.py
|
|
variables:
|
|
GIT_DEPTH: 1000
|
|
rules:
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
|
when: never
|
|
- when: on_success
|
|
|
|
check-python-pipenv:
|
|
stage: test
|
|
image: $CI_REGISTRY_IMAGE/qemu/python:latest
|
|
script:
|
|
- make -C python check-pipenv
|
|
variables:
|
|
GIT_DEPTH: 1
|
|
needs:
|
|
job: python-container
|
|
|
|
check-python-tox:
|
|
stage: test
|
|
image: $CI_REGISTRY_IMAGE/qemu/python:latest
|
|
script:
|
|
- make -C python check-tox
|
|
variables:
|
|
GIT_DEPTH: 1
|
|
QEMU_TOX_EXTRA_ARGS: --skip-missing-interpreters=false
|
|
needs:
|
|
job: python-container
|
|
allow_failure: true
|