8 Commits

Author SHA1 Message Date
Packit f54c9571a9 [packit] 1.29.0 upstream release
Upstream tag: 1.29.0
Upstream commit: 808858e8
2023-11-06 19:55:53 +00:00
Packit 91fd0213cc [packit] 1.28.2 upstream release
Upstream tag: 1.28.2
Upstream commit: 81f02df4
2023-10-11 15:05:35 +00:00
Petr Šplíchal 5d30b54717 Install yq which is needed by some newer tests 2023-09-08 10:14:24 +02:00
Packit 6b192ced30 [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-f37-update-propose_downstream
```
2023-09-07 09:32:24 +00:00
Packit 284a4ac795 [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-f37-update-propose_downstream
```
2023-09-01 18:41:42 +00:00
Packit 27f1431573 [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-f37-update-propose_downstream
```
2023-07-31 19:22:39 +00:00
Lukas Zachar f30063eb67 [packit] 1.25.0 upstream release
Upstream tag: 1.25.0
Upstream commit: 7b7ecc7b
2023-07-10 16:17:56 +02:00
Petr Šplíchal d5a13ba537 [packit] 1.24.1 upstream release
Upstream tag: 1.24.1
Upstream commit: 9206e034
2023-06-09 10:55:52 +02:00
10 changed files with 2013 additions and 2611 deletions
-41
View File
@@ -41,44 +41,3 @@
/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.49.0.tar.gz
/tmt-1.50.0.tar.gz
/tmt-1.51.0.tar.gz
/tmt-1.52.0.tar.gz
/tmt-1.53.0.tar.gz
/tmt-1.54.0.tar.gz
/tmt-1.55.0.tar.gz
/tmt-1.56.0.tar.gz
/tmt-1.57.0.tar.gz
/tmt-1.58.0.tar.gz
/tmt-1.59.0.tar.gz
/tmt-1.60.0.tar.gz
/tmt-1.61.0.tar.gz
/tmt-1.62.1.tar.gz
/tmt-1.63.0.tar.gz
/tmt-1.64.0.tar.gz
/tmt-1.65.0.tar.gz
/tmt-1.66.0.tar.gz
/tmt-1.67.0.tar.gz
+100 -208
View File
@@ -1,22 +1,8 @@
---
specfile_path: packaging/rpm/tmt.spec
specfile_path: tmt.spec
files_to_sync:
- src: packaging/rpm/
dest: ./
delete: true
filters:
- "protect .git*"
- "protect sources"
- "protect changelog"
- "protect README*"
# TODO: remove once https://github.com/fedora-ci/jenkins-pipeline-library/pull/100 is merged
- "protect ci.fmf"
- src: packaging/
dest: ./
filters:
- "- rpm"
- tmt.spec
- .packit.yaml
sync_changelog: true
upstream_package_name: tmt
downstream_package_name: tmt
@@ -28,222 +14,128 @@ srpm_build_deps:
- hatch
- python3-hatch-vcs
actions: &base-actions
create-archive:
- hatch build -t sdist
- 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
# 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:
# 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-10
# 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
# Core test requires
- &require-core-tests
require:
label:
absent:
- ci | skip
# Full test requires
- &require-full-tests
require:
label:
present:
- ci | full test
absent:
- status | discuss
- ci | skip
# Internal provisioning jobs
- &internal-provision
<<: *test-base
<<: *internal
<<: *require-full-tests
tf_extra_params:
environments:
- tmt:
context:
how: provision
<<: *tmt-cloud-resources
# Temporarily running these on F42 because tests started to break due to avc on F43
# TODO: Move revert this targets overwrite
targets:
- fedora-42
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
- job: copr_build
trigger: pull_request
# Test core
- <<: *test-base
<<: *require-core-tests
targets: *latest-targets
identifier: core
tmt_plan: '/plans/features/core'
# 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$'
- fedora-all
- epel-9
enable_net: False
actions:
create-archive:
- hatch run docs:man
- hatch build -t sdist
- bash -c "ls dist/tmt-*.tar.gz"
get-current-version:
# Use `dev888` instead of the last version digit to make
# builds older than the final release and newer than
# copr builds from main. Remove the remaining suffix
# generated by `hatch version` as well so that build
# with the latest timestamp always wins.
- bash -c "hatch version | sed -E 's/\\.[0-9]+\\.dev.*/.dev888/'"
# Test provision plugins
- <<: *internal-provision
identifier: provision-bootc
tmt_plan: /plans/provision/bootc
- <<: *internal-provision
identifier: provision-virtual
tmt_plan: /plans/provision/virtual
# 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'
# Run missing tests identified in Connect
- <<: *test-base
<<: *internal
<<: *require-full-tests
identifier: internal-fusa
fmf_url: "https://gitlab.cee.redhat.com/automotive/tests/all.git"
fmf_ref: "main"
tmt_plan: '/tmt/plans/fusa/tests'
# Test pull requests
- job: tests
trigger: pull_request
targets:
- fedora-all
- epel-9
# OS-agnostic sanity and coding-standard checks
- <<: *test-base
# Test internal plugins
- job: tests
trigger: pull_request
identifier: "internal-plugins"
targets:
- fedora-latest-stable
identifier: sanity
use_internal_tf: True
fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/tmt.git"
# Tag cloud resources for tmt
tf_extra_params:
test:
tmt:
name: /plans/sanity
skip_build: true
environments:
- settings:
provisioning:
tags:
BusinessUnit: tmt
# Downstream tests
- <<: *test-base
<<: *require-full-tests
# Test internal wow
- job: tests
trigger: pull_request
identifier: "internal-wow"
targets:
- fedora-latest-stable
identifier: downstream
fmf_path: packaging
use_internal_tf: True
fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/integration_scripts.git"
tmt_plan: "/tmt/integration/plan"
tf_extra_params:
environments:
- settings:
provisioning:
tags:
BusinessUnit: tmt
# Propose downstream pull requests
# Build commits to main
- job: copr_build
trigger: commit
branch: main
targets:
- fedora-all
- epel-9
enable_net: False
list_on_homepage: True
preserve_project: True
owner: "@teemtee"
project: tmt
release_suffix: "{PACKIT_PROJECT_BRANCH}"
actions:
create-archive:
- hatch run docs:man
- hatch build -t sdist
- bash -c "ls dist/tmt-*.tar.gz"
get-current-version:
# Get rid of the the final version digit to make copr
# builds older than the final release
- bash -c "hatch version | sed -E 's/\\.[0-9]+\\.dev/.dev/'"
# Release to copr
- job: copr_build
trigger: release
targets:
- fedora-all
- epel-9
enable_net: False
list_on_homepage: True
preserve_project: True
owner: "@teemtee"
project: tmt
actions:
create-archive:
- hatch run docs:man
- hatch build -t sdist
- bash -c "ls dist/tmt-*.tar.gz"
get-current-version:
- hatch version
# Fedora releases
- job: propose_downstream
trigger: release
dist_git_branches:
rawhide:
fast_forward_merge_into:
- fedora-branched
- epel-10
- epel-9
- fedora-all
- epel-9
actions:
post-upstream-clone: []
# Create koji builds
- job: koji_build
trigger: commit
allowed_pr_authors: ["packit", "all_committers"]
dist_git_branches: *all-targets
allowed_pr_authors: ["packit", "psss", "lzachar"]
allowed_committers: ["packit", "psss", "lzachar"]
dist_git_branches:
- fedora-all
- epel-9
# Create bodhi updates
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-branched
- epel-9
- epel-10
+2 -1
View File
@@ -1,5 +1,6 @@
# tmt
Test Management Tool
Test Metadata Tool
* https://github.com/psss/tmt/
* https://tmt.readthedocs.io/
+1 -1
View File
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.14.0.post1.dev10+g291d7454f.
The file was generated using packit 0.85.0.
-2263
View File
File diff suppressed because it is too large Load Diff
-3
View File
@@ -3,10 +3,7 @@ discover:
tests:
- name: /install/minimal
test: cd $(mktemp -d) && tmt init -t full && tmt
require:
- tmt
prepare:
# TODO: Remove when artifact installation is live
summary: Ensure that only 'tmt' is installed
name: minimal
order: 90
+11 -13
View File
@@ -1,23 +1,21 @@
summary: Run a basic set of upstream tests
summary:
Upstream tests working under virtual machine
discover:
how: fmf
# Using a hack for when running in upstream where it is able to
# discover tests from outside the current fmf tree.
# https://github.com/teemtee/tmt/issues/2568
path: .
filter: "tier:1"
url: https://github.com/teemtee/tmt
ref: fedora
filter: "tag:virtual & tier:0,1"
prepare:
prepare+:
- how: install
package:
- jq
- yq
- python3-pip
- how: shell
script:
- pip3 install --user yq || pip3 install yq
- yq --help
execute:
how: tmt
adjust+:
when: initiator == fedora-ci
discover+:
dist-git-source: true
-5
View File
@@ -1,5 +0,0 @@
---
addedfiles:
ignore:
# rpminspect forbids /var/tmp prefix by default
- /var/tmp/tmt
+1 -1
View File
@@ -1 +1 @@
SHA512 (tmt-1.67.0.tar.gz) = c5948359d00c0bb043dbfc84eb4f75fad2a96834ee0e55808c929cd20b3ae2a39f0a2f2bab70295b88dc978c25dd79cbe2c7706cd612f353dcae8ffb2565c77b
SHA512 (tmt-1.29.0.tar.gz) = 59c64a8c14614652d98113f205d583a715367fe2f20ca178e5eed62461e477888440bef13238ba6bd78ba2eb9ac11ff1b5380f3336f056069a5ad3291342495e
+1898 -75
View File
File diff suppressed because it is too large Load Diff