39 Commits

Author SHA1 Message Date
Packit 80fd6e76b4 Update to 1.48.0 upstream release
Upstream tag: 1.48.0
Upstream commit: c8f19402

Commit authored by Packit automation (https://packit.dev/)
2025-05-09 11:48:18 +00:00
Packit cb4719dcb2 Update to 1.47.0 upstream release
Upstream tag: 1.47.0
Upstream commit: 9814238e

Commit authored by Packit automation (https://packit.dev/)
2025-04-24 11:04:19 +00:00
Packit 27098840ef Update to 1.46.0 upstream release
Upstream tag: 1.46.0
Upstream commit: 821bb30d

Commit authored by Packit automation (https://packit.dev/)
2025-04-09 19:12:00 +00:00
Packit eacc504776 Update to 1.45.0 upstream release
Upstream tag: 1.45.0
Upstream commit: bcbee65f

Commit authored by Packit automation (https://packit.dev/)
2025-03-26 23:16:58 +00:00
Packit b4ea903288 Update to 1.44.0 upstream release
Upstream tag: 1.44.0
Upstream commit: 0157aea4

Commit authored by Packit automation (https://packit.dev/)
2025-03-12 16:21:36 +00:00
Packit 9fcf30f972 Update to 1.43.0 upstream release
Upstream tag: 1.43.0
Upstream commit: 198f4428

Commit authored by Packit automation (https://packit.dev/)
2025-02-25 19:47:09 +00:00
Packit c4a8ae1a37 Update to 1.42.1 upstream release
Upstream tag: 1.42.1
Upstream commit: a53a5b6d

Commit authored by Packit automation (https://packit.dev/)
2025-01-31 16:06:09 +00:00
Packit 59847a51cd Update to 1.41.1 upstream release
Upstream tag: 1.41.1
Upstream commit: a3a8b336

Commit authored by Packit automation (https://packit.dev/)
2025-01-27 09:02:12 +00:00
Packit 0aff19d8c3 Update to 1.41.0 upstream release
Upstream tag: 1.41.0
Upstream commit: 51976502

Commit authored by Packit automation (https://packit.dev/)
2025-01-14 12:47:23 +00:00
Packit c82cc3d15e Update to 1.40.0 upstream release
Upstream tag: 1.40.0
Upstream commit: b0121188

Commit authored by Packit automation (https://packit.dev/)
2024-12-12 22:53:00 +00:00
Packit d0b2c6e155 Update to 1.39.0 upstream release
Upstream tag: 1.39.0
Upstream commit: 71d5b3e3

Commit authored by Packit automation (https://packit.dev/)
2024-11-22 06:18:08 +00:00
Packit e8355dbba7 Update to 1.38.0 upstream release
Upstream tag: 1.38.0
Upstream commit: cc75eb6b

Commit authored by Packit automation (https://packit.dev/)
2024-10-25 16:27:22 +00:00
Packit afcb52befc Update to 1.37.0 upstream release
Upstream tag: 1.37.0
Upstream commit: 828e04e6

Commit authored by Packit automation (https://packit.dev/)
2024-10-02 11:15:40 +00:00
Packit 1bd28bcc5c Update to 1.36.1 upstream release
Upstream tag: 1.36.1
Upstream commit: fb586fcd

Commit authored by Packit automation (https://packit.dev/)
2024-09-13 13:57:05 +00:00
Packit 3de70c8c61 Update to 1.36.0 upstream release
Upstream tag: 1.36.0
Upstream commit: a8603c7d

Commit authored by Packit automation (https://packit.dev/)
2024-09-05 07:12:40 +00:00
Petr Šplíchal 9898fb0ded Backport upstream fix for excluded variables 2024-08-14 15:56:23 +02:00
Packit 06b738cff7 Update to 1.35.0 upstream release
Upstream tag: 1.35.0
Upstream commit: 718c2e3d

Commit authored by Packit automation (https://packit.dev/)
2024-08-09 10:17:27 +00:00
Packit 59f1e6dccc Update to 1.34.0 upstream release
Upstream tag: 1.34.0
Upstream commit: 6af3b395

Commit authored by Packit automation (https://packit.dev/)
2024-06-19 15:09:31 +00:00
Packit dfde0fc9e8 Update to 1.33.0 upstream release
Upstream tag: 1.33.0
Upstream commit: a47645ca

Commit authored by Packit automation (https://packit.dev/)
2024-05-09 09:34:24 +00:00
Packit cb08d97cbc Update to 1.32.2 upstream release
Upstream tag: 1.32.2
Upstream commit: 0b0398a2

Commit authored by Packit automation (https://packit.dev/)
2024-04-22 07:31:52 +00:00
Packit 4cc17a1e98 [packit] 1.32.1 upstream release
Upstream tag: 1.32.1
Upstream commit: c476703a
2024-04-01 18:25:41 +00:00
Petr Šplíchal 65c7e58f89 Run tier 1 tests only from the upstream tests set 2024-03-28 08:56:59 +01:00
Petr Šplíchal 7bc338bfe8 Drop the virtual tag from /plans/upstream
It should not be necessary as both `/tests/core/escaping` and
`/tests/core/spaces` which are filtered out by it should now work
just fine under a virtualized machine.
2024-03-04 21:42:41 +01:00
Michal Hlavinka 5baffd6f88 allow /var/tmp/tmt for rpminspect addedfiles check
fixes bodhi update ci checks
2024-02-13 08:28:35 +01:00
Packit 8a77af960c [packit] 1.31.0 upstream release
Upstream tag: 1.31.0
Upstream commit: fdb16ba3
2024-02-06 19:19:47 +00:00
Fedora Release Engineering df5d3c5ce0 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 06:26:01 +00:00
Packit 026c942cb8 [packit] 1.30.0 upstream release
Upstream tag: 1.30.0
Upstream commit: 1a46dbb0
2023-12-11 20:22:29 +00:00
Packit e488417c7c [packit] 1.29.0 upstream release
Upstream tag: 1.29.0
Upstream commit: 808858e8
2023-11-06 19:56:58 +00:00
Packit 147a09813e [packit] 1.28.2 upstream release
Upstream tag: 1.28.2
Upstream commit: 81f02df4
2023-10-11 15:06:14 +00:00
Petr Šplíchal 960429a4fb Install yq which is needed by some newer tests 2023-09-07 12:24:05 +02:00
Packit 358dfd6abb [packit] 1.27.0 upstream release
Upstream tag: 1.27.0
Upstream commit: 9c35269a

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/tmt.git refs/heads/*:refs/remotes/packit/*
git checkout packit/1.27.0-rawhide-update-propose_downstream
```
2023-09-07 09:33:16 +00:00
Packit b8f07e3a74 [packit] 1.26.1 upstream release
Upstream tag: 1.26.1
Upstream commit: 2cfb13eb

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/tmt.git refs/heads/*:refs/remotes/packit/*
git checkout packit/1.26.1-rawhide-update-propose_downstream
```
2023-09-01 18:40:58 +00:00
Packit 267fe0fbc9 [packit] 1.26.0 upstream release
Upstream tag: 1.26.0
Upstream commit: fa1b3519

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/tmt.git refs/heads/*:refs/remotes/packit/*
git checkout packit/1.26.0-rawhide-update-propose_downstream
```
2023-07-31 19:22:17 +00:00
Fedora Release Engineering d5dae2eab0 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 16:29:26 +00:00
Lukas Zachar b60b1474b8 Remove BuildRequire on python3-mrack-beaker temporarily
Isn't really required during the build and currently cannot be
installed. Details in
https://bugzilla.redhat.com/show_bug.cgi?id=2219944 and
https://bugzilla.redhat.com/show_bug.cgi?id=2220610
2023-07-10 16:46:15 +02:00
Lukas Zachar fe802a9642 [packit] 1.25.0 upstream release
Upstream tag: 1.25.0
Upstream commit: 7b7ecc7b
2023-07-10 16:18:17 +02:00
Lukas Zachar a57fedc071 Backported dnf5 related changes 2023-06-22 15:50:13 +02:00
Petr Šplíchal 2a37959c53 Use the correct tmt name, link to main docs only 2023-06-09 12:00:07 +02:00
Petr Šplíchal a9dc05644b [packit] 1.24.1 upstream release
Upstream tag: 1.24.1
Upstream commit: 9206e034
2023-06-09 10:55:28 +02:00
10 changed files with 1099 additions and 227 deletions
+29
View File
@@ -34,3 +34,32 @@
/tmt-1.21.0.tar.gz
/tmt-1.22.0.tar.gz
/tmt-1.23.0.tar.gz
/tmt-1.24.1.tar.gz
/tmt-1.25.0.tar.gz
/tmt-1.26.0.tar.gz
/tmt-1.26.1.tar.gz
/tmt-1.27.0.tar.gz
/tmt-1.28.2.tar.gz
/tmt-1.29.0.tar.gz
/tmt-1.30.0.tar.gz
/tmt-1.31.0.tar.gz
/tmt-1.32.1.tar.gz
/tmt-1.32.2.tar.gz
/tmt-1.33.0.tar.gz
/tmt-1.34.0.tar.gz
/tmt-1.35.0.tar.gz
/tmt-1.36.0.tar.gz
/tmt-1.36.1.tar.gz
/tmt-1.37.0.tar.gz
/tmt-1.38.0.tar.gz
/tmt-1.39.0.tar.gz
/tmt-1.40.0.tar.gz
/tmt-1.41.0.tar.gz
/tmt-1.41.1.tar.gz
/tmt-1.42.1.tar.gz
/tmt-1.43.0.tar.gz
/tmt-1.44.0.tar.gz
/tmt-1.45.0.tar.gz
/tmt-1.46.0.tar.gz
/tmt-1.47.0.tar.gz
/tmt-1.48.0.tar.gz
+171
View File
@@ -0,0 +1,171 @@
specfile_path: tmt.spec
files_to_sync:
- tmt.spec
- .packit.yaml
upstream_package_name: tmt
downstream_package_name: tmt
upstream_project_url: https://github.com/teemtee/tmt
issue_repository: https://github.com/teemtee/tmt
srpm_build_deps:
- hatch
- python3-hatch-vcs
actions: &base-actions
create-archive:
- hatch run docs:man
- hatch build -t sdist
- bash -c "ls dist/tmt-*.tar.gz"
get-current-version:
- hatch version
targets: &all-targets
- fedora-all
- epel-9
# Uncomment below line if OpenScanHub scans are failing
# osh_diff_scan_after_copr_build: false
# Common definitions
_:
# Copr jobs under the packit project
- &copr-under-packit
job: copr_build
additional_repos:
- copr://@teemtee/stable
# Copr jobs under the teemtee project
- &copr-under-teemtee
<<: *copr-under-packit
list_on_homepage: True
preserve_project: True
owner: "@teemtee"
# Test jobs base setup
- &test-base
job: tests
trigger: pull_request
tf_extra_params:
environments:
- &copr-teemtee-stable
artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/teemtee/stable/repo/fedora-rawhide/group_teemtee-stable-fedora-rawhide.repo
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/teemtee/stable/repo/epel-9/group_teemtee-stable-epel-9.repo
# Latest fedora & epel targets
- &latest-targets
- fedora-latest-stable
- epel-9
# Internal jobs
- &internal
use_internal_tf: True
targets:
- fedora-latest-stable
tf_extra_params:
environments:
- &tmt-cloud-resources
<<: *copr-teemtee-stable
settings:
provisioning:
tags:
BusinessUnit: tmt
# Full test requires
- &require-full-tests
require:
label:
present:
- ci | full test
absent:
- status | discuss
jobs:
# Build released bits to stable
- <<: *copr-under-teemtee
trigger: release
project: stable
# Build commits merged to main to latest
- <<: *copr-under-teemtee
trigger: commit
branch: main
project: latest
release_suffix: "{PACKIT_PROJECT_BRANCH}"
# Build pull requests
- <<: *copr-under-packit
trigger: pull_request
# Test core
- <<: *test-base
targets: *latest-targets
identifier: core
tmt_plan: '/plans/features/(core|basic)'
# Test full
- <<: *test-base
<<: *require-full-tests
identifier: full
# Do not run extended unit tests. That plan gets its own job
# because of podman vs systemd-resolved flakiness.
tmt_plan: '^(?!/plans/features/extended-unit-tests).*$'
# Extended unit tests
- <<: *test-base
<<: *require-full-tests
targets: [ fedora-latest-stable ]
identifier: extended-unit-tests
tmt_plan: '/plans/features/extended-unit-tests$'
# Test virtual & bootc provision plugins
- <<: *test-base
<<: *internal
<<: *require-full-tests
identifier: provision
tmt_plan: '/plans/provision/(bootc|virtual)'
tf_extra_params:
environments:
- tmt:
context:
how: provision
<<: *tmt-cloud-resources
# Test internal plugins
- <<: *test-base
<<: *internal
<<: *require-full-tests
identifier: internal-plugins
fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/tmt.git"
# Test internal wow
- <<: *test-base
<<: *internal
<<: *require-full-tests
identifier: internal-wow
fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/integration_scripts.git"
tmt_plan: '/tmt/integration/plan'
# Propose downstream pull requests
- job: propose_downstream
trigger: release
dist_git_branches: *all-targets
# Create koji builds
- job: koji_build
trigger: commit
allowed_pr_authors: ["packit", "all_committers"]
dist_git_branches: *all-targets
# Create bodhi updates
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-branched
- epel-9
+22
View File
@@ -0,0 +1,22 @@
From 2a29a77e110a49d8971b6374ef8c8a48be431157 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= <psplicha@redhat.com>
Date: Wed, 14 Aug 2024 15:19:26 +0200
Subject: [PATCH] Fix getting excluded variables from environment variable
---
tmt/steps/report/reportportal.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tmt/steps/report/reportportal.py b/tmt/steps/report/reportportal.py
index bdd3f0d790..7c6418050e 100644
--- a/tmt/steps/report/reportportal.py
+++ b/tmt/steps/report/reportportal.py
@@ -140,7 +140,7 @@ class ReportReportPortalData(tmt.steps.report.ReportStepData):
exclude_variables: str = field(
option="--exclude-variables",
metavar="PATTERN",
- default=_str_env_to_default('defect_type', "^TMT_.*"),
+ default=_str_env_to_default('exclude_variables', "^TMT_.*"),
help="""
Regular expression for excluding environment variables
from reporting to ReportPortal ('^TMT_.*' used by default).
+1 -2
View File
@@ -1,6 +1,5 @@
# tmt
Test Metadata Tool
Test Management Tool
* https://github.com/psss/tmt/
* https://tmt.readthedocs.io/
+3
View File
@@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.6.0.post1.dev2+gd5a7662a.
+66
View File
@@ -0,0 +1,66 @@
--- tmt-1.24.1/tmt/steps/prepare/install.py.old 2023-06-22 11:57:06.633409186 +0200
+++ tmt-1.24.1/tmt/steps/prepare/install.py 2023-06-22 11:57:45.239501579 +0200
@@ -273,6 +273,7 @@ class InstallDnf(InstallBase):
package_manager = "dnf"
copr_plugin = "dnf-plugins-core"
+ skip_missing_option = "--skip-broken"
def prepare_command(self) -> Tuple[Command, Command]:
""" Prepare installation command """
@@ -290,7 +291,7 @@ class InstallDnf(InstallBase):
command += Command(self.package_manager)
if self.skip_missing:
- command += Command('--skip-broken')
+ options += Command(self.skip_missing_option)
return (command, options)
@@ -356,6 +357,14 @@ class InstallDnf(InstallBase):
self.guest.execute(command)
+class InstallDnf5(InstallDnf):
+ """ Install packages using dnf5 """
+
+ package_manager = "dnf5"
+ copr_plugin = "dnf5-plugins"
+ skip_missing_option = "--skip-unavailable"
+
+
class InstallYum(InstallDnf):
""" Install packages using yum """
@@ -592,6 +601,9 @@ class PrepareInstall(tmt.steps.prepare.P
elif guest.facts.package_manager == GuestPackageManager.DNF:
installer = InstallDnf(logger=logger, parent=self, guest=guest)
+ elif guest.facts.package_manager == GuestPackageManager.DNF5:
+ installer = InstallDnf5(logger=logger, parent=self, guest=guest)
+
elif guest.facts.package_manager == GuestPackageManager.YUM:
installer = InstallYum(logger=logger, parent=self, guest=guest)
--- tmt-1.24.1/tmt/steps/provision/__init__.py.old 2023-06-22 11:56:50.556370700 +0200
+++ tmt-1.24.1/tmt/steps/provision/__init__.py 2023-06-22 11:58:00.472538032 +0200
@@ -64,6 +64,7 @@ class CheckRsyncOutcome(enum.Enum):
class GuestPackageManager(enum.Enum):
DNF = 'dnf'
+ DNF5 = 'dnf5'
YUM = 'yum'
RPM_OSTREE = 'rpm-ostree'
@@ -274,8 +275,9 @@ class GuestFacts(tmt.utils.SerializableC
guest,
[
(Command('stat', '/run/ostree-booted'), GuestPackageManager.RPM_OSTREE),
- (Command('rpm', '-q', 'dnf'), GuestPackageManager.DNF),
- (Command('rpm', '-q', 'yum'), GuestPackageManager.YUM),
+ (Command('dnf5', '--version'), GuestPackageManager.DNF5),
+ (Command('dnf', '--version'), GuestPackageManager.DNF),
+ (Command('yum', '--version'), GuestPackageManager.YUM),
# And, one day, we'd follow up on this with...
# (Command('dpkg', '-l', 'apt'), 'apt')
])
+14 -3
View File
@@ -1,9 +1,20 @@
summary:
Upstream tests working under virtual machine
summary: Run a basic set of upstream tests
discover:
how: fmf
url: https://github.com/teemtee/tmt
ref: fedora
filter: "tag:virtual & tier:0,1"
filter: "tier:1"
prepare+:
- how: install
package:
- jq
- python3-pip
- how: shell
script:
- pip3 install --user yq || pip3 install yq
- yq --help
execute:
how: tmt
+5
View File
@@ -0,0 +1,5 @@
---
addedfiles:
ignore:
# rpminspect forbids /var/tmp prefix by default
- /var/tmp/tmt
+1 -1
View File
@@ -1 +1 @@
SHA512 (tmt-1.23.0.tar.gz) = 1ecc3ddd8a1700f0dca7747a3b426ff30bb95cdc5b3aaecbb6eb17485f94b4e72bbca2a390a5a55729b5c1e82388a066f68f33a698742ab1bd5ef49ab35742d2
SHA512 (tmt-1.48.0.tar.gz) = af3ac73d2664a4d2f18904d0c384c99ee30594225eba80e0da2c6678fd770edd05bb07b2bc2bcb8abf9f86b4bda2bc751d54a44fdfe4b210cc2cd693fadd5af8
+787 -221
View File
File diff suppressed because it is too large Load Diff