ostree/.packit.yaml
Colin Walters 7ba8dbf0cc Attempt to update packit flow to build in COPR
No idea if this will really work, but at least `packit srpm`
does work now.
2021-10-14 12:36:38 -04:00

25 lines
810 B
YAML

# build into f34-coreos-continuous on every commit to main
jobs:
- job: copr_build
trigger: commit
metadata:
branch: main
owner: "@CoreOS"
project: continuous
targets:
- centos-stream-8-aarch64
- centos-stream-8-x86_64
- fedora-all-aarch64
- fedora-all-s390x
- fedora-all
specfile_path: ostree.spec
actions:
create-archive:
- "./ci/make-git-snapshot.sh"
- "bash -c 'ls ostree-*.tar'"
# https://packit.dev/faq/#how-can-i-download-rpm-spec-file-if-it-is-not-part-of-upstream-repository
post-upstream-clone:
- "curl -LO https://src.fedoraproject.org/rpms/ostree/raw/rawhide/f/ostree.spec"
# we don't want any downstream patches
- "sed -ie 's/^Patch/# Patch/g' ostree.spec"