public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tomas Tomecek <ttomecek@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-docker] epel10.2: tests: add a way to invoke them in a podman cont
Date: Tue, 13 Oct 2026 18:28:33 GMT [thread overview]
Message-ID: <179191611397.1.11954763842051509428.rpms-python-docker-2e4efc8552a3@fedoraproject.org> (raw)
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
reply other threads:[~2026-10-13 18:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179191611397.1.11954763842051509428.rpms-python-docker-2e4efc8552a3@fedoraproject.org \
--to=ttomecek@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox