Building my modules in a non-Fedora MBS & koji instances I noticed mbs-build hardcodes Fedora koji task URLs in its output. Looking at the source code I didn't find a way to override this, even though that appears to have been the intent.
mbs-build
Yeah, we're aware.
I think we'll have it accept a koji profile, and it will pull the urls from that config file.
@psabata is this obsoleted by the rpkg/fedpkg work done by @mprahl?
@ralph Maybe? Could you point me to the relevant NVRs so that I can try that out?
@psabata it's not released yet but to use a scratch build by @jkaluza, you can do the following (it assumes you already have fedpkg and rhpkg installed):
# Install the scratch build of rpkg sudo dnf install https://kojipkgs.fedoraproject.org//work/tasks/8833/22508833/python2-rpkg-1.50-2.fc28.1.noarch.rpm # Configure fedpkg to use the Fedora MBS instance sudo bash -c 'cat <<EOF >> /etc/rpkg/fedpkg.conf [fedpkg.mbs] auth_method = oidc api_url = https://mbs.fedoraproject.org/module-build-service/1/ oidc_id_provider = https://id.fedoraproject.org/openidc/ oidc_client_id = mbs-authorizer oidc_client_secret = notsecret oidc_scopes = openid,https://id.fedoraproject.org/scope/groups,https://mbs.fedoraproject.org/oidc/submit-build EOF' # Configure rhpkg to use the internal MBS instance sudo bash -c 'cat <<EOF >> /etc/rpkg/rhpkg.conf [rhpkg.mbs] auth_method = kerberos api_url = https://mbs.engineering.redhat.com/module-build-service/1/ EOF' # For authentication with Fedora's MBS sudo dnf install python-openidc-client # For authentication the internal MBS sudo dnf install python-requests-kerberos
I've left out instructions to update the bash auto-completion files to simplify things, but if you are interested in installing those, please message me on IRC.
OK, fedpkg & friends are out now.
We're thinking about deprecating mbs-build. Any objections?
I had some issues with fedpkg module-build last week but if I run into them again, I'll file a report for that.
fedpkg module-build
No objections.
fedpkg and rpkg were updated to include the MBS commands last week. Will close this now.
Metadata Update from @mprahl: - Issue status updated to: Closed (was: Open)
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/mbs/issues/731
Please continue any further discussion there.