aboutsummaryrefslogtreecommitdiffstats
path: root/.packit.yaml
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2022-12-13 14:20:29 -0500
committerJake Hunsaker <jhunsake@redhat.com>2022-12-15 10:14:32 -0500
commit809e34d6a5f423bcca39bb56353284c974b991f9 (patch)
tree6d916ab12cf5447c09a061b8f680e9d014bc53c0 /.packit.yaml
parent428437969105d94f1afdbb2a4b1b09cf282a969b (diff)
downloadsos-809e34d6a5f423bcca39bb56353284c974b991f9.tar.gz
[packit] Update packit configuration for Copr srpm builds
Packit is moving srpm builds from sandbox to copr, which means we need to specify the build dependencies for packit to know how to create the build environment. As part of this change, re-organize the config file to be easier to read, and update some of the deprecated keys or nesting per docs. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to '.packit.yaml')
-rw-r--r--.packit.yaml31
1 files changed, 19 insertions, 12 deletions
diff --git a/.packit.yaml b/.packit.yaml
index 4c24fc97..07812955 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -1,18 +1,25 @@
+upstream_project_url: https://github.com/sosreport/sos
+specfile_path: sos.spec
downstream_package_name: sos
+upstream_package_name: sos
+
+files_to_sync:
+ - sos.spec
+ - .packit.yaml
+
+srpm_build_deps:
+ - python3-devel
+ - gettext
+
jobs:
-- job: copr_build
- metadata:
+ - job: copr_build
+ trigger: pull_request
targets:
- - fedora-development-x86_64
- - fedora-development-aarch64
- - fedora-development-ppc64le
- - fedora-development-s390x
- trigger: pull_request
-specfile_path: sos.spec
-synced_files:
-- sos.spec
-- .packit.yaml
-upstream_package_name: sos
+ - fedora-development-x86_64
+ - fedora-development-aarch64
+ - fedora-development-ppc64le
+ - fedora-development-s390x
+
notifications:
pull_request:
successful_build: true