forked from redhat-plumbers/dracut-rhel9
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.packit.yml
45 lines (41 loc) · 1.1 KB
/
.packit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
# This file is part of dracut.
# SPDX-License-Identifier: GPL-2.0-or-later
#
# vi:ts=2 sw=2 et:
#
# Docs: https://packit.dev/docs/
specfile_path: .packit_rpm/dracut.spec
synced_files:
- .packit.yaml
- src: .packit_rpm/dracut.spec
dest: dracut.spec
upstream_package_name: dracut
downstream_package_name: dracut
upstream_tag_template: "{version}"
actions:
post-upstream-clone:
# Use the CentOS Stream specfile
- "git clone https://gitlab.com/redhat/centos-stream/rpms/dracut .packit_rpm --depth=1"
# Drop the "sources" file so rebase-helper doesn't think we're a dist-git$
- "rm -fv .packit_rpm/sources"
# Available targets can be listed via `copr-cli list-chroots`
jobs:
# Build test
- job: copr_build
trigger: pull_request
metadata:
targets:
- epel-8-x86_64
- epel-8-aarch64
# FIXME: change to CentOS 9 once it's available
- fedora-34-x86_64
- fedora-34-aarch64
- fedora-34-s390x
# Run tests (via testing farm)
- job: tests
trigger: pull_request
metadata:
targets:
# FIXME: change to CentOS 9 once it's available
- fedora-34-x86_64