mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-25 01:34:34 +03:00
7ba8dbf0cc
No idea if this will really work, but at least `packit srpm` does work now.
25 lines
810 B
YAML
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"
|