diff options
| author | mo khan <mo.khan@gmail.com> | 2020-04-14 08:46:06 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-04-14 08:46:06 -0600 |
| commit | 4a6f7268405e4afd8038a65d6d2465bddd78ebf0 (patch) | |
| tree | e32deac47ff971501ab8bcc55b43aff2bad78741 /spec/support | |
| parent | 04e57e76844d7ca70d5b1a84d9b30dba1d6bee9c (diff) | |
Extract private pypi variables
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/integration_test_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/integration_test_helper.rb b/spec/support/integration_test_helper.rb index 55564fc..52693f2 100644 --- a/spec/support/integration_test_helper.rb +++ b/spec/support/integration_test_helper.rb @@ -87,8 +87,8 @@ module IntegrationTestHelper end def private_pypi_host - @private_pypi_host ||= 'gitlab-airgap-pypi.us-west1-b.c.group-secure-a89fe7.internal'.tap do |host| - add_host(host, '35.227.149.218') + @private_pypi_host ||= ENV.fetch('PRIVATE_PYPI_HOST').tap do |host| + add_host(host, ENV.fetch('PRIVATE_PYPI_IP')) end end |
