summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-09 16:05:28 -0600
committermo khan <mo.khan@gmail.com>2020-04-09 16:39:08 -0600
commit04e57e76844d7ca70d5b1a84d9b30dba1d6bee9c (patch)
tree05f9cf6e795b8acb54f8b7df87972588bfa38a23 /spec/support
parentdda9e59a4a3ab471001998d0e68d67ab12b4ac69 (diff)
Specify PIP_CERT when installing pip packages
* Add CHANGELOG entry * Move method `default_env` to Python class
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/integration_test_helper.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/support/integration_test_helper.rb b/spec/support/integration_test_helper.rb
index 6c30a99..55564fc 100644
--- a/spec/support/integration_test_helper.rb
+++ b/spec/support/integration_test_helper.rb
@@ -86,6 +86,12 @@ module IntegrationTestHelper
end
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')
+ end
+ end
+
def runner(*args)
@runner ||= IntegrationTestRunner.new(*args)
end