summaryrefslogtreecommitdiff
path: root/lib/license/management/python.rb
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-07-06 11:03:35 -0600
committermo khan <mo.khan@gmail.com>2020-07-10 08:53:37 -0600
commit36cdb0040abda394264455a1fdf3d6782af95ceb (patch)
tree54093c956c0f4dcf4c2ad352847017aee9a88edc /lib/license/management/python.rb
parentc7385965b4166fb6ab2db3387c67cd54aef1b8df (diff)
Isolate license_management ruby from project
* Target ruby version 2.7.1 * Add spec to fetch gems from a custom source * Add proxy to rubygems.org config * Specify default env vars to support offline environment * Cleanup custom certificates after spec * Inline docker-test script * Do not install license_finder with each installed ruby * Increase gem log verbosity and include backtrace * Extract test fixtures for the different ruby scenarios * Find *.gemspec files in gems dir * Use RUBYLIB to hijack src path * Run scan from project path dir
Diffstat (limited to 'lib/license/management/python.rb')
-rw-r--r--lib/license/management/python.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/license/management/python.rb b/lib/license/management/python.rb
index ccf53e9..740b5c4 100644
--- a/lib/license/management/python.rb
+++ b/lib/license/management/python.rb
@@ -29,7 +29,7 @@ module License
". #{venv}/bin/activate &&",
:pip, :install,
'--no-index',
- '--find-links $HOME/.config/virtualenv/app-data', 'pip-licenses', '&&',
+ '--find-links /opt/gitlab/.config/virtualenv/app-data', 'pip-licenses', '&&',
'pip-licenses',
'--ignore-packages prettytable',
'--with-description',