-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chroot exclusion (configuration per-package) doesn't work #3528
Chroot exclusion (configuration per-package) doesn't work #3528
Comments
Nb. this build was triggered by this Packit configuration 🤷 |
provide test case for this please 🙏 |
Direct SRPM upload isn't affected: https://copr.fedorainfracloud.org/coprs/g/copr/copr-dev/build/8583971/ |
Tito build isn't affected either: https://copr.fedorainfracloud.org/coprs/g/copr/copr-dev/build/8583976/ |
@mfocko considering we use https://github.com/release-engineering/dist-git/blob/main/.packit.yaml#L40-L44, do you think Packit explicitly selects also epel-7 (if enabled in given copr)? |
The latest build: release-engineering/dist-git@9f0bfee |
Could you try dropping the The issue with differentiating the chroots based on the packages (as you've shown in the screenshot above) would not be an easy task to resolve I'm afraid… Edit: "jobs": [
{
"job": "copr_build",
"packages": [
"dist-git",
"dist-git-client"
],
"trigger": "pull_request",
"metadata": {
"targets": [
"fedora-all-x86_64",
"epel-8-x86_64",
"epel-9-x86_64",
"epel-10-x86_64"
]
}
},
{
"job": "copr_build",
"packages": [
"dist-git",
"dist-git-client"
],
"trigger": "commit",
"metadata": {
"owner": "@copr",
"project": "copr-dev",
"branch": "main"
}
}
] |
`metadata` sections are deprecated for a long time, also in this case it breaks the YAML expansion which replaces whole `metadata` section instead of merging it together. Fixes fedora-copr/copr#3528 Signed-off-by: Matej Focko <[email protected]>
https://copr.fedorainfracloud.org/coprs/g/copr/copr-dev/build/8300602/
It fails:
Even though we have configured the project to skip epel-7* chroots:
The text was updated successfully, but these errors were encountered: