Compare commits

...
Sign in to create a new pull request.

38 commits

Author SHA1 Message Date
Packit
8c13fe86f6 Update to 147 upstream release
Upstream tag: v147
Upstream commit: aced2eaa

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

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

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

Commit authored by Packit automation (https://packit.dev/)
2025-03-12 08:34:34 +00:00
Packit
7698bb4f38 Update to 141 upstream release
Upstream tag: v141
Upstream commit: 5b15951c

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

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

Commit authored by Packit automation (https://packit.dev/)
2025-01-29 08:32:33 +00:00
Packit
16ae11cba5 Update to 138 upstream release
Upstream tag: v138
Upstream commit: 154abafa

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

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

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

Commit authored by Packit automation (https://packit.dev/)
2024-11-22 21:01:03 +00:00
Packit
db216063c5 Update to 134 upstream release
Upstream tag: v134
Upstream commit: a8e8ebde

Commit authored by Packit automation (https://packit.dev/)
2024-11-20 08:32:37 +00:00
Packit
10ce87c9e6 Update to 133 upstream release
Upstream tag: v133
Upstream commit: ef24311f

Commit authored by Packit automation (https://packit.dev/)
2024-11-06 08:29:22 +00:00
Packit
31837af976 Update to 132 upstream release
Upstream tag: v132
Upstream commit: f9873e49

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

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

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

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

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

Commit authored by Packit automation (https://packit.dev/)
2024-08-14 08:27:21 +00:00
Packit
d19045945e Update to 124 upstream release
Upstream tag: v124
Upstream commit: 46db834d

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

Commit authored by Packit automation (https://packit.dev/)
2024-07-25 14:45:36 +02:00
Tomáš Hozza
9427d9c904
Backport upstream fix for a unit test
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-25 10:41:41 +02:00
Tomáš Hozza
f221165493
Migrate to TMT tests used in CentOS Stream
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-25 10:41:41 +02:00
Tomáš Hozza
12364260b9
Remove unused patches
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-07-25 10:41:41 +02:00
Packit
763f6c2c91
Update to 122 upstream release
Upstream tag: v122
Upstream commit: 2e5a9335

Commit authored by Packit automation (https://packit.dev/)
2024-07-25 10:41:41 +02:00
Packit
c9700e2c47 Update to 119 upstream release
Upstream tag: v119
Upstream commit: 4dbf8e2d

Commit authored by Packit automation (https://packit.dev/)
2024-05-22 08:17:15 +00:00
Packit
3382b4aad4 Update to 118 upstream release
Upstream tag: v118
Upstream commit: 86f3459e

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

Commit authored by Packit automation (https://packit.dev/)
2024-04-24 08:18:05 +00:00
Packit
268d95a9a0 Update to 116 upstream release
Upstream tag: v116
Upstream commit: f892351b

Commit authored by Packit automation (https://packit.dev/)
2024-04-15 09:11:10 +00:00
Packit
6330095e8a Update to 115 upstream release
Upstream tag: v115
Upstream commit: 6549bf19

Commit authored by Packit automation (https://packit.dev/)
2024-04-10 08:18:33 +00:00
Packit
c3698d4b1f [packit] 114 upstream release
Upstream tag: v114
Upstream commit: 7e0e30fd
2024-03-29 12:36:36 +00:00
Packit
dbceb4e4b7 [packit] 113 upstream release
Upstream tag: v113
Upstream commit: ec496769
2024-03-27 08:19:47 +00:00
Packit
b6f5920c2d [packit] 112 upstream release
Upstream tag: v112
Upstream commit: dd575465
2024-03-13 08:17:40 +00:00
Packit
7ddb1ca178 [packit] 111 upstream release
Upstream tag: v111
Upstream commit: 7709b7ca
2024-02-28 08:16:50 +00:00
Packit
c7e5d106c3 [packit] 110 upstream release
Upstream tag: v110
Upstream commit: 0b7dcf3c
2024-02-26 15:45:20 +00:00
Packit
c25e476c58 [packit] 109 upstream release
Upstream tag: v109
Upstream commit: 32297469
2024-02-22 11:55:01 +00:00
Packit
812dbfd56d [packit] 108 upstream release
Upstream tag: v108
Upstream commit: c3af3173
2024-02-14 08:15:53 +00:00
24 changed files with 36835 additions and 1193 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

34
.gitignore vendored
View file

@ -104,3 +104,37 @@
/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
/osbuild-112.tar.gz
/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-133.tar.gz
/osbuild-134.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-143.tar.gz
/osbuild-144.tar.gz
/osbuild-146.tar.gz
/osbuild-147.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

44
PR1824.patch Normal file
View file

@ -0,0 +1,44 @@
From 2a69d10da676d067bf42b936114d3785fd1c37da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= <thozza@redhat.com>
Date: Thu, 25 Jul 2024 10:27:44 +0200
Subject: [PATCH] Test: fix dnf4.mark stage test with DNF5
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
DNF5 contains a breaking change in the repoquery --qf output,
specifically it does not include the trailing newline. This breaks the
test case e.g. on the latest Fedora Rawhide [1].
As a fix, explicitly use 'dnf4' for now, until the inconsistency is
fixed in the upstream [2].
[1] https://artifacts.dev.testing-farm.io/3a3a2898-0a6a-42eb-8792-660f03c35c3c/
[2] https://github.com/rpm-software-management/dnf5/issues/709
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
---
test/run/test_stages.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/test/run/test_stages.py b/test/run/test_stages.py
index a4d78b7e..ca224f07 100644
--- a/test/run/test_stages.py
+++ b/test/run/test_stages.py
@@ -537,9 +537,12 @@ class TestStages(test.TestBase):
assert os.path.isdir(tree)
# we're going to verify that packages in the tree are marked according to
+ # Explicitly use 'dnf4' for now, because 'dnf5' contains a breaking change
+ # in the repoquery --qf output, specifically it does not add a trailing newline.
+ # We can use plan 'dnf' again once https://github.com/rpm-software-management/dnf5/issues/709 is fixed.
r = subprocess.run(
[
- "dnf",
+ "dnf4",
"--installroot", tree,
"repoquery", "--installed",
"--qf", "%{name},%{reason}"
--
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.90.0.post1.dev3+g3d9551d2.
The file was generated using packit 1.6.0.post1.dev2+gd5a7662a.

View file

@ -1,7 +1,7 @@
%global forgeurl https://github.com/osbuild/osbuild
%global selinuxtype targeted
Version: 106
Version: 147
%forgemeta
@ -27,7 +27,6 @@ Requires: bash
Requires: bubblewrap
Requires: coreutils
Requires: curl
Requires: dnf
Requires: e2fsprogs
Requires: glibc
Requires: policycoreutils
@ -38,6 +37,13 @@ Requires: tar
Requires: util-linux
Requires: python3-%{pypi_name} = %{version}-%{release}
Requires: (%{name}-selinux if selinux-policy-%{selinuxtype})
Requires: python3-librepo
# This is required for `osbuild`, for RHEL-10 and above
# the stdlib toml package can be used instead
%if 0%{?rhel} < 10
Requires: python3-tomli
%endif
# Turn off dependency generators for runners. The reason is that runners are
# tailored to the platform, e.g. on RHEL they are using platform-python. We
@ -115,6 +121,7 @@ containers it uses to build OS artifacts.
Summary: Extra tools and utilities
Requires: %{name} = %{version}-%{release}
Requires: python3-pyyaml
Requires: python3-dnf
# These are required for `osbuild-dev`, only packaged for Fedora
%if 0%{?fedora}
@ -131,13 +138,32 @@ manifests and osbuild.
Summary: Dependency solving support for DNF
Requires: %{name} = %{version}-%{release}
# Fedora 40 and later use libdnf5, RHEL and Fedora < 40 use libdnf
%if 0%{?fedora} >= 40
Requires: python3-libdnf5 >= 5.1.1
# RHEL 11 and Fedora 41 and later use libdnf5, RHEL < 11 and Fedora < 41 use dnf
# On Fedora 41 however, we force dnf4 (and depend on python3-dnf) until dnf5 issues are resolved.
# See https://github.com/rpm-software-management/dnf5/issues/1748
# and https://issues.redhat.com/browse/COMPOSER-2361
%if 0%{?rhel} >= 11
Requires: python3-libdnf5 >= 5.2.1
%else
Requires: python3-libdnf
Requires: python3-dnf
%endif
%if 0%{?fedora}
# RHEL / CS does not have python3-license-expression
# It is needed for validating license expressions in RPM packages when generating SBOMs
# While SBOMs can be generated also without this package, it is recommended to have it.
Recommends: python3-license-expression
%endif
# osbuild 125 added a new "solver" field and osbuild-composer only
# supports this since 116
Conflicts: osbuild-composer <= 115
# This version needs to get bumped every time the osbuild-dnf-json
# version changes in an incompatible way. Packages like osbuild-composer
# can depend on the exact API version this way
Provides: osbuild-dnf-json-api = 8
%description depsolve-dnf
Contains depsolving capabilities for package managers.
@ -207,11 +233,18 @@ install -p -m 0755 data/10-osbuild-inhibitor.rules %{buildroot}%{_udevrulesdir}
# Install `osbuild-depsolve-dnf` into libexec
mkdir -p %{buildroot}%{_libexecdir}
# Fedora 40 and later use dnf5-json, RHEL and Fedora < 40 use dnf-json
%if 0%{?fedora} >= 40
install -p -m 0755 tools/osbuild-depsolve-dnf5 %{buildroot}%{_libexecdir}/osbuild-depsolve-dnf
%else
install -p -m 0755 tools/osbuild-depsolve-dnf %{buildroot}%{_libexecdir}/osbuild-depsolve-dnf
# Configure the solver for dnf
mkdir -p %{buildroot}%{_datadir}/osbuild
# RHEL 11 and Fedora 41 and later use dnf5, RHEL < 11 and Fedora < 41 use dnf
# On Fedora 41 however, we force dnf4 (and depend on python3-dnf) until dnf5 issues are resolved.
# See https://github.com/rpm-software-management/dnf5/issues/1748
# and https://issues.redhat.com/browse/COMPOSER-2361
%if 0%{?rhel} >= 11
install -p -m 0644 tools/solver-dnf5.json %{buildroot}%{pkgdir}/solver.json
%else
install -p -m 0644 tools/solver-dnf.json %{buildroot}%{pkgdir}/solver.json
%endif
%check
@ -283,13 +316,849 @@ fi
%selinux_relabel_post -s %{selinuxtype}
%files tools
%{_bindir}/osbuild-image-info
%{_bindir}/osbuild-mpp
%{?fedora:%{_bindir}/osbuild-dev}
%files depsolve-dnf
%{_libexecdir}/osbuild-depsolve-dnf
%{pkgdir}/solver.json
%changelog
* Wed Apr 16 2025 Packit <hello@packit.dev> - 147-1
Changes with 147
----------------
* Stages/rhsm: add unit test for the stage schema (#2072)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Michael Vogt
* Stages/rhsm: support setting 'auto_enable_yum_plugins' option (#2070)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Florian Schüller, Michael Vogt
* Stages/waagent.conf: support additional options (#2071)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Simon de Vlieger
* Update images dependency ref to latest (#2073)
* Author: SchutzBot, Reviewers: Achilleas Koutsou
* stages/chrony: support specifying refclocks (RHEL-79065) (#2068)
* Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Michael Vogt, Tomáš Hozza
Somewhere on the Internet, 2025-04-16
* Wed Apr 09 2025 Packit <hello@packit.dev> - 146-1
Changes with 146
----------------
* GH Action/create-tag: allow passing the version when run manually (#2062)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Simon Steinbeiß
* New stage: org.osbuild.hmac (HMS-5826) (#2055)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Tomáš Hozza
* Update images dependency ref to latest (#2066)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza
* Update snapshots to 20250404 (#2065)
* Author: SchutzBot, Reviewers: Achilleas Koutsou
* github: bump ubuntu runners to 24.04 (#2069)
* Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Simon de Vlieger
* osbuild: add experimental flag `debug-qemu-user` (#2059)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Brian C. Lane
* stages/systemd.unit.create: support StandardOutput (RHEL-79065) (#2067)
* Author: Achilleas Koutsou, Reviewers: Simon de Vlieger, Tomáš Hozza
* stages: fix description for org.osbuild.containers.unit.create (#2054)
* Author: Luiza de Melo, Reviewers: Achilleas Koutsou, Brian C. Lane
Somewhere on the Internet, 2025-04-09
* Wed Mar 26 2025 Packit <hello@packit.dev> - 144-1
Changes with 144
----------------
* Update images dependency ref to latest (#2044)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza
* Update images dependency ref to latest (#2051)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza
* stages/coreos.live-artifacts: loosen requirements on modules dir (#2049)
* Author: Dusty Mabe, Reviewers: Achilleas Koutsou, Simon de Vlieger
* stages/rpm: add new kernel_install_env options (HMS-5635) (#2045)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Tomáš Hozza
* stages: add insights-client config stage (HMS-5568) (#2030)
* Author: rverdile, Reviewers: Achilleas Koutsou, Simon de Vlieger
* tests/CI: Add rhel 9.7 and 10.1 nightly runners (HMS-5646) (#2046)
* Author: Tomáš Koscielniak, Reviewers: Achilleas Koutsou, Michael Vogt
* tests/CI: Upgrade rhel 9.4 GA to 9.5 GA (#2031)
* Author: Tomáš Koscielniak, Reviewers: Achilleas Koutsou, Tomáš Hozza
Somewhere on the Internet, 2025-03-26
* Wed Mar 12 2025 Packit <hello@packit.dev> - 143-1
Changes with 143
----------------
* Make sure that SBOM license fields contain valid SPDX license expressions (HMS-5524) (#2023)
* Author: Tomáš Hozza, Reviewers: Nobody
* Test/tools/depsolve: reword function doc text (#2033)
* Author: Tomáš Hozza, Reviewers: Florian Schüller, Michael Vogt
* Update snapshots to 20250301 (#2034)
* Author: SchutzBot, Reviewers: Simon de Vlieger, Tomáš Hozza
* stages/grub2.inst: fix format for non-x86_64 image (#2038)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Simon de Vlieger
* stages/systemd.unit.create: support .swap units (#2001)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Simon de Vlieger
* tools: support zstd in `image-info` (#2042)
* Author: Simon de Vlieger, Reviewers: Achilleas Koutsou, Florian Schüller
Somewhere on the Internet, 2025-03-12
* Wed Feb 12 2025 Packit <hello@packit.dev> - 141-1
Changes with 141
----------------
* Add initial CODEOWNERS file (#2004)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Michael Vogt, Simon de Vlieger
* Revert "ostree: introduce optional subpath feature" (#2010)
* Author: Simon de Vlieger, Reviewers: Achilleas Koutsou, Michael Vogt, Tomáš Hozza
* Tools/osbuild-image-info: make read_selinux_ctx_mismatch more robust (#2007)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Simon de Vlieger
* Update snapshots to 20250201 (#1998)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza
* kernel-cmdline: add size check (#2005)
* Author: Albert Esteve, Reviewers: Simon de Vlieger, Tomáš Hozza
* osbuild-image-info: rework analyse_iso() (HMS-5376) (#1981)
* Author: Tomáš Hozza, Reviewers: Nobody
* stages/coreos.live-artifacts: add erofs support (#2002)
* Author: Nikita Dubrovski, Reviewers: Achilleas Koutsou, Dusty Mabe
* stages/kernel-cmdline: add max cmdline option (#2006)
* Author: Albert Esteve, Reviewers: Michael Vogt, Tomáš Hozza
* stages: Where is mandatory in systemd.unit.create (#2000)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Tomáš Hozza
Somewhere on the Internet, 2025-02-12
* Tue Feb 04 2025 Packit <hello@packit.dev> - 140-1
Changes with 140
----------------
* Follow-up fixes to PR#1983 (HMS-5434) (#1999)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Simon de Vlieger
* Manifest tests: replace `manifest-db` with `images` CI cache (HMS-5360) (#1983)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Simon de Vlieger
* Update images dependency ref to latest (#1997)
* Author: SchutzBot, Reviewers: Simon de Vlieger, Tomáš Hozza
* osbuild-image-info: exit with non-zero value on empty report (#1987)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Simon de Vlieger
* osbuild: add a mutex to the _jsonseq() writer (#1996)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
* stages: add test for the new org.grub2.iso.legacy stage (#1960)
* Author: Michael Vogt, Reviewers: Brian C. Lane, Tomáš Hozza
Somewhere on the Internet, 2025-02-04
* Wed Jan 29 2025 Packit <hello@packit.dev> - 139-1
Changes with 139
----------------
* Add `--cache` flag as an alias for `--store` (#1985)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Simon de Vlieger
* Gitlab CI: use F41 for OSTree tests (#1984)
* Author: Tomáš Hozza, Reviewers: Florian Schüller, Simon de Vlieger
* README: remove mailing list (#1982)
* Author: Florian Schüller, Reviewers: Ondřej Budai, Simon de Vlieger
* Test embedding containers with device nodes in ostree commits (RHEL-59716) (#1905)
* Author: Achilleas Koutsou, Reviewers: Dusty Mabe, Ondřej Budai
* modularity: depsolving (COMPOSER-2365) (#1933)
* Author: Simon de Vlieger, Reviewers: Nobody
* osbuild-image-info: don't fail on no systemd default target (HMS-5375) (#1988)
* Author: Tomáš Hozza, Reviewers: Brian C. Lane, Simon de Vlieger
* remove the nevra field from the depsolve (#1991)
* Author: Simon de Vlieger, Reviewers: Michael Vogt, Ondřej Budai
* spec: bump dnf json api version (#1990)
* Author: Simon de Vlieger, Reviewers: Michael Vogt, Tomáš Hozza
* spec: bump dnfjson api version (#1992)
* Author: Simon de Vlieger, Reviewers: Michael Vogt, Tomáš Hozza
* stages/mkfs.ext4: disable lazy_itable_init (#1980)
* Author: Albert Esteve, Reviewers: Achilleas Koutsou, Michael Vogt
* tools: add test that ensures we notice if the solver api breaks (#1993)
* Author: Michael Vogt, Reviewers: Simon de Vlieger, Tomáš Hozza
Somewhere on the Internet, 2025-01-29
* Wed Jan 15 2025 Packit <hello@packit.dev> - 138-1
Changes with 138
----------------
* Don't use f-strings for path construction in `tuned` and `dnf*.sbom.spdx` stages (#1968)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Brian C. Lane
* Make an iso9660 eltorito image (#1946)
* Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger
* Schutzbot: update terraform ref (HMS-5240) (#1972)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Gianluca Zuccarelli
* Tools/osbuild-image-info: make `read_boot_entries()` more robust (HMS-5228) (#1971)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Gianluca Zuccarelli
* Update snapshots to 20250101 (#1973)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza
* erofs: Add zstd to the list of supported compression algorithms (#1969)
* Author: Brian C. Lane, Reviewers: Achilleas Koutsou, Tomáš Hozza
* kickstart: Drop ostree signature verification flag (#1965)
* Author: Colin Walters, Reviewers: Brian C. Lane, Michael Vogt
* monitor: include result in jsonseq monitor streaming (COMPOSER-2393) (#1831)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
* org.osbuild.xorriso: Add support for grub2 bootable iso (#1956)
* Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger
* osbuild-image-info: support swap partitions and btrfs subvolumes (#1975)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Tomáš Hozza
* schutzbot: update Achilleas' ssh keys (#1967)
* Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Simon de Vlieger
* sources: add an org.osbuild.librepo source (#1974)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Brian C. Lane, Simon de Vlieger, Tomáš Hozza
Somewhere on the Internet, 2025-01-15
* Wed Dec 18 2024 Packit <hello@packit.dev> - 137-1
Changes with 137
----------------
* Add `org.osbuild.dnf5.sbom.spdx` stage (COMPOSER-2361) (#1961)
* Author: Tomáš Hozza, Reviewers: Brian C. Lane, Simon de Vlieger
* CODEOWNERS: Assign ownership for CoreOS-related files (#1918)
* Author: Renata Ravanelli, Reviewers: Achilleas Koutsou, Dusty Mabe, Simon de Vlieger
* Move `image-info` from manifest-db to osbuild as `osbuild-image-info` (HMS-5210) (#1963)
* Author: Tomáš Hozza, Reviewers: Gianluca Zuccarelli, Simon de Vlieger
* Update snapshots to 20241210 (#1958)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Simon de Vlieger
* github/actions: Enable /jira-epic slash commands (HMS-5161) (#1959)
* Author: Simon Steinbeiß, Reviewers: Achilleas Koutsou, Michael Vogt
* org.osbuild.grub2.iso.legacy: Add grub2 setup for booting BIOS ISO (#1955)
* Author: Brian C. Lane, Reviewers: Michael Vogt, Tomáš Hozza
* osbuild/remoteloop: add more loop device options (#1944)
* Author: Dusty Mabe, Reviewers: Achilleas Koutsou, Simon de Vlieger
* stages: add `coreos.live-artifacts.mono` stage (#1947)
* Author: Dusty Mabe, Reviewers: Nobody
* typo: Fix incorrect 'tar archive' descriptions in stage metadata (#1957)
* Author: Brian C. Lane, Reviewers: Achilleas Koutsou, Michael Vogt
* util/osrelease.py: improve quote stripping (#1927)
* Author: Renata Ravanelli, Reviewers: Dusty Mabe, Simon de Vlieger
Somewhere on the Internet, 2024-12-18
* Wed Dec 04 2024 Packit <hello@packit.dev> - 136-1
Changes with 136
----------------
* Bump RHEL 10 from beta to nightly (#1949)
* Author: Tomáš Koscielniak, Reviewers: Achilleas Koutsou, Jakub Rusz
* Expand the options available in containers.unit.create (#1950)
* Author: Pierre-Yves Chibon, Reviewers: Achilleas Koutsou, Michael Vogt
* Lint/autopep8: update to the latest upstream version v2.3.1 (#1938)
* Author: Tomáš Hozza, Reviewers: Michael Vogt, Simon de Vlieger
* Stages/dnf-automatic.config: don't fail on non-existent config file (#1934)
* Author: Tomáš Hozza, Reviewers: Michael Vogt, Simon de Vlieger
* Test/autotailor: fix Python 3.6 compatibility (#1937)
* Author: Tomáš Hozza, Reviewers: Gianluca Zuccarelli, Simon de Vlieger
* Update `osbuild-ci*` images and testing manifests to Fedora 41 (#1932)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Michael Vogt
* Update pylint to the latest upstream version v3.3.1 and resolve new issues (#1939)
* Author: Tomáš Hozza, Reviewers: Michael Vogt, Simon de Vlieger
* github: prevent script injections via PR branch names (#1954)
* Author: Ondřej Budai, Reviewers: Achilleas Koutsou, Simon de Vlieger
* osbuild-depsolve-dnf: support generating SPDX SBOM with DNF5 (COMPOSER-2361) (#1925)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Brian C. Lane, Simon de Vlieger
* osbuild-mpp: Fix error on python < 3.11 (#1929)
* Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Florian Schüller, Simon de Vlieger
* sources: fix ostree_sources test to work without `/var/empty` (#1942)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Tomáš Hozza
* stages: run useradd, usermod, and passwd with --root (#1945)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Ondřej Budai, Tomáš Hozza
* test/data/manifests/fedora-coreos-container: fix CI (#1948)
* Author: Dusty Mabe, Reviewers: Achilleas Koutsou, Michael Vogt
* util/chroot: Add support for custom directory bind mounts (#1917)
* Author: Renata Ravanelli, Reviewers: Achilleas Koutsou, Dusty Mabe
* workflow: add smoke test that runs unit tests as user (#1943)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Tomáš Hozza
Somewhere on the Internet, 2024-12-04
* Fri Nov 22 2024 Packit <hello@packit.dev> - 135-1
Changes with 135
----------------
* test: regenerate X509 test certs (#1931)
* Author: Lukáš Zapletal, Reviewers: Ondřej Ezr, Tomáš Hozza
Somewhere on the Internet, 2024-11-22
* Wed Nov 20 2024 Packit <hello@packit.dev> - 134-1
Changes with 134
----------------
* Build RPMs on 9.6 nightly (COMPOSER-2384) (#1923)
* Author: Tomáš Koscielniak, Reviewers: Achilleas Koutsou, Jakub Rusz, Sanne Raymaekers
* Update snapshots to 20241107 (#1924)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza
* org.osbuild.selinux: support working on mounts (#1911)
* Author: Nikita Dubrovski, Reviewers: Nobody
* osbuild-mpp: Allow using formating in the mpp-resolve-images handling (#1926)
* Author: Alexander Larsson, Reviewers: Achilleas Koutsou, Michael Vogt, Simon de Vlieger
* spec: depend on and use dnf4 in Fedora 41 for osbuild-depsolve-dnf (#1921)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Simon de Vlieger, Tomáš Hozza
Somewhere on the Internet, 2024-11-20
* Wed Nov 06 2024 Packit <hello@packit.dev> - 133-1
Changes with 133
----------------
* README: document test prerequisites (#1915)
* Author: Florian Schüller, Reviewers: Achilleas Koutsou, Michael Vogt, Simon de Vlieger
* feat: add remove-signatures option to container-deploy stage (#1906)
* Author: Miguel Martin, Reviewers: Achilleas Koutsou, Michael Vogt
* org.osbuild.mkdir: support creating dirs on mounts (#1904)
* Author: Nikita Dubrovski, Reviewers: Achilleas Koutsou, Dusty Mabe, Michael Vogt
* schema: `metadata` at the top level (#1900)
* Author: Simon de Vlieger, Reviewers: Brian C. Lane, Michael Vogt
* sources: MTLS and proxy support for ostree (#1910)
* Author: Lukáš Zapletal, Reviewers: Achilleas Koutsou, Michael Vogt
* stages/org.osbuild.tar: implement disk-full test (RHEL-4653) (#1909)
* Author: Florian Schüller, Reviewers: Achilleas Koutsou
* util: use non-absolute paths for chroot/mount/umount and add test (#1881)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
Somewhere on the Internet, 2024-11-06
* Wed Oct 23 2024 Packit <hello@packit.dev> - 132-1
Changes with 132
----------------
* CI: Update excluded tests list (#1899)
* Author: Paweł Poławski, Reviewers: Brian C. Lane, Florian Schüller
* chore: add dicussions link to README (#1901)
* Author: Lukáš Zapletal, Reviewers: Paweł Poławski, Simon de Vlieger
* meta: use pathlib to join paths in `class Index` (#1903)
* Author: Michael Vogt, Reviewers: Paweł Poławski, Simon de Vlieger
* osbuild.spec: Add python3-dnf dependency for osbuild-tools (#1908)
* Author: Renata Ravanelli, Reviewers: Achilleas Koutsou, Simon de Vlieger
* sources: MTLS and proxy support for ostree (#1892)
* Author: Lukáš Zapletal, Reviewers: Achilleas Koutsou, Simon de Vlieger
Somewhere on the Internet, 2024-10-23
* Wed Oct 09 2024 Packit <hello@packit.dev> - 131-1
Changes with 131
----------------
* spec: remove unneeded dnf depedendency (#1896)
* Author: Ondřej Budai, Reviewers: Michael Vogt, Simon de Vlieger
* spec: use python3-libdnf5 in RHEL 11 and ELN (#1894)
* Author: Yaakov Selkowitz, Reviewers: Michael Vogt, Ondřej Budai
* stages(tar): expose new `transform` option to tar stage (#1886)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Ondřej Budai
Somewhere on the Internet, 2024-10-09
* Wed Sep 25 2024 Packit <hello@packit.dev> - 130-1
Changes with 130
----------------
* Add support for creating quadlet and systemd socket units (#1887)
* Author: Alexander Larsson, Reviewers: Simon de Vlieger, Tomáš Hozza
* Fix dependencies and test for DNF4 based osbuild-depsolve-dnf (#1893)
* Author: Tomáš Hozza, Reviewers: Ondřej Budai, Simon de Vlieger
* Update snapshots to 20240918 (#1891)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza
* stages/selinux: don't require file_contexts if labels passed (#1889)
* Author: Dusty Mabe, Reviewers: Michael Vogt, Simon de Vlieger
* tools/osbuild-mpp: hash mpp-embed urls from stream (#1843)
* Author: Jonathan Lebon, Reviewers: Brian C. Lane, Simon de Vlieger
Somewhere on the Internet, 2024-09-25
* Wed Sep 18 2024 Packit <hello@packit.dev> - 129-1
Changes with 129
----------------
* Add initial support for generating SPDX SBOM documents (COMPOSER-2274) (#1818)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Gianluca Zuccarelli, Simon de Vlieger
* devices/loopback: add read-only option (#1842)
* Author: Jonathan Lebon, Reviewers: Michael Vogt, Simon de Vlieger
* jsoncomm: transparently handle huge messages via fds (#1838)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
* stages/coreos.platform: use shutil.copy (#1888)
* Author: Dusty Mabe, Reviewers: Michael Vogt, Simon de Vlieger
* stages: fix btrfs subvolume creation under subdirectories (#1883)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* test: add test that ensures return value of `chroot.run()` (#1880)
* Author: Michael Vogt, Reviewers: Paweł Poławski, Simon de Vlieger
Somewhere on the Internet, 2024-09-18
* Wed Aug 21 2024 Packit <hello@packit.dev> - 126-1
Changes with 126
----------------
* CI: update terraform hash (#1859)
* Author: Achilleas Koutsou, Reviewers: Florian Schüller, Michael Vogt, Ondřej Budai, Sanne Raymaekers, Tomáš Hozza
* New utility module: chroot (#1860)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Tomáš Hozza
* Stages/`org.osbuild.dracut`: fix runtime environment for dracut (COMPOSER-2193) (#1846)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Michael Vogt
* Update snapshots to 20240819 (#1856)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Michael Vogt
* osbuild: add "Conflicts"/"Provides" to avoid breaking composer (#1849)
* Author: Michael Vogt, Reviewers: Brian C. Lane, Tomáš Hozza
* schutzbot: add Achilleas' SSH keys (#1858)
* Author: Achilleas Koutsou, Reviewers: Tomáš Hozza
* test/depsolve: use strings for pytest.skip() (#1852)
* Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Michael Vogt, Paweł Poławski
Somewhere on the Internet, 2024-08-21
* Wed Aug 14 2024 Packit <hello@packit.dev> - 125-1
Changes with 125
----------------
* Makefile: run `tox parallel` without the spinner (#1835)
* Author: Michael Vogt, Reviewers: Ondřej Budai, Tomáš Hozza
* Test/dnf4.mark: adjust the test for markings used by DNF5 (#1827)
* Author: Tomáš Hozza, Reviewers: Michael Vogt, Paweł Poławski
* Tests: Add unit tests for org.osbuild.gunzip stage (#1689)
* Author: Paweł Poławski, Reviewers: Brian C. Lane, Michael Vogt
* jsoncom: gracefully report EMSGSIZE errors (#1840)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* main,monitor: fix total steps in progress reporting (#1826)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* osbuild-depsolve-dnf: fix some bugs and extend test coverage (#1834)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Gianluca Zuccarelli
* osbuild-depsolve-dnf: refactor into osbuild.solver module (#1776)
* Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger
* osbuild: make `inputs` `map()` function use fd for reply as well (#1836)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
* solver: include "solver" key in the dnfjson reply (#1829)
* Author: Michael Vogt, Reviewers: Brian C. Lane, Paweł Poławski
* test_dnf4_mark(): disable all plugins when inspecting markings (#1837)
* Author: Tomáš Hozza, Reviewers: Gianluca Zuccarelli, Paweł Poławski
Somewhere on the Internet, 2024-08-14
* Wed Jul 31 2024 Packit <hello@packit.dev> - 124-1
Changes with 124
----------------
* CI: build RPMs for RHEL-10.0-nightly (COMPOSER-2161) (#1822)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Florian Schüller
* Fix dnf4 mark stage test (#1825)
* Author: Tomáš Hozza, Reviewers: Michael Vogt, Simon de Vlieger
* Make `tailored_profile_id` required for `json` autotailoring (#1794)
* Author: Gianluca Zuccarelli, Reviewers: Achilleas Koutsou, Sanne Raymaekers
* Test/manifests: start testing on c10s and el10.0-nightly (COMPOSER-2161) (#1821)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Alexander Todorov
* Test: fix dnf4.mark stage test with DNF5 (#1824)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Gianluca Zuccarelli
* mpp: Allow container-storage image resolution (#1792)
* Author: Roberto Majadas, Reviewers: Achilleas Koutsou, Ondřej Budai
* sources(curl): error if curl exists 0 but there are downloads left (#1816)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* sources(curl): use json like output inside of custom record (#1817)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* stages/autotailor: fix stage schema (#1823)
* Author: Gianluca Zuccarelli, Reviewers: Sanne Raymaekers, Tomáš Hozza
* test: add new `https_serve_directory()` and test certs (#1815)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
Somewhere on the Internet, 2024-07-31
* Wed Jul 17 2024 Packit <hello@packit.dev> - 123-1
Changes with 123
----------------
* Start building RPMs on CentOS Stream 10 for testing (#1799)
* Author: Alexander Todorov, Reviewers: Florian Schüller, Tomáš Hozza
* Tests: force checkout manifest-db (#1820)
* Author: Tomáš Hozza, Reviewers: Florian Schüller, Gianluca Zuccarelli
* sources(curl): disable `curl --parallel` by default (#1811)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger, Tomáš Hozza
* sources(curl): download multiple URLs with the same curl command (#1573)
* Author: Michael Vogt, Reviewers: Ondřej Budai, Simon de Vlieger
* stages/oscap.remediation: small import adjustment (#1814)
* Author: Gianluca Zuccarelli, Reviewers: Achilleas Koutsou, Michael Vogt
* stages: add stage for creating dm-verity partitions (#1806)
* Author: Nikita Dubrovski, Reviewers: Achilleas Koutsou, Michael Vogt, Paweł Poławski
Somewhere on the Internet, 2024-07-17
* Wed Jul 03 2024 Packit <hello@packit.dev> - 122-1
Changes with 122
----------------
* CI: Add testing based on Centos containers (COMPOSER-2125) (#1585)
* Author: Paweł Poławski, Reviewers: Achilleas Koutsou, Tomáš Hozza
* Test/assemblers: update manifest to use Fedora 40 + update manifests testing (#1808)
* Author: Tomáš Hozza, Reviewers: Alexander Todorov, Michael Vogt
* Update snapshots for rhel-9.5 to make them in sync with osbuild-composer (#1807)
* Author: Alexander Todorov, Reviewers: Sanne Raymaekers, Tomáš Hozza
* sources/curl: use `--user-agent` option to set the user-agent (#1809)
* Author: Sanne Raymaekers, Reviewers: Michael Vogt, Simon de Vlieger
Somewhere on the Internet, 2024-07-03
* Wed May 22 2024 Packit <hello@packit.dev> - 119-1
Changes with 119
----------------
* Add user force password reset (#1778)
* Author: andremarianiello, Reviewers: Brian C. Lane, Paweł Poławski
* Tests: Add unit tests for org.osbuild.mkfs.fat stage (#1677)
* Author: Paweł Poławski, Reviewers: Brian C. Lane, Michael Vogt
* Update snapshots to 20240514 (#1784)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Brian C. Lane
* runners: revert "runners: clean up temp files before exiting the runner" (#1788)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Tomáš Hozza
* stage/systemd.unit.create: add Before option (#1782)
* Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Michael Vogt
* stages/systemd.unit.create: update schema to support [Mount] (#1748)
* Author: Achilleas Koutsou, Reviewers: Gianluca Zuccarelli, Michael Vogt
* test/buildroot: fix checking /var/tmp mode (#1787)
* Author: Tomáš Hozza, Reviewers: Michael Vogt, Ondřej Budai
* tests: update stage tests readme (#1738)
* Author: Paweł Poławski, Reviewers: Michael Vogt, Ondřej Budai, Tomáš Hozza
Somewhere on the Internet, 2024-05-22
* Wed May 08 2024 Packit <hello@packit.dev> - 118-1
Changes with 118
----------------
* Fix bug with sslverify and add test (#1758)
* Author: Brian C. Lane, Reviewers: Achilleas Koutsou, Michael Vogt
* Revert "Disable F40 CI (CVE-2024-3094 response)" (#1762)
* Author: Brian C. Lane, Reviewers: Achilleas Koutsou, Michael Vogt, Tomáš Hozza
* Start building RPMs on 9.5 nightly (#1770)
* Author: Alexander Todorov, Reviewers: Jakub Rusz, Tomáš Hozza
* Update snapshots to 20240502 (#1771)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza
* osbuild: fix error match in mount test for rawhide (#1754)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Tomáš Hozza
* sources/curl: Use our own User-Agent (#1766)
* Author: Ondřej Budai, Reviewers: Achilleas Koutsou, Gianluca Zuccarelli, Michael Vogt, Simon de Vlieger
* spec: Install osbuild-depsolve-dnf not dnf5 (#1769)
* Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger
* stages/kickstart: add support for the dir transport (#1764)
* Author: Ondřej Budai, Reviewers: Michael Vogt, Tomáš Hozza
* stages/skopeo: Fix the remove-signatures option (#1763)
* Author: Ondřej Budai, Reviewers: Achilleas Koutsou, Florian Schüller, Gianluca Zuccarelli, Michael Vogt
* stages: add support for destination {dir,oci-archive} to the skopeo stage (#1752)
* Author: Florian Schüller, Reviewers: Achilleas Koutsou, Michael Vogt
* stages: new bootc.install.config stage (#1747)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Ondřej Budai
* stages: remove redundant entries of devices/mounts in schemas (#1733)
* Author: Michael Vogt, Reviewers: Brian C. Lane, Tomáš Hozza
* stages: tweak the skopeo copy test (#1761)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Brian C. Lane, Florian Schüller
* test_clamp_mtime: avoid clashing with chrony (#1760)
* Author: Florian Schüller, Reviewers: Brian C. Lane, Michael Vogt
* testutil: fix `make_container()` cleanup (#1757)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Brian C. Lane
* workflow: bump osbuild-ci container to include podman, et al. (#1759)
* Author: Michael Vogt, Reviewers: Brian C. Lane, Ondřej Budai
* workflow: show summary why tests are skipped (#1755)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Brian C. Lane
Somewhere on the Internet, 2024-05-08
* Wed Apr 24 2024 Packit <hello@packit.dev> - 117-1
Changes with 117
----------------
* Enable osbuild-depsolve-dnf5 testing and fix a bug (#1744)
* Author: Brian C. Lane, Reviewers: Achilleas Koutsou, Simon de Vlieger
* Enable unit tests for osbuild-depsolve-dnf(5) (#1731)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Sanne Raymaekers
* Makefile: make sure that `make test-all` really runs all tests (#1734)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* Stages/SELinux: force auto-relabel of full contexts (#1737)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Michael Vogt, Simon de Vlieger
* Stages/cloud-init: support additional datasources (COMPOSER-2060) (#1729)
* Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Michael Vogt
* Update snapshots to 20240415 (#1725)
* Author: SchutzBot, Reviewers: Sanne Raymaekers, Simon de Vlieger
* meta: automatically allow `devices` as input in the stages schemas (#1727)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
* org.osbuld.systemd: support unit files that start with - (#1749)
* Author: Achilleas Koutsou, Reviewers: Alexander Larsson, Brian C. Lane, Gianluca Zuccarelli
* stages(groups): add support for the mounts for `bootc install to-filesystem` (#1726)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Ondřej Budai
* stages: add support for `--target-imgref` to bootc install to-filesystem (#1740)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Ondřej Budai
* stages: allow `bootloader --append` via kickstart (#1742)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* systemd.unit.create: support the After option in the Unit section (HMS-3814) (#1741)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Sanne Raymaekers
* tools: extract common _test_depsolve_both_dnf_dnf5 helper. (#1716)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* tools: fix error when `releasever` cannot be found (#1739)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* tox,workflow: run all tests in the GH worfklow (#1735)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Ondřej Budai
Somewhere on the Internet, 2024-04-24
* Mon Apr 15 2024 Packit <hello@packit.dev> - 116-1
Changes with 116
----------------
* curl: test that OSBUILD_SOURCES_CURL_PROXY works correctly (#1710)
* Author: Michael Vogt, Reviewers: Brian C. Lane, Paweł Poławski
* mounts: implement new `org.osbuild.bind` mount (#1711)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Ondřej Budai
* osbuild-depsolve-dnf(5): support proxy (#1715)
* Author: Sanne Raymaekers, Reviewers: Paweł Poławski, Tomáš Hozza
* osbuild-depsolve-dnf: support loading repositories from a root dir (#1674)
* Author: Achilleas Koutsou, Reviewers: Nobody
* osbuild: fix newline issue with final output 👀 (#1723)
* Author: Gianluca Zuccarelli, Reviewers: Michael Vogt, Paweł Poławski, Simon de Vlieger, Tomáš Hozza
* test: tiny tweaks for the output handling in the test_depsolve.py (#1718)
* Author: Michael Vogt, Reviewers: Brian C. Lane, Paweł Poławski
* tools/osbuild-depsolve-dnf(5): require releasever (#1724)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Paweł Poławski
* tools: extract make_dnf_scafolding() from config_combos() (#1717)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Sanne Raymaekers
* tools: fix proxy key error when "proxy" is not set (#1722)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Sanne Raymaekers
* tools: rename "nothing" to "pkg-with-no-deps" to make it a bit clearer (#1719)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
Somewhere on the Internet, 2024-04-15
* Wed Apr 10 2024 Packit <hello@packit.dev> - 115-1
Changes with 115
----------------
* Main bump checkout action to v4 (#1713)
* Author: Brian C. Lane, Reviewers: Achilleas Koutsou, Simon de Vlieger
* Stage: Schema migration to separated JSON files (#1697)
* Author: Paweł Poławski, Reviewers: Brian C. Lane, Simon de Vlieger
* Tests: Add unit tests for org.osbuild.mkfs.btrfs stage (#1681)
* Author: Paweł Poławski, Reviewers: Michael Vogt, Simon de Vlieger
* Tests: Add unit tests for org.osbuild.mkfs.xfs stage (#1678)
* Author: Paweł Poławski, Reviewers: Michael Vogt, Simon de Vlieger
* Update snapshots to 20240327 (#1690)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Ondřej Budai
* inputs,sources: add new `{inputs,sources}_service` fixtures (#1685)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Ondřej Budai
* osbuild-mpp: Expand information in PkgInfo (#1688)
* Author: Pierre-Yves Chibon, Reviewers: Paweł Poławski, Simon de Vlieger
* source: add curl test in preparation for #1573 (#1703)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* sources(curl): set HTTP proxy through the environment (#1708)
* Author: Sanne Raymaekers, Reviewers: Achilleas Koutsou, Michael Vogt, Paweł Poławski
* sources(curl): tweak tests to use monkeypatch.setenv() (#1709)
* Author: Michael Vogt, Reviewers: Brian C. Lane, Ondřej Budai
* sources: add regression test for issue#1693 (#1699)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* sources: some small tweaks to the curl tests (#1700)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* stages(mkdir): allow to pass in devices/mounts (#1712)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Ondřej Budai
* stages: add org.osbuild.zip (#1692)
* Author: Luke Yang, Reviewers: Achilleas Koutsou, Michael Vogt
* stages: move users/selinux to v2 and add devices/mounts support (#1705)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Paweł Poławski
* systemd.unit.create: Add Environment and EnvironmentFile options (HMS-3814) (#1684)
* Author: Achilleas Koutsou, Reviewers: Michael Vogt, Simon de Vlieger
* testutil: add AtomicCounter() as a threadsafe counter (#1707)
* Author: Michael Vogt, Reviewers: Brian C. Lane, Ondřej Budai
Somewhere on the Internet, 2024-04-10
* Fri Mar 29 2024 Packit <hello@packit.dev> - 114-1
Changes with 114
----------------
* curl: fix RHSM url retrieval (#1694)
* Author: andremarianiello, Reviewers: Paweł Poławski, Sanne Raymaekers, Simon de Vlieger
Somewhere on the Internet, 2024-03-29
* Wed Mar 27 2024 Packit <hello@packit.dev> - 113-1
Changes with 113
----------------
* Reformat all JSON files for consistency (#1687)
* Author: Achilleas Koutsou, Reviewers: Paweł Poławski, Simon de Vlieger
* Revert "osbuild: ensure loop.Loop() has the required device node" (#1646)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Brian C. Lane, Simon de Vlieger
* Update snapshots to 20240313 (#1662)
* Author: SchutzBot, Reviewers: Brian C. Lane, Simon de Vlieger
* doc: document the new json-sequence monitor (HMS-3258) (#1659)
* Author: Michael Vogt, Reviewers: Simon Steinbeiß, Simon de Vlieger
* osbuild: ensure /var/tmp is a real directory (#1673)
* Author: Michael Vogt, Reviewers: Gianluca Zuccarelli, Simon de Vlieger
* osbuild: first step towards stage separation - allow meta.json for stages (#1618)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
* osbuild: make the entire /etc/selinux avaialble for the buildroot (HMS-3453) (#1675)
* Author: Michael Vogt, Reviewers: Colin Walters, Ondřej Budai, Simon de Vlieger
* sources: transform() is only used in the curl sources, remove from ABC and rename (#1667)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
* stage/systemd-unit-create:new systemd unit config params (#1666)
* Author: Sayan Paul, Reviewers: Achilleas Koutsou, Simon de Vlieger
* stages(selinux): add option exclude_paths (#1670)
* Author: Michael Vogt, Reviewers: Paweł Poławski, Simon de Vlieger
* stages: add functional user expiredate tests (#1664)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Brian C. Lane
* stages: add support for options to bootc-install-to-fs (#1658)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Florian Schüller, Simon de Vlieger
* stages: allow bootc.install-to-filesystem work without selinux (HMS-3453) (#1682)
* Author: Michael Vogt, Reviewers: Ondřej Budai, Simon de Vlieger
* stages: convert schemas to external (#1663)
* Author: Simon de Vlieger, Reviewers: Achilleas Koutsou, Gianluca Zuccarelli
* test: Add stage test trigger to makefile (#1660)
* Author: Paweł Poławski, Reviewers: Achilleas Koutsou, Simon de Vlieger
* test: return container_id in `make_container` (#1657)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
* tests: migrate manifest tests (#1622)
* Author: tkoscieln, Reviewers: Alexander Todorov, Jakub Rusz
* tox.ini: update autopep8/pyocdestyle to support py3.12 (#1661)
* Author: Michael Vogt, Reviewers: Ondřej Budai, Simon de Vlieger
* util: Consolidate parse functions into util (#1615)
* Author: Renata Ravanelli, Reviewers: Michael Vogt, Simon de Vlieger
* workflow: re-enable parallel runs to improve speed of test_stages and test_assemblers (#1683)
* Author: Florian Schüller, Reviewers: Michael Vogt, Paweł Poławski
Somewhere on the Internet, 2024-03-27
* Wed Mar 13 2024 Packit <hello@packit.dev> - 112-1
Changes with 112
----------------
* Remount containers-store bind mount as `rw` (#1651)
* Author: Gianluca Zuccarelli, Reviewers: Achilleas Koutsou, Ondřej Budai
* Schutzbot: Remove RH-IT-Root-CA (#1627)
* Author: Jakub Rusz, Reviewers: Michael Vogt, Ondřej Budai, Simon Steinbeiß, Simon de Vlieger
* Update snapshots to 20240301 (#1619)
* Author: SchutzBot, Reviewers: Achilleas Koutsou, Simon Steinbeiß
* actions/sonarqube: Drop SonarQube in favor of Snyk (HMS-3697) (#1626)
* Author: Simon Steinbeiß, Reviewers: Jakub Rusz
* actions/test: Only test assemblers in Python 3.6 (HMS-3697) (#1621)
* Author: Simon Steinbeiß, Reviewers: Michael Vogt
* actions: Add a PR best practices check (#1628)
* Author: Simon Steinbeiß, Reviewers: Achilleas Koutsou, Michael Vogt
* lint: replace `isort` with `ruff` and provide `lint-quick` (HMS-3697) (#1634)
* Author: Simon de Vlieger, Reviewers: Achilleas Koutsou, Michael Vogt
* many: jsonseq based progress reporting for osbuild (#1545)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
* osbuild: ensure a usable /var/tmp is available inside the buildroot (#1649)
* Author: Michael Vogt, Reviewers: Colin Walters, Ondřej Budai
* osbuild: reuse loop_for_fd() in LoopServer (#1642)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Ondřej Budai
* sources/curl: add org.osbuild.mtls secrets support (#1644)
* Author: Sanne Raymaekers, Reviewers: Brian C. Lane, Simon de Vlieger
* stage/systemd-unit-create: parametrize file location (#1620)
* Author: Sayan Paul, Reviewers: Achilleas Koutsou, Michael Vogt, Simon de Vlieger
* stages,util: tweaks for the platform/bls handling (#1612)
* Author: Michael Vogt, Reviewers: Ondřej Budai, Simon de Vlieger
* stages/kickstart: add `noswap` to `autopart` (#1654)
* Author: Simon de Vlieger, Reviewers: Florian Schüller, Michael Vogt
* stages/org.osbuild.gzip: add compression level option (#1616)
* Author: Luke Yang, Reviewers: Michael Vogt, Simon de Vlieger
* stages/org.osbuild.users: add expire date (#1648)
* Author: andremarianiello, Reviewers: Michael Vogt, Simon de Vlieger
* test: add unit-{type,path} test coverage (#1650)
* Author: Michael Vogt, Reviewers: Brian C. Lane, Simon de Vlieger
* test: fix test_assembler to support parallel runs and run in parallel (HMS-3697) (#1641)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon Steinbeiß, Simon de Vlieger
* test: use OSBUILD_TEST_STORE in test_assemblers.py and run in parallel (HMS-3697) (#1630)
* Author: Michael Vogt, Reviewers: Simon Steinbeiß, Simon de Vlieger
* test: use `del os.environ[]` instead of `os.unsetenv` (thanks Simon) (#1653)
* Author: Michael Vogt, Reviewers: Ondřej Budai, Simon de Vlieger
* tests/manifest: Don't retain image-info artifacts (HMS-3697) (#1640)
* Author: Simon Steinbeiß, Reviewers: Simon de Vlieger, Thomas Lavocat
* tests: Cancel in-progress tests on PR updates (HMS-3697) (#1636)
* Author: Simon Steinbeiß, Reviewers: Michael Vogt, Ondřej Budai
* tests: Report GitLab job failures globally (HMS-3697) (#1632)
* Author: Achilleas Koutsou, Reviewers: Jakub Rusz, Simon Steinbeiß, Simon de Vlieger
* tests: improve the gitlab tests (HMS-3697) (#1629)
* Author: Ondřej Budai, Reviewers: Achilleas Koutsou, Simon Steinbeiß
* tests: revert "workflow: run assembler tests in parallel" /o\ (#1637)
* Author: Michael Vogt, Reviewers: Ondřej Budai, Simon de Vlieger
* utils/mnt: fix mount permissions (#1643)
* Author: Gianluca Zuccarelli, Reviewers: Michael Vogt, Simon de Vlieger, Tomáš Hozza
* workflow, osbuild-mpp: run with cache (HMS-3697) (#1623)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Simon de Vlieger
* workflow: drop python3.11 from matrix (HMS-3697) (#1625)
* Author: Michael Vogt, Reviewers: Ondřej Budai, Simon de Vlieger
* workflow: run all unit tests in parallel (#1655)
* Author: Michael Vogt, Reviewers: Ondřej Budai, Simon de Vlieger
Somewhere on the Internet, 2024-03-13
* Wed Feb 28 2024 Packit <hello@packit.dev> - 111-1
Changes with 111
----------------
* many: tweak `containers-storage` implementation (#1609)
* Author: Michael Vogt, Reviewers: Gianluca Zuccarelli, Ondřej Budai
* stages/org.osbuild.tar: add sparse option (#1614)
* Author: Luke Yang, Reviewers: Brian C. Lane, Michael Vogt
Somewhere on the Internet, 2024-02-28
* Mon Feb 26 2024 Packit <hello@packit.dev> - 110-1
Changes with 110
----------------
* Add coreos.platforms stage (#1589)
* Author: Renata Ravanelli, Reviewers: Nobody
* Sources/containers-storage: make the code Python 3.6 compliant (#1610)
* Author: Tomáš Hozza, Reviewers: Gianluca Zuccarelli, Simon de Vlieger
Somewhere on the Internet, 2024-02-26
* Thu Feb 22 2024 Packit <hello@packit.dev> - 109-1
Changes with 109
----------------
* Extend `grub2`/`grub2.legacy` stage default config options (#1601)
* Author: Tomáš Hozza, Reviewers: Michael Vogt, Ondřej Budai
* Fix developer guide link in README.md (#1602)
* Author: Adam Williamson, Reviewers: Brian C. Lane, Michael Vogt
* Stages/grub2.legacy: make config options a subset of grub2 stage (#1606)
* Author: Tomáš Hozza, Reviewers: Gianluca Zuccarelli, Michael Vogt
* Systemd unit creation stage (#1578)
* Author: Sayan Paul, Reviewers: Achilleas Koutsou, Sanne Raymaekers
* osbuild-depsolve-dnf5: Fix url substitutions (#1597)
* Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger
* osbuild-depsolve-dnf5: module_hotfixes wasn't really set (#1598)
* Author: Brian C. Lane, Reviewers: Michael Vogt, Simon de Vlieger
* sources,util: add containers-storage source (#1550)
* Author: Gianluca Zuccarelli, Reviewers: Nobody
* stages(dracut): add small unittest for initoverlayfs (#1607)
* Author: Michael Vogt, Reviewers: Ondřej Budai, Simon de Vlieger
* stages(org.osbuild.systemd.unit.create): add small unit test (#1596)
* Author: Michael Vogt, Reviewers: Ondřej Budai, Simon de Vlieger
* stages/bootc.install-to-fs: fix root mount handling (#1593)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Ondřej Budai
* stages/dracut: Add functionality to build initoverlayfs with dracut (#1586)
* Author: Eric Curtin, Reviewers: Michael Vogt, Ondřej Budai
* stages/oscap.remediation: Mount host's /proc and /dev earlier (#1590)
* Author: Evgeny Kolesnikov, Reviewers: Gianluca Zuccarelli, Michael Vogt
* stages/ostree-container-deploy: make sure `/var/tmp` exists (#1605)
* Author: Gianluca Zuccarelli, Reviewers: Ondřej Budai, Tomáš Hozza
* tox,tools: add tools back to lintables (#1600)
* Author: Michael Vogt, Reviewers: Brian C. Lane, Ondřej Budai
Somewhere on the Internet, 2024-02-22
* Wed Feb 14 2024 Packit <hello@packit.dev> - 108-1
Changes with 108
----------------
* README: Add OSBuild's principles (#1568)
* Author: Simon Steinbeiß, Reviewers: Nobody
* Revert "osbuild-depsolve-dnf: port weak dependencies" (#1584)
* Author: Brian C. Lane, Reviewers: Achilleas Koutsou, Simon de Vlieger
* mount/ostree.deployment: Fix ostree deployment call (#1581)
* Author: Dusty Mabe, Reviewers: Colin Walters, Ondřej Budai
* osbuild-depsolve-dnf5: Add module_hotfixes support (#1582)
* Author: Brian C. Lane, Reviewers: Achilleas Koutsou, Ondřej Budai
* stages,testutil: add test/tweak for podman mount errror handling (#1579)
* Author: Michael Vogt, Reviewers: Achilleas Koutsou, Ondřej Budai, Simon de Vlieger
* stages: add new `org.osbuild.bootc.install-to-filesystem` (#1547)
* Author: Michael Vogt, Reviewers: Nobody
Somewhere on the Internet, 2024-02-14
* Wed Jan 31 2024 Packit <hello@packit.dev> - 106-1
Changes with 106
----------------

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-106.tar.gz) = d814e1e5431dd7309aecfa50c00a92663162c8d7476eb24416e84b44f9bdd11db9c3e92abe466d6039a225ae756b02f1ec62d30fbb52f571258bdf90a83532bd
SHA512 (osbuild-147.tar.gz) = 0a40939ebc088137512e48a6c32937513a602e6c8444d763e0f1b1e000c50256a3b526d05e781b3a930f0e24336a9489fe4f6767c7406a2494fec05a56f81710

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/"