-
Notifications
You must be signed in to change notification settings - Fork 16
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
builder: add support for proxying requests to composer #96
Conversation
Ok, I'm finally happy with the test coverage, this is ready to be reviewed now. :) |
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.
Looking good! Thank you :)
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.
Looks good, thanks! One small nit, but not important.
We need koji-osbuild-builder to be able to connect to composer via a proxy because koji builders in our internal deployment cannot reach api.openshift.com directly. This commit adds a new option `proxy` to the builder plugin config that controls whether a proxy is used to route all requests to composer.
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.
❤️
We need koji-osbuild-builder to be able to connect to composer via a proxy
because koji builders in our internal deployment cannot reach
api.openshift.com directly. This commit adds a new option
proxy
to thebuilder plugin config that controls whether a proxy is used to route all
requests to composer.
I'm not sure if the integration test that I designed will work, will see. 🤷 I'm open to suggestions.