Compare commits

..

93 commits

Author SHA1 Message Date
Packit
b7c04fccdf Update to 169 upstream release
Upstream tag: v169
Upstream commit: 61bd876e

Commit authored by Packit automation (https://packit.dev/)
2026-01-14 08:42:19 +00:00
Packit
a05f166701 Update to 167 upstream release
Upstream tag: v167
Upstream commit: dc9562fb

Commit authored by Packit automation (https://packit.dev/)
2025-12-17 08:43:31 +00:00
Packit
69aa69ce9f Update to 166 upstream release
Upstream tag: v166
Upstream commit: c5294d0e

Commit authored by Packit automation (https://packit.dev/)
2025-12-03 10:10:13 +00:00
Simon de Vlieger
46e4c5cb69
chore: rewrite changelog to use -
Rewrite the changelog to use `-` instead of `*` prefixes. This was fixed
in upstream release automation but the old changelog entries were never
rewritten. See this issue [1] for more information.

[1]: https://issues.redhat.com/browse/HMS-6052

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-11-21 09:55:44 +01:00
Packit
26e56e009e Update to 164 upstream release
Upstream tag: v164
Upstream commit: 34508091

Commit authored by Packit automation (https://packit.dev/)
2025-11-05 09:57:21 +00:00
Packit
79a2083f22 Update to 163 upstream release
Upstream tag: v163
Upstream commit: b6c011ae

Commit authored by Packit automation (https://packit.dev/)
2025-10-22 09:01:59 +00:00
Packit
05088c122a Update to 162 upstream release
Upstream tag: v162
Upstream commit: 76403c5f

Commit authored by Packit automation (https://packit.dev/)
2025-10-08 08:37:02 +00:00
Packit
ffc3a2cfe4 Update to 161 upstream release
Upstream tag: v161
Upstream commit: 7e015937

Commit authored by Packit automation (https://packit.dev/)
2025-09-24 08:36:28 +00:00
Python Maint
6a0cbd4f54 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:35:17 +02:00
Packit
cc02dba574 Update to 159 upstream release
Upstream tag: v159
Upstream commit: 3e37ad3b

Commit authored by Packit automation (https://packit.dev/)
2025-08-27 08:35:41 +00:00
Python Maint
cedabe303c Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:04:53 +02:00
Packit
9fe63a30e3 Update to 158 upstream release
Upstream tag: v158
Upstream commit: e31084e5

Commit authored by Packit automation (https://packit.dev/)
2025-08-13 08:38:52 +00:00
Fedora Release Engineering
01d5f7a72d Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 23:45:24 +00:00
Packit
57a53f65eb Update to 156 upstream release
Upstream tag: v156
Upstream commit: fd6801e3

Commit authored by Packit automation (https://packit.dev/)
2025-07-15 10:11:16 +00:00
Packit
03beeaabfe Update to 155 upstream release
Upstream tag: v155
Upstream commit: 31d0923b

Commit authored by Packit automation (https://packit.dev/)
2025-07-07 15:44:25 +00:00
Packit
10f2788e2e Update to 153 upstream release
Upstream tag: v153
Upstream commit: d566c68f

Commit authored by Packit automation (https://packit.dev/)
2025-06-20 10:37:21 +00:00
Packit
bf6ed770f4 Update to 152 upstream release
Upstream tag: v152
Upstream commit: 8c35e072

Commit authored by Packit automation (https://packit.dev/)
2025-06-17 11:44:00 +00:00
Python Maint
f21cb2e226 Rebuilt for Python 3.14 2025-06-07 12:25:45 +02:00
Packit
b862c5236f Update to 151 upstream release
Upstream tag: v151
Upstream commit: d8f38568

Commit authored by Packit automation (https://packit.dev/)
2025-06-04 08:40:13 +00:00
Python Maint
d045d1ee1d Rebuilt for Python 3.14 2025-06-03 12:21:55 +02:00
Packit
f74651e09a Update to 149 upstream release
Upstream tag: v149
Upstream commit: ec3f7019

Commit authored by Packit automation (https://packit.dev/)
2025-05-07 08:39:58 +00:00
Benjamin A. Beasley
acc97bad56 In Fedora 41+, depend on typer-slim rather than typer
This works around a file conflict on /usr/bin/typer between
python3-typer-cli and erlang-dialyzer until the problem can be fixed in
python-typer and/or erlang. See RHBZ#2359557, RHBZ#2359567.

After the file conflict is resolved, the python3-typer-slim dependency
will still be more precise and minimal than python3-typer, so no further
change will be required.

By depending on typer-slim[standard], we still get the nice-to-have
optional dependencies that plain typer would bring in (currently, rich
and shellingham), but without the generic typer command-line tool.
2025-04-17 07:00:23 -04:00
Packit
1d416a1edd Update to 147 upstream release
Upstream tag: v147
Upstream commit: aced2eaa

Commit authored by Packit automation (https://packit.dev/)
2025-04-16 13:59:25 +00:00
Packit
d003eff4f6 Update to 146 upstream release
Upstream tag: v146
Upstream commit: 56fca5d6

Commit authored by Packit automation (https://packit.dev/)
2025-04-09 08:36:47 +00:00
Packit
62a8f656f7 Update to 144 upstream release
Upstream tag: v144
Upstream commit: 2b41f804

Commit authored by Packit automation (https://packit.dev/)
2025-03-26 08:34:34 +00:00
Packit
3863ba7579 Update to 143 upstream release
Upstream tag: v143
Upstream commit: f2ab07cf

Commit authored by Packit automation (https://packit.dev/)
2025-03-12 08:34:57 +00:00
Packit
3ed588da80 Update to 142 upstream release
Upstream tag: v142
Upstream commit: a6f935e9

Commit authored by Packit automation (https://packit.dev/)
2025-02-26 08:32:35 +00:00
Packit
87244d0604 Update to 141 upstream release
Upstream tag: v141
Upstream commit: 5b15951c

Commit authored by Packit automation (https://packit.dev/)
2025-02-12 08:32:13 +00:00
Packit
cf78f8d0ee Update to 140 upstream release
Upstream tag: v140
Upstream commit: ce4bc01b

Commit authored by Packit automation (https://packit.dev/)
2025-02-04 10:40:06 +00:00
Packit
1e20b7413b Update to 139 upstream release
Upstream tag: v139
Upstream commit: e4333f87

Commit authored by Packit automation (https://packit.dev/)
2025-01-29 08:31:36 +00:00
Packit
492d8dd5ab Update to 138 upstream release
Upstream tag: v138
Upstream commit: 154abafa

Commit authored by Packit automation (https://packit.dev/)
2025-01-15 08:32:10 +00:00
Packit
0e767184b7 Update to 137 upstream release
Upstream tag: v137
Upstream commit: cd195874

Commit authored by Packit automation (https://packit.dev/)
2024-12-18 20:01:29 +00:00
Packit
22b98ffb7a Update to 136 upstream release
Upstream tag: v136
Upstream commit: b3123a1c

Commit authored by Packit automation (https://packit.dev/)
2024-12-04 08:32:38 +00:00
Packit
d663ffb93a Update to 135 upstream release
Upstream tag: v135
Upstream commit: 32b1b915

Commit authored by Packit automation (https://packit.dev/)
2024-11-22 21:01:26 +00:00
Packit
b076ceb696 Update to 132 upstream release
Upstream tag: v132
Upstream commit: f9873e49

Commit authored by Packit automation (https://packit.dev/)
2024-10-23 08:29:17 +00:00
Packit
7239772901 Update to 131 upstream release
Upstream tag: v131
Upstream commit: e5e3aad7

Commit authored by Packit automation (https://packit.dev/)
2024-10-09 08:27:42 +00:00
Packit
732517bcf0 Update to 130 upstream release
Upstream tag: v130
Upstream commit: f01a3d3c

Commit authored by Packit automation (https://packit.dev/)
2024-09-25 08:30:58 +00:00
Tomáš Hozza
213a753b33
Test/unit-tests: install python3-tomli-w
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-09-18 17:10:00 +02:00
Packit
4504feb5ba Update to 129 upstream release
Upstream tag: v129
Upstream commit: 3df75de6

Commit authored by Packit automation (https://packit.dev/)
2024-09-18 11:34:09 +00:00
Packit
fae5d037f0 Update to 126 upstream release
Upstream tag: v126
Upstream commit: 69625505

Commit authored by Packit automation (https://packit.dev/)
2024-08-21 17:08:44 +00:00
Packit
8b5b9366ca Update to 125 upstream release
Upstream tag: v125
Upstream commit: 88c35ea3

Commit authored by Packit automation (https://packit.dev/)
2024-08-14 08:27:49 +00:00
Tomáš Hozza
ae948af1e4
Remove unused patch
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-08-01 10:03:49 +02:00
Tomáš Hozza
9d5f73f6c2
Backport upstream fix for unit test
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-08-01 10:03:19 +02:00
Packit
8fc9a5e791 Update to 124 upstream release
Upstream tag: v124
Upstream commit: 46db834d

Commit authored by Packit automation (https://packit.dev/)
2024-07-31 08:16:35 +00:00
Packit
4e32b279e6
Update to 123 upstream release
Upstream tag: v123
Upstream commit: 33fda9ba

Commit authored by Packit automation (https://packit.dev/)
2024-07-25 13:47:23 +02:00
Tomáš Hozza
4e66fad703
Backport upstream fix for a unit test
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-25 10:34:52 +02:00
Tomáš Hozza
00795d94e9
Migrate to TMT tests used in CentOS Stream
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-24 14:35:38 +02:00
Tomáš Hozza
bfa16d53dc
Remove unused patches
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-24 11:48:08 +02:00
Fedora Release Engineering
e5d2c7da8e Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 21:09:00 +00:00
Packit
f4fcb9cdd9 Update to 122 upstream release
Upstream tag: v122
Upstream commit: 2e5a9335

Commit authored by Packit automation (https://packit.dev/)
2024-07-03 08:16:37 +00:00
Python Maint
8874dd69ea Rebuilt for Python 3.13 2024-06-07 18:57:57 +02:00
Packit
c0a479988d Update to 119 upstream release
Upstream tag: v119
Upstream commit: 4dbf8e2d

Commit authored by Packit automation (https://packit.dev/)
2024-05-22 08:16:32 +00:00
Packit
7379c6b819 Update to 118 upstream release
Upstream tag: v118
Upstream commit: 86f3459e

Commit authored by Packit automation (https://packit.dev/)
2024-05-08 08:14:05 +00:00
Packit
ae2ab9006f Update to 117 upstream release
Upstream tag: v117
Upstream commit: 1f0f18d2

Commit authored by Packit automation (https://packit.dev/)
2024-04-24 08:18:50 +00:00
Packit
bd9b7cc977 Update to 115 upstream release
Upstream tag: v115
Upstream commit: 6549bf19

Commit authored by Packit automation (https://packit.dev/)
2024-04-10 08:19:22 +00:00
Packit
01f144734d [packit] 114 upstream release
Upstream tag: v114
Upstream commit: 7e0e30fd
2024-03-29 12:37:06 +00:00
Packit
23f0390c4c [packit] 113 upstream release
Upstream tag: v113
Upstream commit: ec496769
2024-03-27 08:20:16 +00:00
Packit
0e862cd8df [packit] 112 upstream release
Upstream tag: v112
Upstream commit: dd575465
2024-03-13 08:16:43 +00:00
Packit
0680f2ccf6 [packit] 111 upstream release
Upstream tag: v111
Upstream commit: 7709b7ca
2024-02-28 08:17:16 +00:00
Packit
a36c9b6eff [packit] 110 upstream release
Upstream tag: v110
Upstream commit: 0b7dcf3c
2024-02-26 15:44:58 +00:00
Packit
4456f265f9 [packit] 109 upstream release
Upstream tag: v109
Upstream commit: 32297469
2024-02-22 11:55:38 +00:00
Packit
574e70789c [packit] 106 upstream release
Upstream tag: v106
Upstream commit: 2581160c
2024-01-31 17:48:57 +00:00
Packit
963d6215af [packit] 105 upstream release
Upstream tag: v105
Upstream commit: f9b55ff6
2024-01-31 08:14:01 +00:00
Fedora Release Engineering
bba065a9f6 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 11:38:00 +00:00
Fedora Release Engineering
cca56b7722 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 11:31:52 +00:00
Packit
6b9f8ae13c [packit] 104 upstream release
Upstream tag: v104
Upstream commit: e0bbb339
2024-01-16 13:52:36 +00:00
Packit
7324d4a8a0 [packit] 103 upstream release
Upstream tag: v103
Upstream commit: 8c95bd9d
2024-01-03 08:15:24 +00:00
Packit
40faa8f303 [packit] 102 upstream release
Upstream tag: v102
Upstream commit: 5fc3b565
2023-12-20 08:12:58 +00:00
Packit
1382e24f45 [packit] 101 upstream release
Upstream tag: v101
Upstream commit: 55a007a8
2023-12-06 08:17:04 +00:00
Packit
59ea618069 [packit] 100 upstream release
Upstream tag: v100
Upstream commit: 9cece6b4
2023-11-22 08:18:08 +00:00
Packit
06d80d5fef [packit] 99 upstream release
Upstream tag: v99
Upstream commit: 0edbe0cf
2023-11-08 08:16:09 +00:00
Packit
de771889de [packit] 98 upstream release
Upstream tag: v98
Upstream commit: 41652343
2023-10-25 08:17:06 +00:00
Packit
c6a0f3a1f7 [packit] 97 upstream release
Upstream tag: v97
Upstream commit: 3cc733d7
2023-10-11 08:14:45 +00:00
Packit
6c4e471637 [packit] 96 upstream release
Upstream tag: v96
Upstream commit: e48360e0
2023-09-27 08:15:21 +00:00
Packit
82d7f71a7f [packit] 95 upstream release
Upstream tag: v95
Upstream commit: 66b1da02
2023-09-13 08:16:47 +00:00
Packit
0a7aa1737e [packit] 94 upstream release
Upstream tag: v94
Upstream commit: 2972949d

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/osbuild.git refs/heads/*:refs/remotes/packit/*
git checkout packit/94-rawhide-update-propose_downstream
```
2023-08-30 08:18:41 +00:00
Packit
97b9782493 [packit] 93 upstream release
Upstream tag: v93
Upstream commit: 433515cf

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/osbuild.git refs/heads/*:refs/remotes/packit/*
git checkout packit/93-rawhide-update-propose_downstream
```
2023-08-23 15:30:13 +00:00
Packit
f67255266e [packit] 92 upstream release
Upstream tag: v92
Upstream commit: e8bd5e9c

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/osbuild.git refs/heads/*:refs/remotes/packit/*
git checkout packit/92-rawhide-update-propose_downstream
```
2023-08-16 08:19:50 +00:00
Packit
be0b5702b3 [packit] 91 upstream release
Upstream tag: v91
Upstream commit: 10e70463

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/osbuild.git refs/heads/*:refs/remotes/packit/*
git checkout packit/91-rawhide-update-propose_downstream
```
2023-08-02 08:16:38 +00:00
Packit
13f4a6c2e9 [packit] 90 upstream release
Upstream tag: v90
Upstream commit: 74eed6a3

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/osbuild.git refs/heads/*:refs/remotes/packit/*
git checkout packit/90-rawhide-update-propose_downstream
```
2023-07-19 08:14:37 +00:00
Python Maint
8b352dbe22 Rebuilt for Python 3.12 2023-06-27 18:16:58 +02:00
Packit
bae7304f0f [packit] 89 upstream release
Upstream tag: v89
Upstream commit: c90b587d
2023-06-27 12:59:21 +00:00
Packit
9e8729711b [packit] 88 upstream release
Upstream tag: v88
Upstream commit: 107ac2b1
2023-06-21 08:14:01 +00:00
Python Maint
adf93252d1 Rebuilt for Python 3.12 2023-06-14 23:12:00 +02:00
Packit
1fb76b43d7 [packit] 87 upstream release
Upstream tag: v87
Upstream commit: 2e3f5fc0
2023-06-07 08:15:18 +00:00
Packit
2a4989d7df [packit] 86 upstream release
Upstream tag: v86
Upstream commit: 8669d0ad
2023-05-24 08:13:53 +00:00
Packit
0ebb3a3ccd [packit] 85 upstream release
Upstream tag: v85
Upstream commit: 1fbd9d97
2023-05-10 08:13:47 +00:00
Packit
570fedc753 [packit] 84 upstream release
Upstream tag: v84
Upstream commit: feb216c0
2023-04-27 13:09:12 +00:00
Packit
a33643159d [packit] 83 upstream release
Upstream tag: v83
Upstream commit: 33597e82

Signed-off-by: Packit <hello@packit.dev>
2023-04-12 20:12:24 +00:00
Packit
ec9428aeb2 [packit] 82 upstream release
Upstream tag: v82
Upstream commit: bae4f776

Signed-off-by: Packit <hello@packit.dev>
2023-03-29 08:16:45 +00:00
Tomáš Hozza
126625f838
[packit] 81 upstream release
Upstream tag: v81
Upstream commit: 345b2a59

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-02-27 20:54:47 +01:00
Packit
6e129c6642 [packit] 80 upstream release
Upstream tag: v80
Upstream commit: 200c2b01

Signed-off-by: Packit <hello@packit.dev>
2023-02-20 14:41:01 +00:00
Packit
9e798a2f09 [packit] 79 upstream release
Upstream tag: v79
Upstream commit: 5eefdc1e

Signed-off-by: Packit <hello@packit.dev>
2023-02-15 08:17:27 +00:00
24 changed files with 37721 additions and 2027 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

39
.gitignore vendored
View file

@ -104,7 +104,6 @@
/osbuild-104.tar.gz
/osbuild-105.tar.gz
/osbuild-106.tar.gz
/osbuild-108.tar.gz
/osbuild-109.tar.gz
/osbuild-110.tar.gz
/osbuild-111.tar.gz
@ -112,6 +111,42 @@
/osbuild-113.tar.gz
/osbuild-114.tar.gz
/osbuild-115.tar.gz
/osbuild-116.tar.gz
/osbuild-117.tar.gz
/osbuild-118.tar.gz
/osbuild-119.tar.gz
/osbuild-122.tar.gz
/osbuild-123.tar.gz
/osbuild-124.tar.gz
/osbuild-125.tar.gz
/osbuild-126.tar.gz
/osbuild-129.tar.gz
/osbuild-130.tar.gz
/osbuild-131.tar.gz
/osbuild-132.tar.gz
/osbuild-135.tar.gz
/osbuild-136.tar.gz
/osbuild-137.tar.gz
/osbuild-138.tar.gz
/osbuild-139.tar.gz
/osbuild-140.tar.gz
/osbuild-141.tar.gz
/osbuild-142.tar.gz
/osbuild-143.tar.gz
/osbuild-144.tar.gz
/osbuild-146.tar.gz
/osbuild-147.tar.gz
/osbuild-149.tar.gz
/osbuild-151.tar.gz
/osbuild-152.tar.gz
/osbuild-153.tar.gz
/osbuild-155.tar.gz
/osbuild-156.tar.gz
/osbuild-158.tar.gz
/osbuild-159.tar.gz
/osbuild-161.tar.gz
/osbuild-162.tar.gz
/osbuild-163.tar.gz
/osbuild-164.tar.gz
/osbuild-166.tar.gz
/osbuild-167.tar.gz
/osbuild-169.tar.gz

View file

@ -26,10 +26,14 @@ jobs:
job: copr_build
trigger: pull_request
targets:
- centos-stream-8-aarch64
- centos-stream-8-x86_64
- centos-stream-9-aarch64
- centos-stream-9-s390x
- centos-stream-9-pcc64le
- centos-stream-9-x86_64
- centos-stream-10-aarch64
- centos-stream-10-s390x
- centos-stream-10-ppc64le
- centos-stream-10-x86_64
- epel-8-aarch64
- epel-8-x86_64
- epel-9-aarch64

View file

@ -1,23 +0,0 @@
From e8c219036302817882d469400b08cbac4b93a781 Mon Sep 17 00:00:00 2001
From: Christian Kellner <christian@kellner.me>
Date: Fri, 20 Aug 2021 14:18:28 +0200
Subject: [PATCH 1/3] runners: add Fedora 36 runner
New `org.osbuild.fedora36` which is re-using the f30 runner.
Needed since Fedora 36 was branched already.
---
runners/org.osbuild.fedora36 | 1 +
1 file changed, 1 insertion(+)
create mode 120000 runners/org.osbuild.fedora36
diff --git a/runners/org.osbuild.fedora36 b/runners/org.osbuild.fedora36
new file mode 120000
index 0000000..d46777b
--- /dev/null
+++ b/runners/org.osbuild.fedora36
@@ -0,0 +1 @@
+org.osbuild.fedora30
\ No newline at end of file
--
2.21.1 (Apple Git-122.3)

View file

@ -1,22 +0,0 @@
From 135b20a487c2b7435e296c9cfc7f96a826ba2d19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Budai?= <ondrej@budai.cz>
Date: Mon, 15 Aug 2022 14:13:55 +0200
Subject: [PATCH] runners: add fedora38
It's that time of the year again.
---
runners/org.osbuild.fedora38 | 1 +
1 file changed, 1 insertion(+)
create mode 120000 runners/org.osbuild.fedora38
diff --git a/runners/org.osbuild.fedora38 b/runners/org.osbuild.fedora38
new file mode 120000
index 0000000..d46777b
--- /dev/null
+++ b/runners/org.osbuild.fedora38
@@ -0,0 +1 @@
+org.osbuild.fedora30
\ No newline at end of file
--
2.37.2

40
PR1827.patch Normal file
View file

@ -0,0 +1,40 @@
From 54c0a2cce45ad385d793d494e62222cd254a866a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= <thozza@redhat.com>
Date: Wed, 31 Jul 2024 18:12:24 +0200
Subject: [PATCH] Test/dnf4.mark: adjust the test for markings used by DNF5
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
When I rolled back from using 'dnf4', to check package markings, to
using 'dnf', I didn't verify the test case on Fedora Rawhide with DNF5.
It turns out that the strings reported by DNF5 differ and make the test
case fail. This time I tested the change on Fedora Rawhide with DNF5 and
it works.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
---
test/run/test_stages.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/test/run/test_stages.py b/test/run/test_stages.py
index dc91bf8f..7fec10c8 100644
--- a/test/run/test_stages.py
+++ b/test/run/test_stages.py
@@ -565,9 +565,11 @@ class TestStages(test.TestBase):
raise
if package == "dnf":
- assert mark == "user"
+ # dnf4 marks packages as 'user', while dnf5 marks them as 'User'
+ assert mark in ("user", "User")
else:
- assert mark == "unknown"
+ # dnf4 marks packages as 'unknown', while dnf5 marks them as 'External User'
+ assert mark in ("unknown", "External User")
@unittest.skipUnless(test.TestBase.has_filesystem_support("btrfs"), "btrfs needed")
def test_btrfs(self):
--
2.45.2

View file

@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.96.0.
The file was generated using packit 1.14.0.post1.dev2+g6506c7467.

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,10 @@
summary: Run osbuild integration tests
prepare:
how: install
package:
- osbuild
discover:
how: fmf
filter: tag:integration-test
execute:
how: tmt

13
plans/unit-tests.fmf Normal file
View file

@ -0,0 +1,13 @@
summary: Run osbuild unit tests from dist-git sources
prepare:
how: install
package:
- git
- make
- osbuild
discover:
how: fmf
dist-git-source: true
filter: tag:unit-test
execute:
how: tmt

View file

@ -1 +1 @@
SHA512 (osbuild-118.tar.gz) = 8004fead5783fe7e9ed468fe4a7eaebd7df4368f83d44374eba5dbaf71d711dddfb52ba43c49f98414b679c5513a2585e0b3c5bcd686c3a856867e6a8322a20f
SHA512 (osbuild-169.tar.gz) = 981b6dae05d0f1fe0475549b5c72c2adafb656a7b9f3dbdf64fe660fe0852166bf327f654192f7f83583e2d559590b98dac8aba226e8203c3a0af274d51b33cf

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,52 @@
#!/usr/bin/bash
set -euxo pipefail
MANIFESTS_DIR=$1
# check that MANIFESTS_DIR is a directory
if [ ! -d "$MANIFESTS_DIR" ]; then
echo "Error: $MANIFESTS_DIR is not a directory"
exit 1
fi
# ensure that we are running on x86_64 architecture
if [ "$(uname -m)" != "x86_64" ]; then
echo "Error: this script is only supported on x86_64 architecture"
exit 1
fi
. /etc/os-release
case "${ID}-${VERSION_ID}" in
fedora-*)
IMAGE_MANIFEST="${MANIFESTS_DIR}/fedora.json"
;;
rhel-8.*)
IMAGE_MANIFEST="${MANIFESTS_DIR}/rhel-8.json"
;;
rhel-9.*)
IMAGE_MANIFEST="${MANIFESTS_DIR}/rhel-9.json"
;;
centos-8)
IMAGE_MANIFEST="${MANIFESTS_DIR}/centos-8.json"
;;
centos-9)
IMAGE_MANIFEST="${MANIFESTS_DIR}/centos-9.json"
;;
centos-10)
IMAGE_MANIFEST="${MANIFESTS_DIR}/centos-10.json"
;;
*)
echo "Error: unsupported OS: ${ID}-${VERSION_ID}"
exit 1
;;
esac
OUTPUT_DIR=/var/tmp/osbuild-output
STORE_DIR=/var/tmp/osbuild-store
sudo mkdir -p "${OUTPUT_DIR}"
sudo mkdir -p "${STORE_DIR}"
# all the images are built with qcow2 format, so export it
EXPORT_PIPELINE="qcow2"
sudo osbuild --output-directory "${OUTPUT_DIR}" --store "${STORE_DIR}" --export "${EXPORT_PIPELINE}" "${IMAGE_MANIFEST}"

View file

@ -0,0 +1,4 @@
summary: Build simple image using osbuild
tag: integration-test
duration: 1h
test: ./build-images.sh ./manifests

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,25 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- classic
required_packages:
- osbuild
- git
- make
- python3-mako
- python3-pytest
tests:
- smoke:
dir: smoke
run: osbuild --help
- unit:
dir: source
run: python3 -m pytest test/mod
- image:
dir: tests
run: osbuild fedora-boot.json --store=/var/tmp/osbuild/store --output-directory=/var/tmp/osbuild/out

View file

@ -0,0 +1,4 @@
summary: Run osbuild unit tests from dist-git sources
tag: unit-test
duration: 4h
test: ./prep-host-environment.sh; sudo chcon $(matchpathcon -n /usr/bin/osbuild) ./run-unit-tests.sh; ./run-unit-tests.sh

View file

@ -0,0 +1,35 @@
#!/usr/bin/bash
# Prepare the host environment for running the osbuild unit tests.
# This includes installing missing dependencies and tools.
set -euxo pipefail
source /etc/os-release
# Move to the checked out git repo with the test plans
# this should be the root of the dist-git repo
cd "${TMT_TREE}"
# install all test dependencies
sudo dnf install -y \
rpmdevtools \
python3-mako \
python3-pip \
rpm-ostree \
dosfstools \
gdisk \
python3-tomli-w
sudo dnf builddep -y osbuild.spec
# Install pytst from pip, because the version in some RHEL / CentOS releases is too old
sudo pip3 install pytest
# Make sure that /usr/lib/systemd/boot/efi/linuxx64.efi.stub is available to enable pe32p tests
case "${ID}-${VERSION_ID}" in
rhel-8.* | centos-8)
sudo dnf install -y systemd-udev
;;
*)
sudo dnf install -y systemd-boot-unsigned
;;
esac

View file

@ -0,0 +1,55 @@
#!/usr/bin/bash
# Execute osbuild unit tests from a checked out dist-git repo
set -euxo pipefail
source /etc/os-release
# The 'test/run/test_assemblers.py::test_tar' test case uses system tar to extract the built tar archive.
# However, files in the tar archive can have SELinux context not present in the system policy. Therefore,
# in order for the system tar to be able to set it when extracting the archive, it must be labeled with
# 'install_exec_t' type.
ORIGINAL_TAR_CONTEXT="$(matchpathcon -n "$(which tar)")"
sudo chcon "system_u:object_r:install_exec_t:s0" "$(which tar)"
function restore_tar_context() {
sudo chcon "${ORIGINAL_TAR_CONTEXT}" "$(which tar)"
}
trap restore_tar_context EXIT
# Run the unit tests
# Note:
# - Ignore the boot test, because it requires qemu-system-x86_64 not available on all distributions.
# - Ignore source code tests, which run linters, since we can't ensure that all linters are available
# and of the same version as in upstream.
# - Explicitly mark btrfs as unsupported on CentOS / RHEL
if [ "${ID}" == "centos" ] || [ "${ID}" == "rhel" ]; then
UNSUPPORTED_FS="--unsupported-fs btrfs"
fi
TEST_SELECTION_EXPR="not (TestBoot and boot)"
# disable some tests on RHEL-8
if ([ "${ID}" == "rhel" ] || [ "${ID}" == "centos" ]) && [ "${VERSION_ID%%.*}" == "8" ]; then
# qemu-img info in RHEL-8 produces "raw" as the image format for "vdi" images, which causes tests to fail. Skip it.
TEST_SELECTION_EXPR="${TEST_SELECTION_EXPR} and not (test_qemu[ext4-vdi] or test_qemu[xfs-vdi])"
TEST_SELECTION_EXPR="${TEST_SELECTION_EXPR} and not (TestStages and test_qemu)"
fi
# Move to the directory with sources
cd "${TMT_SOURCE_DIR}"
# Extract the Source0 basename without extension
SRC_DIR=$(spectool --source 0 osbuild.spec | sed 's/.\+\(osbuild-[0-9]\+\)\.tar\.gz/\1/')
# Move to the extracted sources directory (patches are applied by default)
cd "${SRC_DIR}"
sudo python3 -m pytest \
--rootdir "$(pwd)" \
--ignore "$(pwd)/test/src" \
${UNSUPPORTED_FS:-} \
-k "${TEST_SELECTION_EXPR}" \
-v \
"$(pwd)/test/"