Skip to content

Add option to allow chroot specs for COPR builds (b0.69) #2621

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

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

ndokos
Copy link
Member

@ndokos ndokos commented Feb 9, 2022

Add a CHROOTS variable to the agent/rpm/Makefile and an option
to the `copr-cli build' command in rpm.mk, to allow
the specification of chroots to include or exclude in a build.

The default setting for the b0.69 branch excludes all RHEL9 builds:
the 0.69 agent does not work on RHEL9 because of an `scp -r' bug.

Add a CHROOTS variable to the agent/rpm/Makefile and an option
to the `copr-cli build' command in rpm.mk, to allow
the specification of chroots to include or exclude in a build.

The default setting for the b0.69 branch excludes all RHEL9 builds:
the 0.69 agent does not work on RHEL9 because of an `scp -r' bug.
@ndokos ndokos added the packaging Issues related to software packaging label Feb 9, 2022
@ndokos ndokos added this to the v0.69.10 milestone Feb 9, 2022
@ndokos ndokos self-assigned this Feb 9, 2022
@ndokos ndokos changed the title Add option to allow chroot specs for COPR builds Add option to allow chroot specs for COPR builds (b0.69) Feb 9, 2022
Copy link
Member

@webbnh webbnh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK to me (although, I would have preferred that we use $CHROOTS to specify the platforms that we do support rather than to list the ones which we don't support (at this moment), but I guess that this will work).

However, there is a failing test, which looks like it might be due to a non-deterministic output ordering? (Either that, or someone slipped in a prior change without a gold file update....) I'm not sure what we should be doing about this....

Copy link
Member

@dbutenhof dbutenhof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given it's a "Make-do" (pardon the pun) for 0.69, this is OK. I think the label CHROOTS is a bit misleading for a value that needs to contain the copr-cli options to select/exclude chroots (and in fact can contain any copr-cli options)... it's not perfect, (or elegant), but it's probably good enough for now. 👍🏻

@portante portante merged commit 1bae994 into distributed-system-analysis:b0.69 Feb 9, 2022
@ndokos ndokos deleted the b0.69-chroot branch June 27, 2023 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packaging Issues related to software packaging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants