From 576262c513a1d6fda6585c7c06becf5eca46164d Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Tue, 7 Jan 2025 14:36:51 +0000 Subject: [PATCH] cockpit/packit: add packit config Add the initial packit config so we can push copr rpms for each pr. Co-authored-by: Gianluca Zuccarelli --- packit.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 packit.yaml diff --git a/packit.yaml b/packit.yaml new file mode 100644 index 00000000..1b790cb1 --- /dev/null +++ b/packit.yaml @@ -0,0 +1,23 @@ +upstream_project_url: https://github.com/osbuild/image-builder-frontend +specfile_path: cockpit/cockpit-image-builder.spec +upstream_package_name: cockpit-image-builder +downstream_package_name: cockpit-image-builder +# use the nicely formatted release description from our upstream release, instead of git shortlog +copy_upstream_release_description: true + +actions: + create-archive: + - npm ci + - make dist + +srpm_build_deps: + - make + - npm + +jobs: + - job: copr_build + trigger: pull_request + targets: &build_targets + - centos-stream-9 + - centos-stream-10 + - fedora-all