Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fc56faa75b |
@@ -1 +0,0 @@
|
||||
1
|
||||
+1
-65
@@ -1,65 +1 @@
|
||||
/tmt-0.1.tar.gz
|
||||
/tmt-0.7.tar.gz
|
||||
/tmt-0.8.tar.gz
|
||||
/tmt-0.11.tar.gz
|
||||
/tmt-0.12.tar.gz
|
||||
/tmt-0.17.tar.gz
|
||||
/tmt-0.18.tar.gz
|
||||
/tmt-0.19.tar.gz
|
||||
/tmt-0.20.tar.gz
|
||||
/tmt-0.21.tar.gz
|
||||
/tmt-1.0.tar.gz
|
||||
/tmt-1.1.tar.gz
|
||||
/tmt-1.2.tar.gz
|
||||
/tmt-1.2.1.tar.gz
|
||||
/tmt-1.3.0.tar.gz
|
||||
/tmt-1.3.1.tar.gz
|
||||
/tmt-1.4.0.tar.gz
|
||||
/tmt-1.5.0.tar.gz
|
||||
/tmt-1.6.0.tar.gz
|
||||
/tmt-1.7.0.tar.gz
|
||||
/tmt-1.8.0.tar.gz
|
||||
/tmt-1.9.0.tar.gz
|
||||
/tmt-1.10.0.tar.gz
|
||||
/tmt-1.11.0.tar.gz
|
||||
/tmt-1.12.0.tar.gz
|
||||
/tmt-1.13.0.tar.gz
|
||||
/tmt-1.14.0.tar.gz
|
||||
/tmt-1.15.0.tar.gz
|
||||
/tmt-1.16.0.tar.gz
|
||||
/tmt-1.17.0.tar.gz
|
||||
/tmt-1.18.0.tar.gz
|
||||
/tmt-1.19.0.tar.gz
|
||||
/tmt-1.20.0.tar.gz
|
||||
/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
|
||||
/tmt-1.55.0.tar.gz
|
||||
|
||||
+26
-6
@@ -1,3 +1,5 @@
|
||||
---
|
||||
|
||||
specfile_path: tmt.spec
|
||||
files_to_sync:
|
||||
- tmt.spec
|
||||
@@ -17,13 +19,14 @@ actions: &base-actions
|
||||
create-archive:
|
||||
- hatch run docs:man
|
||||
- hatch build -t sdist
|
||||
- bash -c "ls dist/tmt-*.tar.gz"
|
||||
- bash -c "echo dist/tmt-$PACKIT_PROJECT_VERSION.tar.gz"
|
||||
get-current-version:
|
||||
- hatch version
|
||||
|
||||
targets: &all-targets
|
||||
- fedora-all
|
||||
- epel-9
|
||||
- epel-10
|
||||
|
||||
# Uncomment below line if OpenScanHub scans are failing
|
||||
# osh_diff_scan_after_copr_build: false
|
||||
@@ -40,8 +43,8 @@ _:
|
||||
# Copr jobs under the teemtee project
|
||||
- &copr-under-teemtee
|
||||
<<: *copr-under-packit
|
||||
list_on_homepage: True
|
||||
preserve_project: True
|
||||
list_on_homepage: true
|
||||
preserve_project: true
|
||||
owner: "@teemtee"
|
||||
|
||||
# Test jobs base setup
|
||||
@@ -52,19 +55,25 @@ _:
|
||||
environments:
|
||||
- &copr-teemtee-stable
|
||||
artifacts:
|
||||
# Testing Farm fails to install the repository when a multiline
|
||||
# string is used. The script looks broken, as if one piece of
|
||||
# the process incorrectly loads it, producing broken repo file
|
||||
# URL.
|
||||
- type: repository-file
|
||||
# yamllint disable-line rule:line-length
|
||||
id: https://copr.fedorainfracloud.org/coprs/g/teemtee/stable/repo/fedora-rawhide/group_teemtee-stable-fedora-rawhide.repo
|
||||
- type: repository-file
|
||||
# yamllint disable-line rule:line-length
|
||||
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
|
||||
- epel-10
|
||||
|
||||
# Internal jobs
|
||||
- &internal
|
||||
use_internal_tf: True
|
||||
use_internal_tf: true
|
||||
targets:
|
||||
- fedora-latest-stable
|
||||
tf_extra_params:
|
||||
@@ -76,6 +85,13 @@ _:
|
||||
tags:
|
||||
BusinessUnit: tmt
|
||||
|
||||
# Core test requires
|
||||
- &require-core-tests
|
||||
require:
|
||||
label:
|
||||
absent:
|
||||
- ci | skip
|
||||
|
||||
# Full test requires
|
||||
- &require-full-tests
|
||||
require:
|
||||
@@ -84,6 +100,7 @@ _:
|
||||
- ci | full test
|
||||
absent:
|
||||
- status | discuss
|
||||
- ci | skip
|
||||
|
||||
|
||||
jobs:
|
||||
@@ -105,6 +122,7 @@ jobs:
|
||||
|
||||
# Test core
|
||||
- <<: *test-base
|
||||
<<: *require-core-tests
|
||||
targets: *latest-targets
|
||||
identifier: core
|
||||
tmt_plan: '/plans/features/(core|basic)'
|
||||
@@ -120,7 +138,8 @@ jobs:
|
||||
# Extended unit tests
|
||||
- <<: *test-base
|
||||
<<: *require-full-tests
|
||||
targets: [ fedora-latest-stable ]
|
||||
targets:
|
||||
- fedora-latest-stable
|
||||
identifier: extended-unit-tests
|
||||
tmt_plan: '/plans/features/extended-unit-tests$'
|
||||
|
||||
@@ -169,3 +188,4 @@ jobs:
|
||||
dist_git_branches:
|
||||
- fedora-branched
|
||||
- epel-9
|
||||
- epel-10
|
||||
|
||||
-22
@@ -1,22 +0,0 @@
|
||||
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,5 +1,3 @@
|
||||
# tmt
|
||||
|
||||
Test Management Tool
|
||||
|
||||
* https://tmt.readthedocs.io/
|
||||
The tmt package
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 1.6.0.post1.dev2+gd5a7662a.
|
||||
The file was generated using packit 1.11.0.post1.dev3+g351a3979f.
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
--- 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')
|
||||
])
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts:
|
||||
- bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/minimal.functional}
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke.functional}
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/upstream.functional}
|
||||
@@ -1,12 +0,0 @@
|
||||
summary: Verify that the minimal package works
|
||||
discover:
|
||||
tests:
|
||||
- name: /install/minimal
|
||||
test: cd $(mktemp -d) && tmt init -t full && tmt
|
||||
prepare:
|
||||
summary: Ensure that only 'tmt' is installed
|
||||
name: minimal
|
||||
order: 90
|
||||
script: dnf remove -y 'tmt-*' --exclude tmt
|
||||
execute:
|
||||
how: tmt
|
||||
@@ -1,3 +0,0 @@
|
||||
summary: Minimal smoke test
|
||||
execute:
|
||||
script: tmt --help
|
||||
@@ -1,20 +0,0 @@
|
||||
summary: Run a basic set of upstream tests
|
||||
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://github.com/teemtee/tmt
|
||||
ref: fedora
|
||||
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
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
addedfiles:
|
||||
ignore:
|
||||
# rpminspect forbids /var/tmp prefix by default
|
||||
- /var/tmp/tmt
|
||||
@@ -1 +1 @@
|
||||
SHA512 (tmt-1.48.0.tar.gz) = af3ac73d2664a4d2f18904d0c384c99ee30594225eba80e0da2c6678fd770edd05bb07b2bc2bcb8abf9f86b4bda2bc751d54a44fdfe4b210cc2cd693fadd5af8
|
||||
SHA512 (tmt-1.55.0.tar.gz) = 410fffae1d2c6f1d2b0e013afd8f0a2166a43b0d7b119e4599d6db7e07fbdcabcbdb10d55478757352af28be3f56f1897572baf2c2263e47b75a6256254a22be
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
# The detach runner is intentionally not executable
|
||||
addFilter("python3-tmt.noarch: E: non-executable-script")
|
||||
|
||||
# Examples have .fmf used to mark metadata root
|
||||
addFilter("tmt.noarch: W: hidden-file-or-dir")
|
||||
Reference in New Issue
Block a user