Skip to content

Commit f2c98da

Browse files
author
Hunor Csomortáni
committed
Modernize .packit.yaml
Drop the deprecated config keys. Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
1 parent fc6f281 commit f2c98da

1 file changed

Lines changed: 15 additions & 19 deletions

File tree

.packit.yaml

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
packit_instances: ["prod", "stg"]
33
specfile_path: hello.spec
4-
synced_files:
4+
files_to_sync:
5+
- .packit.yaml
56
- hello.spec
67
upstream_package_name: hello
78
downstream_package_name: hello
@@ -12,34 +13,29 @@ downstream_package_name: hello
1213
jobs:
1314
- job: copr_build
1415
trigger: pull_request
15-
metadata:
16-
targets:
17-
- fedora-stable-x86_64
18-
- fedora-rawhide-x86_64
16+
targets:
17+
- fedora-stable-x86_64
18+
- fedora-rawhide-x86_64
1919

2020
- job: copr_build
2121
trigger: release
22-
metadata:
23-
targets:
24-
- fedora-stable
22+
targets:
23+
- fedora-stable
2524

2625
- job: copr_build
2726
trigger: commit
28-
metadata:
29-
branch: main
30-
targets:
31-
- fedora-stable
27+
branch: main
28+
targets:
29+
- fedora-stable
3230

3331
- job: tests
3432
trigger: pull_request
35-
metadata:
36-
targets:
37-
- fedora-stable-x86_64
38-
- fedora-rawhide-x86_64
33+
targets:
34+
- fedora-stable-x86_64
35+
- fedora-rawhide-x86_64
3936

4037
- job: propose_downstream
4138
trigger: release
4239
packit_instances: ["stg"]
43-
metadata:
44-
dist_git_branches:
45-
- fedora-all
40+
dist_git_branches:
41+
- fedora-all

0 commit comments

Comments
 (0)