Alex Bennée
6445c2cace
tests/docker: cleanup non-verbose output
...
Even with --quiet docker will spam the sha256 to the console. Avoid
this by redirecting stdout. While we are at it fix the name we echo
which was broken during 0b1a649047 (tests/docker: use direct RUNC call
to build containers).
Reviewed-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20230829161528.2707696-3-alex.bennee@linaro.org >
2023-08-30 14:57:44 +01:00
Paolo Bonzini
a2696204de
tests/docker: simplify HOST_ARCH definition
...
ARCH is always empty, so just define HOST_ARCH as the result of uname.
Acked-by: Alex Bennée <alex.bennee@linaro.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2023-05-26 10:17:32 +02:00
Alex Bennée
55154c5785
tests/docker: all add DOCKER_BUILDKIT to RUNC environment
...
It seems we also need to pass DOCKER_BUILDKIT as an argument to docker
itself to get the full benefit of caching.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Suggested-by: Fabiano Rosas <farosas@suse.de >
Tested-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20230315174331.2959-3-alex.bennee@linaro.org >
2023-03-22 15:06:57 +00:00
Alex Bennée
789bc54117
tests/docker: use direct RUNC call to run test jobs
...
If we build them without the script we can certainly run them without
it.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20230228190653.1602033-22-alex.bennee@linaro.org >
2023-03-01 12:45:11 +00:00
Alex Bennée
0b1a649047
tests/docker: use direct RUNC call to build containers
...
We don't really need stuff from docker.py to do the build as we have
everything we need with a direct call. We do rely on the dockerfiles
being able to tweak the UID/name mapping as the last step.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20230228190653.1602033-21-alex.bennee@linaro.org >
2023-03-01 12:45:11 +00:00
Alex Bennée
5b96363262
tests/docker: drop debian-tricore-cross's partial status
...
This image is perfectly capable of building QEMU, and indeed we do
that on gitlab. Drop the DOCKER_PARTIAL_IMAGES setting so we can also
test the gitlab build locally.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20230124180127.1881110-15-alex.bennee@linaro.org >
2023-02-02 10:44:23 +00:00
Mukilan Thiyagarajan
b9052d3634
tests/docker: use prebuilt toolchain for debian-hexagon-cross
...
The current docker image for cross compiling hexagon guests
is manually built since it takes >2 hours to build from source.
This patch:
1. Solves the above issue by using the prebuilt clang
toolchain hosted on CodeLinaro [1] and maintained by QUIC [2].
2. The dockerfile is also switched from multi-stage to single stage
build to allow the CI docker engine to reuse the layer cache.
3. Re-enables the hexagon-cross-container job to be always run in
CI and makes it a non-optional dependency for the
build-user-hexagon job.
The changes for 1 & 2 together bring down the build time to
~3 minutes in GitLab CI when cache is reused and ~9 minutes
when cache cannot be reused.
[1]: https://github.com/CodeLinaro/hexagon-builder
[2]: https://github.com/quic/toolchain_for_hexagon/releases/
Signed-off-by: Mukilan Thiyagarajan <quic_mthiyaga@quicinc.com >
[AJB: also tweak MAINTAINERS, remove QEMU_JOB_ONLY_FORKS and comment]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20221219144354.11659-1-quic_mthiyaga@quicinc.com >
Message-Id: <20221221090411.1995037-6-alex.bennee@linaro.org >
2022-12-23 15:16:31 +00:00
Alex Bennée
e558220df0
tests/docker: allow user to override check target
...
This is useful when trying to bisect a particular failing test behind
a docker run. For example:
make docker-test-clang@fedora \
TARGET_LIST=arm-softmmu \
TEST_COMMAND="meson test qtest-arm/qos-test" \
J=9 V=1
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Message-Id: <20221117172532.538149-4-alex.bennee@linaro.org >
2022-11-22 09:49:03 +00:00
Paolo Bonzini
c4575b5915
configure: store container engine in config-host.mak
...
In preparation for removing $(DOCKER_SCRIPT) from the tests/tcg configuration
files, have Make use the same container engine that had been probed at
configure time.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20220929114231.583801-19-alex.bennee@linaro.org >
2022-10-06 11:53:40 +01:00
Alex Bennée
d996f0aeb2
tests/docker: remove the Debian base images
...
We no longer use these in any of our images. Clean-up the remaining
comments and documentation that reference them and remove from the
build.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220914155950.804707-31-alex.bennee@linaro.org >
2022-09-20 17:22:08 +01:00
Alex Bennée
4239162add
tests/docker: update and flatten debian-toolchain
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile as we do not need anything from the base image to
build the toolchain. This is used to build both the nios and
microblaze toolchains.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220914155950.804707-29-alex.bennee@linaro.org >
2022-09-20 17:22:08 +01:00
Alex Bennée
35782a1b9a
tests/docker: update and flatten debian-loongarch-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from the
QEMU base image just to compile test images. In this case it is a
binary distribution of the toolchain anyway.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-27-alex.bennee@linaro.org >
2022-09-20 17:22:08 +01:00
Alex Bennée
cd150e19e8
tests/docker: update and flatten debian-amd64-cross
...
Now lcitool has support for building a x86_64 cross image we can use
it for this.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Acked-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-26-alex.bennee@linaro.org >
2022-09-20 17:22:08 +01:00
Alex Bennée
b6fafe5b3e
tests/docker: update and flatten debian-all-test-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We also need to ensure we install clang as it is
used for those builds as well.
It would be nice to port this to lcitool but for now this will do.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220914155950.804707-24-alex.bennee@linaro.org >
2022-09-20 17:22:08 +01:00
Alex Bennée
fab08026a2
tests/docker: flatten debian-riscv64-test-cross
...
Flatten into a single dockerfile and update to match the rest of the
test cross compile dockerfiles.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220914155950.804707-23-alex.bennee@linaro.org >
2022-09-20 17:22:08 +01:00
Alex Bennée
54ab3c3fee
Deprecate 32 bit big-endian MIPS
...
It's becoming harder to maintain a cross-compiler to test this host
architecture as the old stable Debian 10 ("Buster") moved into LTS
which supports fewer architectures. For now:
- mark it's deprecation in the docs
- downgrade the containers to build TCG tests only
- drop the cross builds from our CI
Users with an appropriate toolchain and user-space can still take
their chances building it.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Huacai Chen <chenhuacai@kernel.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220914155950.804707-22-alex.bennee@linaro.org >
2022-09-20 17:22:08 +01:00
Alex Bennée
0068cf8bd2
tests/docker: remove amd64 qemu/debian10 dependency
...
We missed removing this dependency when we flattened the build.
Fixes 9e19fd7d4a (tests/docker: update debian-amd64 with lcitool)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-17-alex.bennee@linaro.org >
2022-09-20 16:27:35 +01:00
Alex Bennée
95b0af40de
tests/docker: remove tricore qemu/debian10 dependency
...
We missed removing this dependency when we flattened the build.
Fixes: 39ce923732 (gitlab: enable a very minimal build with the tricore container)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-16-alex.bennee@linaro.org >
2022-09-20 16:27:35 +01:00
Alex Bennée
0fd8f7a2df
tests/docker: flatten debian-powerpc-test-cross
...
Flatten into a single dockerfile. We really don't need the rest of the
stuff from the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-15-alex.bennee@linaro.org >
2022-09-20 16:27:31 +01:00
Alex Bennée
6ede0767ba
tests/docker: update and flatten debian-sparc64-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-14-alex.bennee@linaro.org >
2022-09-20 16:27:28 +01:00
Alex Bennée
376c4109af
tests/docker: update and flatten debian-sh4-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-13-alex.bennee@linaro.org >
2022-09-20 16:27:24 +01:00
Alex Bennée
2d2a154be7
tests/docker: update and flatten debian-mips64-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-12-alex.bennee@linaro.org >
2022-09-20 16:27:20 +01:00
Alex Bennée
7785500236
tests/docker: update and flatten debian-m68k-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-11-alex.bennee@linaro.org >
2022-09-20 16:27:17 +01:00
Alex Bennée
8b03418760
tests/docker: update and flatten debian-hppa-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-10-alex.bennee@linaro.org >
2022-09-20 16:27:12 +01:00
Alex Bennée
d9df358f53
tests/docker: update and flatten debian-alpha-cross
...
Update to the latest stable Debian. While we are at it flatten into a
single dockerfile. We really don't need the rest of the stuff from
the QEMU base image just to compile test images.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20220914155950.804707-9-alex.bennee@linaro.org >
2022-09-20 16:27:08 +01:00
Richard Henderson
b70ec50b9d
tests/docker/dockerfiles: Add debian-loongarch-cross.docker
...
Use the pre-packaged toolchain provided by Loongson via github.
Tested-by: Song Gao <gaosong@loongson.cn >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220704070824.965429-1-richard.henderson@linaro.org >
2022-07-19 21:53:58 +05:30
Alex Bennée
ab698a4d8b
tests/docker: fix the IMAGE for build invocation
...
We inadvertently broke the ability to run local builds when the code
was re-factored. The result was the run stanza failing to find the
docker image with it's qemu/ prefix.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Fixes: d39eaa2266 ("tests/docker: simplify docker-TEST@IMAGE targets")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220613171258.1905715-5-alex.bennee@linaro.org >
2022-06-14 00:15:06 +01:00
Alex Bennée
4ec740e12d
tests/docker: update debian-ppc64el-cross with lcitool
...
Use lcitool to update debian-ppc64el-cross to a Debian 11 based system.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Message-Id: <20220527153603.887929-11-alex.bennee@linaro.org >
2022-06-01 13:08:09 +01:00
Alex Bennée
1e834d1714
tests/docker: update debian-mips64el-cross with lcitool
...
Use lcitool to update debian-mips64el-cross to a Debian 11 based system.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Message-Id: <20220527153603.887929-10-alex.bennee@linaro.org >
2022-06-01 13:08:09 +01:00
Alex Bennée
432ae739c6
tests/docker: update debian-mipsel-cross with lcitool
...
Use lcitool to update debian-mipsel-cross to a Debian 11 based system.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Message-Id: <20220527153603.887929-9-alex.bennee@linaro.org >
2022-06-01 13:08:09 +01:00
Alex Bennée
9480624187
tests/docker: update debian-armel-cross with lcitool
...
Use lcitool to update debian-armel-cross to a Debian 11 based system.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Message-Id: <20220527153603.887929-8-alex.bennee@linaro.org >
2022-06-01 13:08:09 +01:00
Alex Bennée
18ad049d90
tests/docker: update debian-armhf-cross with lcitool
...
Use lcitool to update debian-armhf-cross to a Debian 11 based system.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Message-Id: <20220527153603.887929-7-alex.bennee@linaro.org >
2022-06-01 13:08:09 +01:00
Paolo Bonzini
77162849a6
tests/docker: remove SKIP_DOCKER_BUILD
...
It is now unused.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-17-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-20-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
426045aed8
tests/docker: do not duplicate rules for hexagon-cross
...
The commands for docker-image-debian-hexagon-cross are the same as those
in debian-toolchain-run, just with a nonstandard path to build-toolchain.sh.
Reuse the definition by renaming the debian-hexagon-cross.docker.d directory.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-9-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-12-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
d39eaa2266
tests/docker: simplify docker-TEST@IMAGE targets
...
No need to go through the shell when we already have the test and images at
the point where the targets are declared.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-8-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-11-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
bbb5ba8633
tests/docker: remove unnecessary filtering of $(DOCKER_IMAGES)
...
Now that DOCKER_IMAGES is only defined after DOCKER_VIRTUAL_IMAGES is
complete, there is no need to re-filter DOCKER_IMAGES against it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-7-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-10-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
79bd3ae9d3
tests/docker: inline variable definitions or move close to use
...
Variables that are defined with ":=" are handled imperatively, so moving
them closer to the first use ensures that all the assignments prior to
the first use are taken into account.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-6-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-9-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
1d64909543
tests/docker: remove unnecessary default definitions
...
The definition of DOCKER_IMAGES and DOCKER_TESTS copes already with an
empty value of $(IMAGES) and $(TESTS), no need to force them to "%" if
undefined.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-5-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-8-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
681b685571
tests/docker: remove dead variable
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20220401141326.1244422-4-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-7-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
28766b9eb4
tests/docker: remove test targets
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <20220401141326.1244422-3-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-6-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Paolo Bonzini
42ae4b0ef4
tests/docker: remove dead code for linux-user containers
...
debian-powerpc-user-cross was the only linux-user powered cross builder
and it was removed in commit 80394ccf21 ("tests/docker: remove
debian-powerpc-user-cross", 2019-09-26). Remove all the infrastructure
around it since it is now unused.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20220401141326.1244422-2-pbonzini@redhat.com >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220419091020.3008144-5-alex.bennee@linaro.org >
2022-04-20 16:04:20 +01:00
Alex Bennée
7d5817a426
tests/docker: introduce debian-riscv64-test-cross
...
Cross building QEMU for riscv64 still involves messing about with sid
and ports. However for building tests we can have a slimmer compiler
only container which should be more stable.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220225172021.3493923-7-alex.bennee@linaro.org >
2022-02-28 16:42:02 +00:00
Alex Bennée
89767579ca
tests/docker: update debian-s390x-cross with lcitool
...
A later compiler is needed for some upcomming tests so we might as
well migrate to an lcitool generated docker file.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Cc: David Hildenbrand <david@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220225172021.3493923-6-alex.bennee@linaro.org >
2022-02-28 16:42:02 +00:00
Alex Bennée
e3000245a0
tests/docker: update debian-arm64-cross with lcitool
...
Using lcitool update debian-arm64-cross to a Debian 11 based system.
As a result we can drop debian-arm64-test-cross just for building
tests.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220225172021.3493923-5-alex.bennee@linaro.org >
2022-02-28 16:42:02 +00:00
Alex Bennée
5dbefb87aa
tests/docker: add NOUSER for alpine image
...
The alpine image doesn't have a standard useradd binary so disable
this convenience feature for it.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220225172021.3493923-3-alex.bennee@linaro.org >
2022-02-28 16:41:53 +00:00
Alex Bennée
be20302ae8
tests/docker: restore TESTS/IMAGES filtering
...
This was broken in the re-factor:
e86c9a64f4 ("tests/docker/Makefile.include: add a generic docker-run target")
Rather than unwind the changes just apply the filters to the total set
of available images and tests. That way we don't inadvertently build
images only not to use them later.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reported-by: Alex Williamson <alex.williamson@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20220225172021.3493923-2-alex.bennee@linaro.org >
2022-02-28 16:41:44 +00:00
Alex Bennée
d47e3751b5
tests/docker: force NOUSER=1 for base images
...
As base images are often used to build further images like toolchains
ensure we don't add the local user by accident. The local user should
only exist on local images and not anything that gets pushed up to the
public registry.
Reported-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20211115142915.3797652-2-alex.bennee@linaro.org >
2021-11-16 16:19:44 +00:00
Alex Bennée
a7181a2876
tests/docker: split PARTIAL into PARTIAL and VIRTUAL images
...
This is mostly to ensure we don't include the toolchain and bootstrap
builds in DOCKER_IMAGES which is useful when verifying all images
still build.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Willian Rampazzo <willianr@redhat.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Message-Id: <20211026102234.3961636-10-alex.bennee@linaro.org >
2021-11-04 10:32:01 +00:00
Richard Henderson
b58a4e688a
tests/docker: Add debian-microblaze-cross image
...
Build the entire cross tool chain from source.
For this reason, default to caching.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
[AJB: Update MAINTAINERS]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20211014224435.2539547-7-richard.henderson@linaro.org >
Reviewed-by: Willian Rampazzo <willianr@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20211026102234.3961636-7-alex.bennee@linaro.org >
2021-11-04 10:32:00 +00:00
Richard Henderson
2eb4461ad5
tests/docker: Add debian-nios2-cross image
...
Build the entire cross tool chain from source.
For this reason, default to caching.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
[AJB: honour NOUSER in cached fetch and build, update MAINTAINERS]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org >
Message-Id: <20211014224435.2539547-6-richard.henderson@linaro.org >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Willian Rampazzo <willianr@redhat.com >
Message-Id: <20211026102234.3961636-6-alex.bennee@linaro.org >
2021-11-04 10:31:32 +00:00