#225 Add OIDC config
Merged by cqi. Opened by puiterwijk.
puiterwijk/fedpkg oidc  into  master

Download 225.patch

Goes together with https://pagure.io/rpkg/pull-request/322 to enable https pushing.

rebased onto 1e18e3e9e69d369cf388c1534e43408d61dd1aea

Why submit-build here? Does it also work for the module-build command?

My plan is to also update rpkg to use the same oidc_client for MBS.
So that users just grant fedpkg access once for all its tasks.

(but that's slightly down the road, after this stuff lands)

Commit ab319fb2 fixes this pull-request

Pull-Request has been merged by cqi

Pull-Request has been merged by cqi

Hi we would like to test the https-pushing feature. Could you please help me with the setup needed to make this working? Is there any special fedpkg config required? Shall we test with python setup.py install from the master branch or are there any packages available for testing? Thanks.

@psss I have a COPR with packages from git, but they are quite likely broken (wrong requires).

You could test it with virtualenv

$ virtualenv --system-site-packages venv
$ . venv/bin/activate
$ python setup.py install # in rpkg clone
$ python setup.py install # in fedpkg clone

That should give you the latest git version of the code, and dependencies from system. You may need to update /etc/rpkg/fedpkg.conf with the changes from this PR, or use fedpkg -C path/to/modified/config.

Thanks for the hint. I was not able to install rpkg/fedpkg under virtualenv but I tested with root on a virtual machine and was able to push.

Metadata