Skip to content

Commit 07290b5

Browse files
committed
Create a setup with two different tests
1 parent f2c98da commit 07290b5

File tree

1 file changed

+20
-23
lines changed

1 file changed

+20
-23
lines changed

.packit.yaml

+20-23
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,38 @@
11
---
2-
packit_instances: ["prod", "stg"]
2+
packit_instances: ["stg"]
33
specfile_path: hello.spec
44
files_to_sync:
55
- .packit.yaml
66
- hello.spec
77
upstream_package_name: hello
88
downstream_package_name: hello
9-
# actions:
10-
# post-upstream-clone: "python3 setup.py sdist --dist-dir ."
11-
# current_version_command: ["python3", "setup.py", "--version"]
12-
# create_tarball_command: ["python3", "setup.py", "sdist", "--dist-dir", "."]
9+
1310
jobs:
1411
- job: copr_build
1512
trigger: pull_request
1613
targets:
17-
- fedora-stable-x86_64
1814
- fedora-rawhide-x86_64
1915

20-
- job: copr_build
21-
trigger: release
22-
targets:
23-
- fedora-stable
24-
25-
- job: copr_build
26-
trigger: commit
27-
branch: main
16+
- job: tests
17+
manual_trigger: true
18+
labels:
19+
- inspect
20+
identifier: inspect
21+
trigger: pull_request
22+
fmf_url: https://github.com/packit/tmt-plans
23+
fmf_ref: main
24+
tmt_plan: "/plans/rpminspect"
2825
targets:
29-
- fedora-stable
26+
- fedora-rawhide-x86_64
3027

3128
- job: tests
29+
manual_trigger: true
30+
labels:
31+
- lint
32+
identifier: lint
3233
trigger: pull_request
34+
fmf_url: https://github.com/packit/tmt-plans
35+
fmf_ref: main
36+
tmt_plan: "/plans/rpmlint"
3337
targets:
34-
- fedora-stable-x86_64
35-
- fedora-rawhide-x86_64
36-
37-
- job: propose_downstream
38-
trigger: release
39-
packit_instances: ["stg"]
40-
dist_git_branches:
41-
- fedora-all
38+
- fedora-rawhide-x86_64

0 commit comments

Comments
 (0)