public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Migrate STI to TMT
@ 2026-11-23  9:36 Tomas Bajer
  0 siblings, 0 replies; only message in thread
From: Tomas Bajer @ 2026-11-23  9:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : e26c8cca3de37957aecc53b093fe82348a1bbe64
Author : Tomas Bajer <tbajer@redhat.com>
Date   : 2025-09-16T09:44:42+02:00
Stats  : +26/-26 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/e26c8cca3de37957aecc53b093fe82348a1bbe64?branch=pmatilai-v6

Log:
Migrate STI to TMT

---
diff --git a/.fmf/version b/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/.fmf/version
@@ -0,0 +1 @@
+1

diff --git a/plan.fmf b/plan.fmf
new file mode 100644
index 0000000..15e574d
--- /dev/null
+++ b/plan.fmf
@@ -0,0 +1,25 @@
+execute:
+  how: tmt
+discover:
+  - name: same_repo
+    url: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
+    how: shell
+    tests:
+    - name: pluggy
+      path: /tests
+      test: ./mocktest.sh python-pluggy
+prepare:
+  - name: Install dependencies
+    how: install
+    package:
+    - mock
+    - rpmdevtools
+    - rpm-build
+    - dnf
+  - name: Update packages
+    how: shell
+    script: dnf upgrade -y
+  - name: Create dummy repo
+    how: shell
+    script: touch /etc/yum.repos.d/test-dummy.repo
+

diff --git a/tests/tests.yml b/tests/tests.yml
deleted file mode 100644
index f9df0ae..0000000
--- a/tests/tests.yml
+++ /dev/null
@@ -1,26 +0,0 @@
----
-- hosts: localhost
-  tags:
-    - classic
-  tasks:
-    - dnf:
-        name: "*"
-        state: latest
-
-- hosts: localhost
-  roles:
-  - role: standard-test-basic
-    tags:
-    - classic
-    repositories:
-    - repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
-      dest: "pyproject-rpm-macros"
-    tests:
-    # regression test for https://bugzilla.redhat.com/show_bug.cgi?id=2078744
-    - pyproject_rpm_macros:
-        dir: pyproject-rpm-macros/tests
-        run: ./mocktest.sh python-pluggy
-    required_packages:
-    - mock
-    - rpmdevtools
-    - rpm-build

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:36 [rpms/rpm] pmatilai-v6: Migrate STI to TMT Tomas Bajer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox