File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ - .packit.yaml
10+
11+ # name in upstream package repository or registry (e.g. in PyPI)
12+ upstream_package_name : foreman-installer
13+ # downstream (Fedora) RPM package name
14+ downstream_package_name : foreman-installer
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/foreman/foreman-installer/foreman-installer.spec -O foreman-installer.spec"
21+ - " git clone https://github.com/theforeman/foreman-installer"
22+ - " sed -i '/theforeman.pulpcore/ s@:git.*@:git => \" #{__dir__}/../.git\" , :ref => \" origin/HEAD\" @' foreman-installer/Puppetfile"
23+ get-current-version :
24+ - " sed 's/-develop//' foreman-installer/VERSION"
25+ create-archive :
26+ - bash -c "cd foreman-installer && bundle config set --local path vendor/bundle"
27+ - bash -c "cd foreman-installer && bundle config set --local without development:test"
28+ - bash -c "cd foreman-installer && bundle install"
29+ - bash -c "cd foreman-installer && bundle exec rake pkg:generate_source"
30+
31+ jobs :
32+ - job : copr_build
33+ trigger : pull_request
34+ manual_trigger : true
35+ targets :
36+ rhel-9 :
37+ additional_repos :
38+ - https://yum.theforeman.org/releases/nightly/el9/x86_64/
39+ - https://yum.puppet.com/puppet7/el/9/x86_64/
40+ module_hotfixes : true
41+
42+ srpm_build_deps :
43+ - wget
44+ - make
45+ - gcc
46+ - ruby
47+ - ruby-devel
48+ - rubygem-bundler
You can’t perform that action at this time.
0 commit comments