gogoair / lavatory

Tooling to define repository specific retention policies in Artifactory.
Apache License 2.0
21 stars 14 forks source link

env var to skip cert verify for dev contexts #46

Open palixthepalalix opened 4 years ago

palixthepalalix commented 4 years ago

We have a dev artifactory instance, and the server's certs don't pass verify.

You can do this with the vanilla requests library by setting the CURL_CA_BUNDLE environment variable to an empty string. However, the artifactory class forces verify by passing a bundle by default. I would like to be able to override this behavior with an environment variable.