-
Notifications
You must be signed in to change notification settings - Fork 62
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
Conversation
b1320b1
to
a4e9ee7
Compare
a4e9ee7
to
4aad4d6
Compare
frontend/coprs_frontend/coprs/views/backend_ns/backend_general.py
Outdated
Show resolved
Hide resolved
4aad4d6
to
f4120f2
Compare
f4120f2
to
606a150
Compare
Updated PTAL |
606a150
to
bc68241
Compare
2aedbb2
to
25a2ce5
Compare
25a2ce5
to
838f56a
Compare
The daemon part partly a C&P from https://pagure.io/fedora-infra/ansible/blob/8ff1e6d9f79ca86e/f/roles/copr/backend/files/provision/copr-rh-subscribe.sh Closes: fedora-copr#3434 Relates: fedora-copr#3426
The daemon part partly a C&P from https://pagure.io/fedora-infra/ansible/blob/8ff1e6d9f79ca86e/f/roles/copr/backend/files/provision/copr-rh-subscribe.sh Closes: fedora-copr#3434 Relates: fedora-copr#3426
The daemon part partly a C&P from https://pagure.io/fedora-infra/ansible/blob/8ff1e6d9f79ca86e/f/roles/copr/backend/files/provision/copr-rh-subscribe.sh Closes: fedora-copr#3434 Relates: fedora-copr#3426
The daemon part partly a C&P from https://pagure.io/fedora-infra/ansible/blob/8ff1e6d9f79ca86e/f/roles/copr/backend/files/provision/copr-rh-subscribe.sh Closes: fedora-copr#3434 Relates: fedora-copr#3426
The daemon part partly a C&P from https://pagure.io/fedora-infra/ansible/blob/8ff1e6d9f79ca86e/f/roles/copr/backend/files/provision/copr-rh-subscribe.sh Closes: #3434 Relates: #3426
838f56a
to
614c56b
Compare
743fc29
to
ee70658
Compare
self.log.info(stdout) | ||
if rc: | ||
self.log.info(stderr) | ||
raise BuildRetry("Builder wasn't ready, trying a new one") |
There was a problem hiding this comment.
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"", "") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
ee70658
to
da8c763
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Fix #2132