File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ # See the documentation for more information:
2+ # https://packit.dev/docs/configuration/
3+
4+ specfile_path : foreman-installer.spec
5+
6+ # add or remove files that should be synced
7+ files_to_sync :
8+ - foreman-installer.spec
9+
10+ # name in upstream package repository or registry (e.g. in PyPI)
11+ upstream_package_name : foreman-installer
12+ # downstream (Fedora) RPM package name
13+ downstream_package_name : foreman-installer
14+
15+ upstream_tag_template : " {version}"
16+
17+ actions :
18+ post-upstream-clone :
19+ - " wget https://raw.githubusercontent.com/theforeman/foreman-packaging/rpm/develop/packages/foreman/foreman-installer/foreman-installer.spec -O foreman-installer.spec"
20+ - " git clone https://github.com/theforeman/foreman-installer"
21+ - " sed -i '/theforeman.foreman_proxy/ s@:git.*@:git => \" #{__dir__}/../.git\" , :ref => \" origin/HEAD\" @' foreman-installer/Puppetfile"
22+ get-current-version :
23+ - " sed 's/-develop//' foreman-installer/VERSION"
24+ create-archive :
25+ - bash -c "cd foreman-installer && bundle config set --local path vendor/bundle"
26+ - bash -c "cd foreman-installer && bundle config set --local without development:test"
27+ - bash -c "cd foreman-installer && bundle install"
28+ - bash -c "cd foreman-installer && bundle exec rake pkg:generate_source"
29+
30+ jobs :
31+ - job : copr_build
32+ trigger : pull_request
33+ manual_trigger : true
34+ targets :
35+ rhel-9 :
36+ additional_repos :
37+ - https://yum.theforeman.org/releases/nightly/el9/x86_64/
38+ - https://yum.puppet.com/puppet8/el/9/x86_64/
39+ module_hotfixes : true
40+
41+ srpm_build_deps :
42+ - wget
43+ - make
44+ - gcc
45+ - ruby
46+ - ruby-devel
47+ - rubygem-bundler
48+
You can’t perform that action at this time.
0 commit comments