66cf70149a
Rather than relying on external tweaks lets just do it inside checkpatch's direct commitish handling which is QEMU specific code anyway. Suggested-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Willian Rampazzo <willianr@redhat.com> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Message-Id: <20210623102749.25686-4-alex.bennee@linaro.org>
49 lines
1.1 KiB
YAML
49 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" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
|
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 venv-check
|
|
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
|
|
needs:
|
|
job: python-container
|
|
allow_failure: true
|