2021-12-25 06:25:49 +00:00
|
|
|
# See the documentation for more information:
|
|
|
|
# https://packit.dev/docs/configuration/
|
|
|
|
upstream_project_url: https://github.com/martinpitt/python-dbusmock
|
2022-07-19 12:34:17 +00:00
|
|
|
# HACK: should work without, but propose_downstream fails; https://github.com/packit/packit-service/issues/1511
|
|
|
|
specfile_path: packaging/python-dbusmock.spec
|
2022-04-05 06:27:30 +00:00
|
|
|
issue_repository: https://github.com/martinpitt/python-dbusmock
|
2021-12-25 06:25:49 +00:00
|
|
|
copy_upstream_release_description: true
|
|
|
|
upstream_package_name: python-dbusmock
|
|
|
|
downstream_package_name: python-dbusmock
|
|
|
|
|
2022-07-19 12:34:17 +00:00
|
|
|
actions:
|
|
|
|
create-archive:
|
|
|
|
- ./setup.py sdist
|
|
|
|
# spec and tarball need to be in the same directory
|
|
|
|
- sh -c 'mv dist/*.tar.* packaging; ls packaging/python-dbusmock-*.tar.*'
|
|
|
|
|
|
|
|
srpm_build_deps:
|
|
|
|
- python3-setuptools
|
2022-10-12 05:11:14 +00:00
|
|
|
- python3-setuptools_scm
|
2021-12-25 06:25:49 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-04-20 17:25:52 +00:00
|
|
|
- job: copr_build
|
|
|
|
trigger: pull_request
|
|
|
|
targets:
|
|
|
|
- fedora-all
|
|
|
|
- centos-stream-8-x86_64
|
|
|
|
- centos-stream-9-x86_64
|
2023-12-23 21:14:42 +00:00
|
|
|
|
2022-07-16 20:07:27 +00:00
|
|
|
- job: tests
|
2021-12-25 06:25:49 +00:00
|
|
|
trigger: pull_request
|
2022-10-12 05:11:14 +00:00
|
|
|
targets:
|
|
|
|
- fedora-all
|
|
|
|
- centos-stream-8-x86_64
|
|
|
|
- centos-stream-9-x86_64
|
2021-12-25 06:25:49 +00:00
|
|
|
|
|
|
|
- job: propose_downstream
|
|
|
|
trigger: release
|
2022-10-12 05:11:14 +00:00
|
|
|
dist_git_branches:
|
|
|
|
- fedora-all
|
2022-03-22 14:27:14 +00:00
|
|
|
|
|
|
|
- job: koji_build
|
|
|
|
trigger: commit
|
2022-10-12 05:11:14 +00:00
|
|
|
dist_git_branches:
|
|
|
|
- fedora-all
|
2022-03-22 14:27:14 +00:00
|
|
|
|
|
|
|
- job: bodhi_update
|
|
|
|
trigger: commit
|
2022-10-12 05:11:14 +00:00
|
|
|
dist_git_branches:
|
|
|
|
# rawhide updates are created automatically
|
|
|
|
- fedora-branched
|