RedHatInsights / yggdrasil

GNU General Public License v3.0
21 stars 37 forks source link

feat: add Packit integration #189

Closed ptoscano closed 10 months ago

ptoscano commented 11 months ago

Add a basic configuration for building PRs using Packit, using EL 8/9 and supported Fedora's.

The actions are needed to do the "make srpm" way manually, which is what Copr does.

Also drop the GitHub Actions for building packages manually, as Packit covers it now (and even for more distros).

packit-as-a-service[bot] commented 11 months ago

Failed to load packit config file:

Cannot parse package config. ValidationError({'jobs': {0: {'packages': defaultdict(<class 'dict'>, {'yggdrasil': {'value': {'targets': ["Expected 'list[str]' or 'dict[str,dict]', got [{'centos-stream-8': {'additional_repos': ['https://download.copr.fedorainfracloud.org/results/%40yggdrasil/latest/centos-stream-$releasever-x86_64/']}}, {'centos-stream-9': {'additional_repos': ['https://download.copr.fedorainfracloud.org/results/%40yggdrasil/latest/centos-stream-$releasever-x86_64/']}}, {'fedora-all': {'additional_repos': ['https://download.copr.fedorainfracloud.org/results/%40yggdrasil/latest/fedora-$releasever-x86_64/']}}, {'rhel-8': {'additional_repos': ['https://download.copr.fedorainfracloud.org/results/%40yggdrasil/latest/rhel-$releasever-x86_64/']}}, {'rhel-9': {'additional_repos': ['https://download.copr.fedorainfracloud.org/results/%40yggdrasil/latest/rhel-$releasever-x86_64/']}}] (type <class 'list'>)."]}}})}}})

For more info, please check out the documentation or contact the Packit team.

ptoscano commented 11 months ago

/packit build

ahitacat commented 10 months ago

/packit build