Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 28b3f3e400 |
-24
@@ -17,27 +17,3 @@
|
||||
/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
|
||||
|
||||
-141
@@ -1,141 +0,0 @@
|
||||
specfile_path: tmt.spec
|
||||
files_to_sync:
|
||||
- tmt.spec
|
||||
- .packit.yaml
|
||||
sync_changelog: true
|
||||
|
||||
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
|
||||
|
||||
jobs:
|
||||
|
||||
# Build pull requests
|
||||
- job: copr_build
|
||||
trigger: pull_request
|
||||
targets:
|
||||
- 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 pull requests
|
||||
- job: tests
|
||||
trigger: pull_request
|
||||
targets:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
|
||||
# Test internal plugins
|
||||
- job: tests
|
||||
trigger: pull_request
|
||||
identifier: "internal-plugins"
|
||||
targets:
|
||||
- fedora-latest-stable
|
||||
use_internal_tf: True
|
||||
fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/tmt.git"
|
||||
# Tag cloud resources for tmt
|
||||
tf_extra_params:
|
||||
environments:
|
||||
- settings:
|
||||
provisioning:
|
||||
tags:
|
||||
BusinessUnit: tmt
|
||||
|
||||
# Test internal wow
|
||||
- job: tests
|
||||
trigger: pull_request
|
||||
identifier: "internal-wow"
|
||||
targets:
|
||||
- fedora-latest-stable
|
||||
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
|
||||
|
||||
# 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:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
actions:
|
||||
post-upstream-clone: []
|
||||
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
allowed_pr_authors: ["packit", "psss", "lzachar"]
|
||||
allowed_committers: ["packit", "psss", "lzachar"]
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
- epel-9
|
||||
|
||||
- job: bodhi_update
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-branched
|
||||
- epel-9
|
||||
@@ -1,3 +0,0 @@
|
||||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.85.0.
|
||||
-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}
|
||||
@@ -0,0 +1,5 @@
|
||||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
+2
-14
@@ -1,21 +1,9 @@
|
||||
summary:
|
||||
Upstream tests working under virtual machine
|
||||
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://github.com/teemtee/tmt
|
||||
url: https://github.com/psss/tmt
|
||||
ref: fedora
|
||||
filter: "tag:virtual & tier:0,1"
|
||||
|
||||
prepare+:
|
||||
- how: install
|
||||
package:
|
||||
- jq
|
||||
- python3-pip
|
||||
- how: shell
|
||||
script:
|
||||
- pip3 install --user yq || pip3 install yq
|
||||
- yq --help
|
||||
|
||||
filter: tag:virtual
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
@@ -1 +1 @@
|
||||
SHA512 (tmt-1.29.0.tar.gz) = 59c64a8c14614652d98113f205d583a715367fe2f20ca178e5eed62461e477888440bef13238ba6bd78ba2eb9ac11ff1b5380f3336f056069a5ad3291342495e
|
||||
SHA512 (tmt-1.6.0.tar.gz) = 9ef48b424c15d822500636434de1d712583bff60c53d01be6bfcbed4a865a7d4a0f5d4821673347c9e465227728378194ed1ec3ac2c0fd80d8090498a28e2c80
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
summary: Fetch source rpm
|
||||
test: ./test.sh
|
||||
framework: beakerlib
|
||||
require: tmt
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||
rlRun "pushd $tmp"
|
||||
rlRun "set -o pipefail"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlFetchSrcForInstalled "tmt"
|
||||
rlRun "ls -la"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "popd"
|
||||
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||
rlPhaseEnd
|
||||
rlJournalEnd
|
||||
Reference in New Issue
Block a user