Skip to content

Commit 2c5c2d2

Browse files
committed
[CI:BUILD] Packit: run cockpit-podman tests in PRs
See https://cockpit-project.org/blog/tmt-cross-project-testing.html [NO NEW TESTS NEEDED] - quiesce bot, that whole commit *is* a new test Signed-off-by: Martin Pitt <[email protected]>
1 parent 32f7bb1 commit 2c5c2d2

File tree

3 files changed

+49
-0
lines changed

3 files changed

+49
-0
lines changed

.fmf/version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1

.packit.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,22 @@ jobs:
3333
project: podman-next
3434
enable_net: true
3535

36+
- job: tests
37+
identifier: cockpit-revdeps
38+
trigger: pull_request
39+
targets:
40+
- fedora-all
41+
tf_extra_params:
42+
environments:
43+
- artifacts:
44+
- type: repository-file
45+
id: https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/repo/fedora-$releasever/group_cockpit-main-builds-fedora-$releasever.repo
46+
- type: repository-file
47+
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
48+
tmt:
49+
context:
50+
revdeps: "yes"
51+
3652
- job: propose_downstream
3753
trigger: release
3854
update_release: false

plans/cockpit-podman.fmf

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# reverse dependency test for https://github.com/cockpit-project/cockpit-podman/
2+
# if this fails in a non-obvious way, please contact the cockpit team in your PR for investigation:
3+
# @martinpitt, @jelly, @marusak
4+
enabled: false
5+
6+
adjust+:
7+
when: revdeps == yes
8+
enabled: true
9+
10+
discover:
11+
how: fmf
12+
url: https://github.com/cockpit-project/cockpit-podman
13+
ref: "main"
14+
15+
execute:
16+
how: tmt
17+
18+
# This has to duplicate cockpit-podman's plan structure; see https://github.com/teemtee/tmt/issues/1770
19+
/podman-system:
20+
summary: Run cockpit-podman system tests
21+
discover+:
22+
test: /test/browser/system
23+
24+
/podman-user:
25+
summary: Run cockpit-podman user tests
26+
discover+:
27+
test: /test/browser/user
28+
29+
/podman-misc:
30+
summary: Run other cockpit-podman tests
31+
discover+:
32+
test: /test/browser/other

0 commit comments

Comments
 (0)