anancarv / python-artifactory

Typed interactions with the Jfrog Artifactory REST API
MIT License
55 stars 50 forks source link

feat: Support setting CA certificate #145

Closed vjda closed 10 months ago

vjda commented 11 months ago

Description

Support setting a custom CA certificate to validate SSL termination.

This change takes advantage of the ability of the request library to support setting custom CA certificates by passing the key verify=/path/to/ca.pem as an argument.

See requests.request for additional information.

Type of change

How has it been tested ?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

Checklist

vjda commented 11 months ago

You'll also need to add typing here

Fixed

vjda commented 11 months ago

It seems that test matrix stages are failing in the Github workflow. However I ran the tests on my laptop and they worked OK.

Checking the commit history I think #144 broke the code coverage reporting .

2023-10-09 17:30:07.714Z error [CodacyCoverageReporter] Invalid configuration: Empty argument for --project-token  - (CodacyCoverageReporter.scala:25)

Not quite sure how to fix it but happy to help if you want 😀

anancarv commented 11 months ago

It seems that test matrix stages are failing in the Github workflow. However I ran the tests on my laptop and they worked OK.

Checking the commit history I think #144 broke the code coverage reporting .

2023-10-09 17:30:07.714Z error [CodacyCoverageReporter] Invalid configuration: Empty argument for --project-token  - (CodacyCoverageReporter.scala:25)

Not quite sure how to fix it but happy to help if you want 😀

Don't worry about that. It's because you don't have the codacy token set on your repo.