Skip to content

Commit 5a03552

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

2 files changed

Lines changed: 34 additions & 1 deletion

File tree

.packit.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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/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+
jobs:
18+
- job: copr_build
19+
trigger: pull_request
20+
identifier: copr_pull
21+
targets:
22+
- fedora-all
23+
24+
- job: copr_build
25+
trigger: commit
26+
identifier: copr_commit
27+
preserve_project: true
28+
targets:
29+
- fedora-all
30+
31+
notifications:
32+
pull_request:
33+
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)