-
Notifications
You must be signed in to change notification settings - Fork 17
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
Merge environment settings #47
Conversation
2e1aaab
to
4e16127
Compare
Looking at the underlying requests code here, I think it's safer to pass |
In fact...wouldn't setting |
I tried with both set to
|
4e16127
to
b3a856f
Compare
No. Anyway I force-pushed a fix. |
well, that doesn't sound good. I'll fiddle around with this a bit in a shell tomorrow before merging anything. It's annoying that upstream never actually documents its intentions or expectations for these values... |
I do think that the warning is good, actually, and is the usual behaviour with
|
Oh. I thought you meant that with Still, if I'm reading you right, the behaviour if we set edit: see, on that path I'd expect us to wind up here, where it seems like the request setting - i.e. the one we set in this PR - should override the session setting... |
That's why |
The dictionary part is for proxies when used like in the documentation:
But supporting proxy environment variables where credentials are passed is not secure. |
yes, but I was linking to the part above this - since when we do But hey, if we all agree that |
Can we push this to pypi? |
yeah, sure, just yesterday was a holiday so I wanted to wait till today to see if there's anything else I need to do before making a release. |
btw, what is this pcw thing? is it for running openqa workers in public clouds? cos I'm kinda interested in that... |
pcw lets us monitor resources in the cloud for automatic cleanup in case |
right, but I mean, what's the context? are you actually running openqa jobs in public cloud, or something else? I've been wanting to do that for a long time but never had the roundtuits... |
The jobs create public cloud instances to test SUSE images and workloads, yes. |
ohhh, I see. so you have jobs running on your hardware openQA job host machines which are themselves creating cloud instances? Roger. I'm more interested in whether we can possibly replace our farms of hardware job hosts with cloud instances. thanks! |
OK, release 4.2.2 sent to pypi. |
Thank you! |
This PR adds support for the
REQUESTS_CA_BUNDLE
andCURL_CA_BUNDLE
environment variables.To achieve the
verify=False
functionality this can be done already without this patch:Fixes #15