Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial PackIt config #271

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ __pycache__
*.swp
*.orig
*.rej
m1n1\.spec
m1n1-*\.src\.rpm
m1n1-*\.tar\.gz
41 changes: 41 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/

specfile_path: m1n1.spec
files_to_sync:
- m1n1.spec
- .packit.yaml

actions:
# Fetch the specfile from Rawhide, drop any patches and disable rpmautospec
post-upstream-clone: "bash -c \"curl -s https://src.fedoraproject.org/rpms/m1n1/raw/main/f/m1n1.spec | sed -e '/^Patch: /d' -e '/^%autochangelog$/d' > m1n1.spec\""

srpm_build_deps:
- bash
- curl
- sed

jobs:
- job: copr_build
trigger: commit
owner: "@asahi"
project: packit-builds
targets:
- fedora-all-aarch64
- fedora-all-armhfp
- fedora-all-i386
- fedora-all-ppc64le
- fedora-all-s390x
- fedora-all-x86_64

- job: copr_build
trigger: pull_request
owner: "@asahi"
project: packit-builds
targets:
- fedora-all-aarch64
- fedora-all-armhfp
- fedora-all-i386
- fedora-all-ppc64le
- fedora-all-s390x
- fedora-all-x86_64