aboutsummaryrefslogtreecommitdiff
path: root/.packit.yaml
diff options
context:
space:
mode:
authorLokesh Mandvekar <lsm5@fedoraproject.org>2022-08-26 11:15:37 -0400
committerLokesh Mandvekar <lsm5@fedoraproject.org>2022-08-26 11:15:37 -0400
commit167b026e7de9892046371fbfcd614b092097b55f (patch)
tree6f680636f00531d3436a455bdb305f8959ab3f1f /.packit.yaml
parentf98215c668746e9a7b9603448428cd1301a56eac (diff)
downloadpodman-167b026e7de9892046371fbfcd614b092097b55f.tar.gz
podman-167b026e7de9892046371fbfcd614b092097b55f.tar.bz2
podman-167b026e7de9892046371fbfcd614b092097b55f.zip
[CI:BUILD] Packit: Re-introduce packit with fix-spec-file action
Any new files installed by new PRs and those present in unreleased versions of Podman will need additional manipulation of the dist-git spec file in the files section to workaround the `installed but unpackaged files` issue. The fix-spec-file packit action is useful for this. The default fix-spec-file action often has trouble guessing the correct version from upstream code, so it would be beneficial to specify the correct upstream version as well. See: https://packit.dev/docs/actions/#fix-spec-file Rename cirrus task: `Test build RPM` to `Test build podman-next Copr RPM` for clarity. [NO NEW TESTS NEEDED] Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
Diffstat (limited to '.packit.yaml')
-rw-r--r--.packit.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.packit.yaml b/.packit.yaml
new file mode 100644
index 000000000..ab284b2d5
--- /dev/null
+++ b/.packit.yaml
@@ -0,0 +1,20 @@
+# See the documentation for more information:
+# https://packit.dev/docs/configuration/
+
+upstream_package_name: podman
+downstream_package_name: podman
+
+actions:
+ post-upstream-clone:
+ - "curl -O https://src.fedoraproject.org/rpms/podman/raw/main/f/podman.spec"
+ fix-spec-file:
+ - bash .packit.sh
+
+jobs:
+ - job: production_build
+ trigger: pull_request
+ targets: &production_dist_targets
+ - fedora-36
+ - fedora-37
+ - fedora-rawhide
+ scratch: true