Skip to content

Commit

Permalink
Release 1.32.2
Browse files Browse the repository at this point in the history
Fix /tests/run/permission as rpm no longer owns /var/tmp/tmt directory
  • Loading branch information
lukaszachy committed Apr 22, 2024
1 parent 6f82839 commit 0b0398a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ Marcin Sobczyk, Jiří Jabůrek, Huijing Hei, Tibor Dudlák, Jan
Macků, Filip Vágner, Martin Hoyer, Iveta Česalová, Yi Zhang,
Zhaojuan Guo, Natália Bubáková, Michal Josef Špaček, Jiří Popelka,
Matej Focko, Yulia Kopkova, Tomáš Bajer, Carlos Rodriguez-Fernandez,
James Molet, Christian Le, Lili Nie and Martin Čermák.
James Molet, Cristian Le, Lili Nie and Martin Čermák.


Copyright
Expand Down
8 changes: 8 additions & 0 deletions docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
Releases
======================

tmt-1.32.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Set priorities for package manager discovery. They are now probed
in order: ``rpm-ostree``, ``dnf5``, ``dnf``, ``yum``, ``apk``, ``apt``.
This order picks the right package manager in the case when the
guest is ``ostree-booted`` but has the dnf installed.

tmt-1.32
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
5 changes: 0 additions & 5 deletions tests/run/permissions/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ EOF
rlLog "WORKDIR_ROOT=$WORKDIR_ROOT"
rlPhaseEnd

rlPhaseStartTest "Correct rpm ownership and permissions"
rlAssertEquals "Owned by tmt" "$(rpm -qf $WORKDIR_ROOT --qf '%{name}')" "tmt"
rlAssertEquals "Correct permission" "$(stat --format '%a' $WORKDIR_ROOT)" "1777"
rlPhaseEnd

rlPhaseStartTest "Recreated correctly"
rlFileBackup --clean "$WORKDIR_ROOT"
rlRun "rm -rf $WORKDIR_ROOT"
Expand Down
13 changes: 12 additions & 1 deletion tmt.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: tmt
Version: 1.32.1
Version: 1.32.2
Release: %autorelease
Summary: Test Management Tool

Expand Down Expand Up @@ -144,6 +144,17 @@ install -pm 644 %{name}/steps/provision/mrack/mrack* %{buildroot}/etc/%{name}/
%files -n tmt+all -f %{_pyproject_ghost_distinfo}

%changelog
* Fri Apr 19 2024 Lukáš Zachar <[email protected]> - 1.32.2
- Remove /var/tmp workdir from rpm packaging
- Refactor package manager discovery to allow priorities
- Add unit test for package manager installing a file system path
- Update pre-commit checks and add a couple of new ones
- Removing c9s workaround for pytest-container
- Clarify the `--last` symlink creation race a bit
- Remove the `.travis.yml` config file
- Correctly show the `--provision-timeout` default
- Refresh Beaker API client in mrack to use up-to-date Kerberos ticket

* Thu Mar 28 2024 Martin Hoyer <[email protected]> - 1.32.1
- rpm .spec file version bump
- Update pytest on c9s when using site-packages
Expand Down

0 comments on commit 0b0398a

Please sign in to comment.