| |
@@ -1,8 +1,11 @@
|
| |
---
|
| |
+ packit_instances: ["prod", "stg"]
|
| |
specfile_path: fedora/python-requre.spec
|
| |
# https://packit.dev/docs/configuration/#top-level-keys
|
| |
downstream_package_name: python-requre
|
| |
upstream_project_url: https://github.com/packit/requre
|
| |
+ issue_repository: https://github.com/packit/requre
|
| |
+
|
| |
# we are setting this so we can use packit from requre's dist-git
|
| |
# packit can't know what's the upstream name when running from distgit
|
| |
upstream_package_name: requre
|
| |
@@ -17,11 +20,17 @@
|
| |
- python3 setup.py sdist --dist-dir ./fedora/
|
| |
- bash -c "ls -1t ./fedora/*.tar.gz | head -n 1"
|
| |
get-current-version: python3 setup.py --version
|
| |
+
|
| |
+ srpm_build_deps:
|
| |
+ - python3-pip # "python3 setup.py --version" needs it
|
| |
+ - python3-setuptools_scm
|
| |
+
|
| |
jobs:
|
| |
- job: sync_from_downstream
|
| |
trigger: commit
|
| |
- job: propose_downstream
|
| |
trigger: release
|
| |
+ packit_instances: ["prod", "stg"]
|
| |
metadata:
|
| |
dist_git_branches: fedora-all
|
| |
- job: copr_build
|
| |
@@ -34,6 +43,7 @@
|
| |
trigger: commit
|
| |
metadata:
|
| |
branch: main
|
| |
+ project: packit-dev
|
| |
targets:
|
| |
- fedora-all
|
| |
- epel-8
|
| |
@@ -42,8 +52,26 @@
|
| |
- job: copr_build
|
| |
trigger: release
|
| |
metadata:
|
| |
+ project: packit-releases
|
| |
targets:
|
| |
- fedora-all
|
| |
- epel-8
|
| |
list_on_homepage: True
|
| |
preserve_project: True
|
| |
+
|
| |
+ # downstream automation:
|
| |
+ - job: koji_build
|
| |
+ trigger: commit
|
| |
+ packit_instances: ["stg"]
|
| |
+ metadata:
|
| |
+ dist_git_branches:
|
| |
+ - fedora-all
|
| |
+ - epel-8
|
| |
+ - job: bodhi_update
|
| |
+ trigger: commit
|
| |
+ packit_instances: ["stg"]
|
| |
+ metadata:
|
| |
+ dist_git_branches:
|
| |
+ - fedora-latest # branched version, rawhide updates are created automatically
|
| |
+ - fedora-stable
|
| |
+ - epel-8
|
| |
Upstream tag: 0.8.2
Upstream commit: 7fa87dde