-
Notifications
You must be signed in to change notification settings - Fork 685
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
[feature]: Add option to use custom https certificates with buildpack #2946
[feature]: Add option to use custom https certificates with buildpack #2946
Conversation
|
…/pwa-studio into option-to-add-custom-https
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.
@arturtreiberg Hello, thanks for your contribution! Seems like a natural addition.
How can we test this? Would like to verify that it works. A couple of unit tests would also be a good idea; let me know if I can help there.
Hey @jimbo, sorry for such a late answer. So testing wise, just adding these .env variables as described in the verification steps above does the trick. After the variables are added, by running Unit test wise, I would have to investigate it a little to see how can this be tested and I'm not sure when I will have the time for that :/ but I'm gonna take a look at what I can do |
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.
I think this is really close - just a small addition requested. Also, if you're able to add some tests that would be very helpful.
Thanks for your contribution!
|
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.
Great work, and thanks for adding tests. This works for me, recommend moving to QA. 👍
QA Approved |
Description
Added two extra env variable definitions for custom https certificate key and cert paths. Also updated buildpack serve function to add https if custom cert paths are present in the configuration
Related Issue
Closes #2945
Acceptance
Verification Stakeholders
Specification
Verification Steps
Checklist