-
Notifications
You must be signed in to change notification settings - Fork 664
/
.packit.yaml
44 lines (44 loc) · 1.28 KB
/
.packit.yaml
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
---
# spell-checker:ignore packit specfile copr epel
specfile_path: dist/ansible-lint.spec
actions:
create-archive:
# packit.dev service does have these module pre-installed:
- python3 -m build --sdist --outdir dist
- sh -c "ls dist/ansible-lint-*.tar.gz"
get-current-version:
- ./tools/get-version.sh
post-upstream-clone:
- "git submodule init"
- "git submodule update"
- ./tools/update-version.sh
srpm_build_deps:
- python3-build
- python3-setuptools_scm
jobs:
# - job: copr_build
# targets:
# - fedora-rawhide-aarch64 # one on PR should be enough
# trigger: pull_request
- job: copr_build
trigger: commit
branch: main
targets:
# See https://packit.dev/docs/configuration/#aliases
# API to get available targets: https://api.dev.testing-farm.io/v0.1/composes/public
- fedora-rawhide-x86_64
- fedora-rawhide-aarch64
- fedora-37-x86_64
- fedora-37-aarch64
# Missing python3-build see https://bugzilla.redhat.com/show_bug.cgi?id=2129071
# - centos-stream-9-aarch64
# - centos-stream-9-x86_64
# - job: tests
# trigger: pull_request
# metadata:
# targets:
# - fedora-all
# - job: propose_downstream
# trigger: release
# metadata:
# dist-git-branch: master