[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v2 21/24] tests/docker: use direct RUNC call to run test jobs
From: |
Alex Bennée |
Subject: |
[PULL v2 21/24] tests/docker: use direct RUNC call to run test jobs |
Date: |
Wed, 1 Mar 2023 15:16:01 +0000 |
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>
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 680afff952..54ed77f671 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -224,8 +224,9 @@ docker-run: docker-qemu-src
$(IMAGE) --executable $(EXECUTABLE), \
" COPYING $(EXECUTABLE) to $(IMAGE)"))
$(call quiet-command, \
- $(DOCKER_SCRIPT) run \
- $(if $(NOUSER),,--run-as-current-user) \
+ $(RUNC) run \
+ --rm \
+ $(if $(NOUSER),,-u $(UID)) \
--security-opt seccomp=unconfined \
$(if $(DEBUG),-ti,) \
$(if $(NETWORK),$(if $(subst
$(NETWORK),,1),--net=$(NETWORK)),--net=none) \
--
2.39.2
- [PULL v2 14/24] tests/dockerfiles: unify debian-toolchain references, (continued)
- [PULL v2 14/24] tests/dockerfiles: unify debian-toolchain references, Alex Bennée, 2023/03/01
- [PULL v2 20/24] tests/docker: use direct RUNC call to build containers, Alex Bennée, 2023/03/01
- [PULL v2 19/24] tests/docker: add USER stanzas to non-lci images, Alex Bennée, 2023/03/01
- [PULL v2 24/24] tests/avocado: disable BootLinuxPPC64 test in CI, Alex Bennée, 2023/03/01
- [PULL v2 23/24] tests/docker: add zstdtools to the images, Alex Bennée, 2023/03/01
- [PULL v2 13/24] cirrus.yml: Improve the windows_msys2_task, Alex Bennée, 2023/03/01
- [PULL v2 17/24] configure: expose the direct container command, Alex Bennée, 2023/03/01
- [PULL v2 16/24] tests: Ensure TAP version is printed before other messages, Alex Bennée, 2023/03/01
- [PULL v2 12/24] tests: ensure we export job results for some cross builds, Alex Bennée, 2023/03/01
- [PULL v2 22/24] gitlab: move the majority of artefact handling to a template, Alex Bennée, 2023/03/01
- [PULL v2 21/24] tests/docker: use direct RUNC call to run test jobs,
Alex Bennée <=
- Re: [PULL v2 00/24] testing updates (gitlab, cirrus, docker, avocado, windows), Peter Maydell, 2023/03/01
- Re: [PULL v2 00/24] testing updates (gitlab, cirrus, docker, avocado, windows), Alex Bennée, 2023/03/01
- Re: [PULL v2 00/24] testing updates (gitlab, cirrus, docker, avocado, windows), Peter Maydell, 2023/03/01
- Re: [PULL v2 00/24] testing updates (gitlab, cirrus, docker, avocado, windows), Alex Bennée, 2023/03/01
- Re: [PULL v2 00/24] testing updates (gitlab, cirrus, docker, avocado, windows), Peter Maydell, 2023/03/02
- Re: [PULL v2 00/24] testing updates (gitlab, cirrus, docker, avocado, windows), Philippe Mathieu-Daudé, 2023/03/02
- Re: [PULL v2 00/24] testing updates (gitlab, cirrus, docker, avocado, windows), Thomas Huth, 2023/03/02
- Re: [PULL v2 00/24] testing updates (gitlab, cirrus, docker, avocado, windows), Peter Maydell, 2023/03/02
- Re: [PULL v2 00/24] testing updates (gitlab, cirrus, docker, avocado, windows), Alex Bennée, 2023/03/02
- Re: [PULL v2 00/24] testing updates (gitlab, cirrus, docker, avocado, windows), Alex Bennée, 2023/03/02