Skip to content

Commit

Permalink
Add initial packit configuration
Browse files Browse the repository at this point in the history
With changes suggested by @StephenCoady

Signed-off-by: Akashdeep Dhar <[email protected]>
  • Loading branch information
gridhead committed May 6, 2022
1 parent 812307c commit 56d1b8a
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/

specfile_path: fedora-messaging.spec

# add or remove files that should be synced
files_to_sync:
- fedora-messaging.spec
- packit.yaml

# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: fedora-messaging
# downstream (Fedora) RPM package name
downstream_package_name: fedora-messaging

# dependencies needed to prepare for and build the source RPM
srpm_build_deps:
- wget

actions:
post-upstream-clone:
# fetch specfile from src.fp.o
- "wget https://src.fedoraproject.org/fork/t0xic0der/rpms/fedora-messaging/raw/f35-300-src/f/fedora-messaging.spec -O fedora-messaging.spec"

jobs:
# upon upstream PRs, perform COPR builds
- job: copr_build
trigger: pull_request
metadata:
targets:
- fedora-latest-stable

# upon upstream PRs, test builds
- job: tests
trigger: pull_request
metadata:
targets:
- fedora-latest-stable

# upon upstream releases, perform COPR builds
- job: copr_build
trigger: release
metadata:
targets:
- fedora-latest-stable

# upon upstream releases, test builds
- job: tests
trigger: release
metadata:
targets:
- fedora-latest-stable

0 comments on commit 56d1b8a

Please sign in to comment.