qemu/tests/docker/dockerfiles
John Snow 6b9c277797 gitlab: add python linters to CI
Add a Python container that has just enough juice for us to run the
Python code quality analysis tools. Base this container on Fedora,
because Fedora has very convenient packaging for testing multiple Python
versions.

We need python3, pip (for pulling packages), pipenv and virtualenv for
creating virtual environments, and tox for running tests. make is needed
for running 'make check-tox' and 'make venv-check' targets. Python3.10
is needed explicitly because the tox package only pulls in 3.6-3.9, but
we wish to test the forthcoming release of Python as well to help
predict any problems. Lastly, we need gcc to compile PyPI packages that
may not have a binary distribution available.

Add two tests:

check-python-pipenv uses pipenv to test a frozen, very explicit set of
packages against our minimum supported python version, Python 3.6. This
test is not allowed to fail. The dependencies this test uses do not
change unless python/Pipfile.lock is changed.

check-python-tox uses tox to install the latest versions of required
python dependencies against a wide array of Python versions from 3.6 to
3.9, even including the yet-to-be-released Python 3.10. This test is
allowed to fail with a warning.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-id: 20210527211715.394144-32-jsnow@redhat.com
[Fix rebase conflict over .gitlab-ci.yml --js]
Signed-off-by: John Snow <jsnow@redhat.com>
2021-06-01 16:21:21 -04:00
..
debian-hexagon-cross.docker.d docker: Add Hexagon image 2021-05-18 09:35:39 +01:00
alpine.docker tests/docker: Added libbpf library to the docker files. 2021-05-18 09:36:21 +01:00
centos7.docker tests/docker: Install static libc package in CentOS 7 2021-01-26 15:39:34 +01:00
centos8.docker tests/docker: Added libbpf library to the docker files. 2021-05-18 09:36:21 +01:00
debian-all-test-cross.docker tests/docker: add a linux-user testing focused image 2020-07-11 15:53:00 +01:00
debian-alpha-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-amd64-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-amd64.docker gitlab-ci.yml: Avoid some submodules to speed up the CI a little bit 2021-01-26 18:38:37 +01:00
debian-arm64-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-arm64-test-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-armel-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-armhf-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-bootstrap.docker docker: add commentary to debian-bootstrap.docker 2018-07-24 11:45:25 +01:00
debian-bootstrap.pre tests/docker: add support for DEB_KEYRING 2020-07-27 09:41:35 +01:00
debian-hexagon-cross.docker docker: Add Hexagon image 2021-05-18 09:35:39 +01:00
debian-hppa-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-m68k-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-mips-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-mips64-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-mips64el-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-mipsel-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-powerpc-test-cross.docker tests/docker: gcc-10 based images for ppc64{,le} tests 2021-05-18 09:36:21 +01:00
debian-ppc64el-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-riscv64-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-s390x-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-sh4-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-sparc64-cross.docker tests/docker: change tag naming scheme of our images 2020-07-11 15:53:00 +01:00
debian-tricore-cross.docker tests/docker: Update the tricore container to debian 10 2020-10-02 12:29:08 +01:00
debian-xtensa-cross.docker tests/docker: update toolchain set in debian-xtensa-cross 2020-07-11 15:53:09 +01:00
debian10.docker sphinx: adopt kernel readthedoc theme 2021-05-14 15:05:03 +04:00
debian11.docker tests/docker: add debian11 base image 2020-05-27 14:26:49 +01:00
empty.docker tests/docker: add a docker-exec-copy-test 2021-02-08 09:41:00 +00:00
fedora-cris-cross.docker docker: Bump Fedora images to release 33 2021-02-24 11:05:10 +00:00
fedora-i386-cross.docker tests/docker/dockerfiles: Add ccache to containers where it was missing 2021-05-14 12:24:20 +02:00
fedora-win32-cross.docker tests/docker/dockerfiles: Add ccache to containers where it was missing 2021-05-14 12:24:20 +02:00
fedora-win64-cross.docker tests/docker/dockerfiles: Add ccache to containers where it was missing 2021-05-14 12:24:20 +02:00
fedora.docker tests/docker: Added libbpf library to the docker files. 2021-05-18 09:36:21 +01:00
opensuse-leap.docker tests/docker/dockerfiles: Add ccache to containers where it was missing 2021-05-14 12:24:20 +02:00
python.docker gitlab: add python linters to CI 2021-06-01 16:21:21 -04:00
ubuntu.docker sphinx: adopt kernel readthedoc theme 2021-05-14 15:05:03 +04:00
ubuntu1804.docker sphinx: adopt kernel readthedoc theme 2021-05-14 15:05:03 +04:00
ubuntu2004.docker sphinx: adopt kernel readthedoc theme 2021-05-14 15:05:03 +04:00