Skip to content
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

Activate Red Hat subscription on demand #3426

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

FrostyX
Copy link
Member

@FrostyX FrostyX commented Sep 26, 2024

Fix #2132

@FrostyX FrostyX force-pushed the subscription-ondemand branch from b1320b1 to a4e9ee7 Compare September 29, 2024 11:48
@FrostyX FrostyX force-pushed the subscription-ondemand branch from a4e9ee7 to 4aad4d6 Compare September 29, 2024 11:53
@FrostyX FrostyX force-pushed the subscription-ondemand branch from 4aad4d6 to f4120f2 Compare September 30, 2024 15:11
rpmbuild/copr_rpmbuild/rhsm.py Fixed Show fixed Hide fixed
rpmbuild/copr_rpmbuild/rhsm.py Fixed Show fixed Hide fixed
rpmbuild/copr_rpmbuild/rhsm.py Fixed Show fixed Hide fixed
rpmbuild/copr_rpmbuild/rhsm.py Fixed Show fixed Hide fixed
@FrostyX FrostyX force-pushed the subscription-ondemand branch from f4120f2 to 606a150 Compare September 30, 2024 15:22
@FrostyX FrostyX marked this pull request as ready for review September 30, 2024 20:13
@FrostyX
Copy link
Member Author

FrostyX commented Sep 30, 2024

Updated PTAL

rpmbuild/main.py Outdated Show resolved Hide resolved
@FrostyX FrostyX force-pushed the subscription-ondemand branch from 606a150 to bc68241 Compare October 4, 2024 09:53
rpmbuild/main.py Fixed Show fixed Hide fixed
@FrostyX FrostyX force-pushed the subscription-ondemand branch 3 times, most recently from 2aedbb2 to 25a2ce5 Compare October 4, 2024 09:58
@FrostyX FrostyX force-pushed the subscription-ondemand branch from 25a2ce5 to 838f56a Compare October 8, 2024 06:43
@FrostyX FrostyX force-pushed the subscription-ondemand branch from 838f56a to 614c56b Compare October 15, 2024 12:22
@FrostyX FrostyX force-pushed the subscription-ondemand branch 3 times, most recently from 743fc29 to ee70658 Compare October 15, 2024 12:52
self.log.info(stdout)
if rc:
self.log.info(stderr)
raise BuildRetry("Builder wasn't ready, trying a new one")
Copy link
Member

Choose a reason for hiding this comment

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

just a nit: separate method would be nice

return (1, "err stdout", "err stderr")
return (0, "", "")
return (1, b"err stdout", "err stderr")
return (0, b"", "")
Copy link
Member

Choose a reason for hiding this comment

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

How does stdout come out as a binary output?

Copy link
Member Author

Choose a reason for hiding this comment

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

That was a leftover from before I used run_expensive, thanks for catching that

@FrostyX FrostyX force-pushed the subscription-ondemand branch from ee70658 to da8c763 Compare October 15, 2024 13:38
Copy link
Member

@praiskup praiskup left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@FrostyX FrostyX merged commit 271b9fa into fedora-copr:main Oct 15, 2024
8 checks passed
praiskup added a commit to praiskup/copr that referenced this pull request Oct 17, 2024
praiskup added a commit to praiskup/copr that referenced this pull request Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subscription manager breaks our spawners
2 participants