public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-docker] epel10.2: tests: add a way to invoke them in a podman cont
@ 2026-10-13 18:28 Tomas Tomecek
0 siblings, 0 replies; only message in thread
From: Tomas Tomecek @ 2026-10-13 18:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-docker
Branch : epel10.2
Commit : 2e4efc8552a363260348395e236b123bf006559b
Author : Tomas Tomecek <ttomecek@redhat.com>
Date : 2019-01-04T12:22:50+01:00
Stats : +21/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-docker/c/2e4efc8552a363260348395e236b123bf006559b?branch=epel10.2
Log:
tests: add a way to invoke them in a podman cont
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
---
diff --git a/tests/Makefile b/tests/Makefile
index 3f7e33d..a4ff084 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,4 +1,24 @@
.PHONY: check
+WORKING_CONT := python-docker-tests-w
+TESTS_IMAGE := python-docker-tests
+BASE_IMAGE := registry.fedoraproject.org/fedora:29
+
check:
- ansible-playbook -i inventory-localhost -c local ./tests.yml
+ ansible-playbook -i inventory-localhost -v -c local ./tests.yml
+
+build:
+ podman run \
+ --name $(WORKING_CONT) \
+ $(BASE_IMAGE) \
+ dnf install -y standard-test-roles make
+ podman commit $(WORKING_CONT) $(TESTS_IMAGE)
+ podman rm $(WORKING_CONT)
+
+check-in-container:
+ podman run \
+ -v $(CURDIR):/src \
+ -w /src \
+ -v /var/run/docker.sock:/var/run/docker.sock \
+ $(TESTS_IMAGE) \
+ make check
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-13 18:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 18:28 [rpms/python-docker] epel10.2: tests: add a way to invoke them in a podman cont Tomas Tomecek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox