Skip to content

Commit 79a78a9

Browse files
committed
Create a setup with two different tests
1 parent f2c98da commit 79a78a9

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.packit.yaml

+23-23
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
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+
10+
test_command:
11+
default_identifier: inspect
12+
1313
jobs:
1414
- job: copr_build
1515
trigger: pull_request
1616
targets:
17-
- fedora-stable-x86_64
1817
- fedora-rawhide-x86_64
1918

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

3131
- job: tests
32+
manual_trigger: true
33+
labels:
34+
- lint
35+
identifier: lint
3236
trigger: pull_request
37+
fmf_url: https://github.com/packit/tmt-plans
38+
fmf_ref: main
39+
tmt_plan: "/plans/rpmlint"
3340
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
41+
- fedora-rawhide-x86_64

0 commit comments

Comments
 (0)