Skip to content

Commit d4f04fd

Browse files
committed
Add Packit config file
1 parent 4501849 commit d4f04fd

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.packit.yaml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# See the documentation for more information:
2+
# https://packit.dev/docs/configuration/
3+
4+
specfile_path: rubygem-smart_proxy_realm_ad_plugin.spec
5+
6+
# add or remove files that should be synced
7+
files_to_sync:
8+
- rubygem-smart_proxy_realm_ad_plugin.spec
9+
- .packit.yaml
10+
11+
# name in upstream package repository or registry (e.g. in PyPI)
12+
upstream_package_name: smart_proxy_realm_ad_plugin
13+
# downstream (Fedora) RPM package name
14+
downstream_package_name: rubygem-smart_proxy_realm_ad_plugin
15+
16+
upstream_tag_template: "{version}"
17+
18+
actions:
19+
post-upstream-clone:
20+
- "wget https://raw.githubusercontent.com/theforeman/foreman-packaging/rpm/develop/packages/plugins/rubygem-smart_proxy_realm_ad_plugin/rubygem-smart_proxy_realm_ad_plugin.spec -O rubygem-smart_proxy_realm_ad_plugin.spec"
21+
get-current-version:
22+
- ruby -rrubygems -e 'puts Gem::Specification::load(Dir.glob("*.gemspec").first).version'
23+
create-archive:
24+
- gem build smart_proxy_realm_ad_plugin.gemspec
25+
- bash -c "ls -1t ./smart_proxy_realm_ad_plugin-*.gem | head -n 1"
26+
27+
jobs:
28+
- job: copr_build
29+
trigger: pull_request
30+
targets:
31+
rhel-9:
32+
additional_repos:
33+
- https://yum.theforeman.org/releases/nightly/el9/x86_64/
34+
- https://yum.theforeman.org/plugins/nightly/el9/x86_64/
35+
module_hotfixes: true
36+
37+
srpm_build_deps:
38+
- wget
39+
- rubygems

0 commit comments

Comments
 (0)