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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
---
# https://packit.dev/docs/configuration/
# Test locally running: packit build locally
# spell-checker:ignore packit specfile copr epel
specfile_path: dist/python3-ansible-compat.spec
actions:
create-archive:
- sh -c "rm dist/*.tar.gz || true"
- python3 -m build --sdist --outdir dist
- sh -c "ls dist/ansible_compat-*.tar.gz"
get-current-version:
- ./tools/get-version.sh
post-upstream-clone:
- ./tools/update-spec.sh
srpm_build_deps:
- python3-build
- python3-setuptools_scm
- python3-pytest
- python3-pytest-mock
jobs:
- job: copr_build
trigger: pull_request
branch: main
require:
label:
present:
- bug
- dependencies
- enhancement
- major
- minor
absent:
- skip-changelog
targets:
- fedora-rawhide-x86_64
- fedora-rawhide-aarch64
- fedora-latest-x86_64
- fedora-latest-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
branch: main
require:
label:
present:
- bug
- dependencies
- enhancement
- major
- minor
absent:
- skip-changelog
targets:
- fedora-latest
- fedora-rawhide
# - job: propose_downstream
# trigger: release
# metadata:
# dist-git-branch: master
notifications:
pull_request:
successful_build: false
|