Compare commits
12 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43f0269d3d | ||
|
|
086736874d | ||
|
|
b9b9101ddb | ||
|
|
dad4010e50 | ||
|
|
838398badd | ||
|
|
754aadf1ef | ||
|
|
a845b39340 | ||
|
|
bef98fb7bc | ||
|
|
fdd1a98db3 | ||
|
|
0df2504a90 | ||
|
|
93fc911f47 | ||
|
|
5b8c3398e3 |
6 changed files with 46 additions and 30 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
1
|
||||||
10
plans/tests.fmf
Normal file
10
plans/tests.fmf
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
prepare:
|
||||||
|
how: install
|
||||||
|
package:
|
||||||
|
- python3-pidfile
|
||||||
|
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
%global pypi_name python-%{module_name}
|
%global pypi_name python-%{module_name}
|
||||||
Name: %{pypi_name}
|
Name: %{pypi_name}
|
||||||
Version: 3.0.0
|
Version: 3.0.0
|
||||||
Release: 4%{?dist}
|
Release: 15%{?dist}
|
||||||
Summary: Python context manager for managing pid files
|
Summary: Python context manager for managing pid files
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.org/project/python-pidfile
|
URL: https://pypi.org/project/python-pidfile
|
||||||
|
|
@ -45,6 +45,39 @@ cp -p %{SOURCE1} .
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 3.0.0-15
|
||||||
|
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||||
|
|
||||||
|
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 3.0.0-14
|
||||||
|
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||||
|
|
||||||
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 3.0.0-12
|
||||||
|
- Rebuilt for Python 3.14
|
||||||
|
|
||||||
|
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.0.0-9
|
||||||
|
- Rebuilt for Python 3.13
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 3.0.0-5
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-4
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
1
tests/test.fmf
Normal file
1
tests/test.fmf
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
test: python3 test_pidfile.py /tmp/test.log
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
- hosts: localhost
|
|
||||||
vars:
|
|
||||||
config:
|
|
||||||
packagename: python-pidfile
|
|
||||||
testfilename: test_pidfile.py
|
|
||||||
logfilepath: /tmp/test.log
|
|
||||||
artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
remote_user: root
|
|
||||||
tasks:
|
|
||||||
- name: Install required package
|
|
||||||
dnf:
|
|
||||||
name:
|
|
||||||
- "{{ config.packagename }}"
|
|
||||||
- python3
|
|
||||||
- name: Test Execution
|
|
||||||
block:
|
|
||||||
- name: Execute the tests
|
|
||||||
command: python3 {{ config.testfilename }} {{ logfilepath }}
|
|
||||||
always:
|
|
||||||
- name: Pull out the artifacts
|
|
||||||
fetch:
|
|
||||||
dest: "{{ config.artifacts }}/"
|
|
||||||
src: "{{ item }}"
|
|
||||||
flat: yes
|
|
||||||
with_items:
|
|
||||||
- "{{ config.logfilepath }}"
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
- import_playbook: test_playbook.yml
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue