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: fix tests: endless loop of required_services
Date: Tue, 13 Oct 2026 18:28:33 GMT [thread overview]
Message-ID: <179191611345.1.11192373626552121385.rpms-python-docker-71004bf14cea@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-docker
Branch : epel10.2
Commit : 71004bf14ceaf4b471c32358f9d71bf27b42e0d0
Author : Tomas Tomecek <ttomecek@redhat.com>
Date : 2019-01-04T12:22:50+01:00
Stats : +5/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-docker/c/71004bf14ceaf4b471c32358f9d71bf27b42e0d0?branch=epel10.2
Log:
fix tests: endless loop of required_services
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
---
diff --git a/tests/tests.yml b/tests/tests.yml
index 6929c66..511e457 100644
--- a/tests/tests.yml
+++ b/tests/tests.yml
@@ -1,16 +1,15 @@
- name: Run the tests
+ vars:
+ req_services: [] # don't name this required_services, it would be endless loop
hosts: all
tasks:
- name: check if we are running in a container
stat:
path: /.dockerenv
register: in_docker_cont
- - name: set fact required_services
+ - name: add docker to req_services if we are not in a dkr cont
set_fact:
- required_services: []
- - name: add docker to req_serv if we are not in a dkr cont
- set_fact:
- required_services: ["docker"]
+ req_services: ["docker"]
when: not in_docker_cont.stat.exists
- name: run them tests
import_role:
@@ -28,4 +27,4 @@
- python3-pytest
- python3-docker
- docker
- required_services: '{{ required_services }}'
+ required_services: '{{ req_services }}'
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=179191611345.1.11192373626552121385.rpms-python-docker-71004bf14cea@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