Skip to content

New env var to control public IP detection

George Koltsov requested to merge qa-pub-ip-explicit into master

What does this MR do and why?

Directly related to (requested in review of) https://gitlab.com/gitlab-org/gitlab/-/merge_requests/93150. To recap:

gitlab-qa can be run in places other than CI that need to use an API to find the public IP address; this adds the environment variable QA_USE_PUBLIC_IP_API to allow that behavior to be explicitly requested, rather than just implicitly by detecting that the runtime env is CI.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports