Skip to content

Commit 504c613

Browse files
committed
Add packit configuration
Signed-off-by: mulhern <amulhern@redhat.com>
1 parent 61e18ac commit 504c613

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

.packit.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
3+
# yamllint disable rule:line-length
4+
upstream_project_url: https://github.com/stratis-storage/dbus-python-client-gen
5+
6+
specfile_path: ../distro/python-dbus-python-client-gen.spec
7+
merge_pr_in_ci: false
8+
downstream_package_name: python-dbus-python-client-gen
9+
10+
actions:
11+
post-upstream-clone:
12+
- "mkdir ../distro"
13+
- "bash -c '(cd ../distro; wget https://src.fedoraproject.org/rpms/python-dbus-python-client-gen/raw/rawhide/f/python-dbus-python-client-gen.spec)'"
14+
get-current-version:
15+
- "python3 setup.py --version"
16+
17+
srpm_build_deps:
18+
- wget2
19+
- wget2-wget
20+
21+
jobs:
22+
- job: copr_build
23+
trigger: pull_request
24+
identifier: copr_pull
25+
targets:
26+
- fedora-all
27+
28+
- job: copr_build
29+
trigger: commit
30+
identifier: copr_commit
31+
preserve_project: true
32+
targets:
33+
- fedora-all
34+
35+
notifications:
36+
pull_request:
37+
successful_build: true

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ view:
3636

3737
.PHONY: yamllint
3838
yamllint:
39-
yamllint --strict .github/workflows/main.yml
39+
yamllint --strict .packit.yaml .github/workflows/main.yml
4040

4141
.PHONY: package
4242
package:

0 commit comments

Comments
 (0)