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
Use https container #1283
Use https container #1283
Conversation
|
WARNING!!! This PR is not attached to an issue. In most cases this is not advisable. Please see our PR docs for more information about how to attach this PR to an issue. |
c382ebe
to
6050a8c
Compare
.github/workflows/scripts/install.sh
Outdated
| @@ -91,6 +91,13 @@ fi | |||
| ansible-playbook build_container.yaml | |||
| ansible-playbook start_container.yaml | |||
|
|
|||
| # Hack: adding pulp CA to certifi.where() | |||
| sudo docker cp pulp:/etc/pulp/certs/ca.crt /usr/local/share/ca-certificates/pulp_ca.crt | |||
| CERT=$(python -c 'import certifi; print(certifi.where())') | |||
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.
This is Mozilla CA bundle, and I'm appending pulp CA to it
.github/workflows/scripts/script.sh
Outdated
| @@ -79,6 +81,7 @@ if [[ "$TEST" = 'bindings' || "$TEST" = 'publish' ]]; then | |||
| gem build pulp_file_client | |||
| gem install --both ./pulp_file_client-0.gem | |||
| cd .. | |||
| export SSL_CERT_FILE=/usr/local/share/ca-certificates/pulp_ca.crt | |||
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.
but Ruby doesn't use certifi lib, so I had to use an OpenSSL env var to point to the CA
72c5746
to
b9a2c95
Compare
|
Blocked by pulp/pulp-oci-images#73 or pulp/pulp-oci-images#84 |
[noissue]
[noissue]
Please be sure you have read our documentation on creating PRs:
https://docs.pulpproject.org/contributing/pull-request-walkthrough.html