mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +08:00
Merge pull request #19500 from martinpitt/tmt-revdeps-cockpit-podman
[CI:BUILD] Packit: run cockpit-podman tests in PRs
This commit is contained in:
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
16
.packit.yaml
16
.packit.yaml
@ -33,6 +33,22 @@ jobs:
|
|||||||
project: podman-next
|
project: podman-next
|
||||||
enable_net: true
|
enable_net: true
|
||||||
|
|
||||||
|
- job: tests
|
||||||
|
identifier: cockpit-revdeps
|
||||||
|
trigger: pull_request
|
||||||
|
targets:
|
||||||
|
- fedora-all
|
||||||
|
tf_extra_params:
|
||||||
|
environments:
|
||||||
|
- artifacts:
|
||||||
|
- type: repository-file
|
||||||
|
id: https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/repo/fedora-$releasever/group_cockpit-main-builds-fedora-$releasever.repo
|
||||||
|
- type: repository-file
|
||||||
|
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
|
||||||
|
tmt:
|
||||||
|
context:
|
||||||
|
revdeps: "yes"
|
||||||
|
|
||||||
- job: propose_downstream
|
- job: propose_downstream
|
||||||
trigger: release
|
trigger: release
|
||||||
update_release: false
|
update_release: false
|
||||||
|
32
plans/cockpit-podman.fmf
Normal file
32
plans/cockpit-podman.fmf
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# reverse dependency test for https://github.com/cockpit-project/cockpit-podman/
|
||||||
|
# if this fails in a non-obvious way, please contact the cockpit team in your PR for investigation:
|
||||||
|
# @martinpitt, @jelly, @marusak
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
adjust+:
|
||||||
|
when: revdeps == yes
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
url: https://github.com/cockpit-project/cockpit-podman
|
||||||
|
ref: "main"
|
||||||
|
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
|
||||||
|
# This has to duplicate cockpit-podman's plan structure; see https://github.com/teemtee/tmt/issues/1770
|
||||||
|
/podman-system:
|
||||||
|
summary: Run cockpit-podman system tests
|
||||||
|
discover+:
|
||||||
|
test: /test/browser/system
|
||||||
|
|
||||||
|
/podman-user:
|
||||||
|
summary: Run cockpit-podman user tests
|
||||||
|
discover+:
|
||||||
|
test: /test/browser/user
|
||||||
|
|
||||||
|
/podman-misc:
|
||||||
|
summary: Run other cockpit-podman tests
|
||||||
|
discover+:
|
||||||
|
test: /test/browser/other
|
Reference in New Issue
Block a user