-
Notifications
You must be signed in to change notification settings - Fork 19
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
Set proxy_env_vars in OpenStackRunnerManager #363
Conversation
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.
Do you plan to unit test the change?
I am in general in favour of having unit tests, but this module has been explicitly disabled for coverage (https://github.com/canonical/github-runner-operator/blob/main/pyproject.toml#L15), and this is more of a bug fix for #351, so I am not sure its worth introducing a unit test for this small change. |
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 for the e2e test and integration tests that uses the private-endpoint we should disable the aproxy of the private-endpoint self-hosted runners.
This will enable us to test this issue.
Revert "disable aproxy in private endpoint runners" This reverts commit acfc35a. Revert "disable aproxy conditionally" This reverts commit e45878e. Revert "enable log_cli" This reverts commit f8207a7. Revert "temporarily disable env vars to test if integration test fails - REVERT ME" This reverts commit e0dca27. Revert "disable aproxy unconditionally" This reverts commit c47ef6e.
Test coverage for c6659c6
Static code analysis report
|
Applicable spec: n/a
Overview
Set proxy_env_vars in OpenStackRunnerManager
Rationale
to provide outside-world access. Follow-up of #351
Checklist
src-docs
urgent
,trivial
,complex
)