Add Packit integration
authorJonathan Lebon <jonathan@jlebon.com>
Sat, 3 Oct 2020 15:23:49 +0000 (11:23 -0400)
committerJonathan Lebon <jonathan@jlebon.com>
Tue, 6 Oct 2020 18:20:57 +0000 (14:20 -0400)
This is a basic `.packit.yaml` integration file which will allow us have
continuous builds of OSTree in cosa and upstream CI. If things go well,
we'll likely deploy this in other build tools like rpm-ostree.

Prompted by wanting to get #2155 out to unblock
https://github.com/coreos/rpm-ostree/pull/2170.

.packit.yaml [new file with mode: 0644]

diff --git a/.packit.yaml b/.packit.yaml
new file mode 100644 (file)
index 0000000..0aec81e
--- /dev/null
@@ -0,0 +1,11 @@
+# build into f32-coreos-continuous on every commit to master
+jobs:
+    - job: production_build
+      trigger: commit
+      metadata:
+          branch: master
+          targets: f32-coreos-continuous
+specfile_path: ostree.spec
+actions:
+    # https://packit.dev/faq/#how-can-i-download-rpm-spec-file-if-it-is-not-part-of-upstream-repository
+    post-upstream-clone: "wget https://src.fedoraproject.org/rpms/ostree/raw/master/f/ostree.spec"