Reuse build targets from Packit as a Service in CLI
See original GitHub issueAt this moment my .packit.yaml
file looks like this.
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: specfiles/restraint-upstream.spec
# add or remove files that should be synced
synced_files:
- src: restraint-upstream.spec
dest: restraint.spec
upstream_package_name: restraint
# downstream (Fedora) RPM package name
downstream_package_name: restraint
jobs:
- job: copr_build
trigger: pull_request
metadata:
targets:
- centos-stream-aarch64
- centos-stream-ppc64le
- centos-stream-x86_64
- fedora-30-aarch64
- fedora-30-armhfp
- fedora-30-i386
- fedora-30-ppc64le
- fedora-30-s390x
- fedora-30-x86_64
- fedora-31-aarch64
- fedora-31-armhfp
- fedora-31-i386
- fedora-31-ppc64le
- fedora-31-s390x
- fedora-31-x86_64
- fedora-rawhide-aarch64
- fedora-rawhide-armhfp
- fedora-rawhide-i386
- fedora-rawhide-ppc64le
- fedora-rawhide-s390x
- fedora-rawhide-x86_64
- rhel-8-aarch64
- rhel-8-ppc64
- rhel-8-ppc64le
- rhel-8-x86_64
As you can see we are running huge number of build targets.
I would like to run build before I create the PR in GH.
This means I have to put there manually 25 targets. It would be nice if we can unify this so my packit copr-build
will use the same targets as PR.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
Configuration - Packit
Packit uses a configuration file in the upstream repository. The config file is written in YAML language. You should place the file in...
Read more >packit/hello-world: The most progresive command ... - GitHub
Just open a pull request on this repository and packit service will build your changes and provide an RPM repository using your pull...
Read more >trafgen(8) - Linux manual page - man7.org
NAME top. trafgen - a fast, multithreaded network packet generator ... so that well known defines from Linux kernel or network programming can...
Read more >How to set up Packit to simplify upstream project integration
How to set up Packit, which tests and builds RPM packages on Fedora Linux, CentOS Stream, and other distributions to ease the integration...
Read more >Reuse a small method from Apache Ant: How to do that correctly
apache.ant:ant ) as dependency and pack it into uberjar with maven-shade-plugin . This way original code is re-used (which was my goal), and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Then you can use
fedora-stable
andfedora-development
:Side note: some lines can be saved with aliases:
You then no need to change that so often…