Skip to content

Commit

Permalink
add packit
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 3, 2023
1 parent dc06c07 commit b55f45c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/

specfile_path: foreman-proxy.spec

# add or remove files that should be synced
files_to_sync:
- foreman-proxy.spec
- foreman-proxy.tmpfiles
- logrotate.conf
- .packit.yaml

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

actions:
post-upstream-clone:
- "wget https://raw.githubusercontent.com/theforeman/foreman-packaging/rpm/develop/packages/foreman/foreman-proxy/foreman-proxy.spec -O foreman-proxy.spec"
- "wget https://raw.githubusercontent.com/theforeman/foreman-packaging/rpm/develop/packages/foreman/foreman-proxy/foreman-proxy.tmpfiles -O foreman-proxy.tmpfiles"
- "wget https://raw.githubusercontent.com/theforeman/foreman-packaging/rpm/develop/packages/foreman/foreman-proxy/logrotate.conf -O logrotate.conf"
get-current-version: "sed 's/-develop//' VERSION"

jobs:
- job: copr_build
trigger: pull_request
targets:
centos-stream-8:
additional_modules: "foreman-devel:el8"
additional_repos:
- http://koji.katello.org/releases/yum/foreman-nightly/el8/x86_64/
module_hotfixes: true

srpm_build_deps:
- wget

0 comments on commit b55f45c

Please sign in to comment.