summaryrefslogtreecommitdiff
path: root/.packit.yaml
blob: 68a1c724ac0cb4c96614e6079d594b7ba829ca99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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"