Skip to content

Commit

Permalink
Modernize .packit.yaml
Browse files Browse the repository at this point in the history
Drop the deprecated config keys.

Signed-off-by: Hunor Csomortáni <[email protected]>
  • Loading branch information
Hunor Csomortáni committed Mar 3, 2023
1 parent fc6f281 commit f2c98da
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
packit_instances: ["prod", "stg"]
specfile_path: hello.spec
synced_files:
files_to_sync:
- .packit.yaml
- hello.spec
upstream_package_name: hello
downstream_package_name: hello
Expand All @@ -12,34 +13,29 @@ downstream_package_name: hello
jobs:
- job: copr_build
trigger: pull_request
metadata:
targets:
- fedora-stable-x86_64
- fedora-rawhide-x86_64
targets:
- fedora-stable-x86_64
- fedora-rawhide-x86_64

- job: copr_build
trigger: release
metadata:
targets:
- fedora-stable
targets:
- fedora-stable

- job: copr_build
trigger: commit
metadata:
branch: main
targets:
- fedora-stable
branch: main
targets:
- fedora-stable

- job: tests
trigger: pull_request
metadata:
targets:
- fedora-stable-x86_64
- fedora-rawhide-x86_64
targets:
- fedora-stable-x86_64
- fedora-rawhide-x86_64

- job: propose_downstream
trigger: release
packit_instances: ["stg"]
metadata:
dist_git_branches:
- fedora-all
dist_git_branches:
- fedora-all

1 comment on commit f2c98da

@lbarcziova
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/packit-stg build

Please sign in to comment.