From 36cdb0040abda394264455a1fdf3d6782af95ceb Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 6 Jul 2020 11:03:35 -0600 Subject: 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 --- bin/docker-shell | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/docker-shell') diff --git a/bin/docker-shell b/bin/docker-shell index 617492a..c6c03a0 100755 --- a/bin/docker-shell +++ b/bin/docker-shell @@ -9,5 +9,5 @@ IMAGE_NAME=${IMAGE_NAME:-$(basename "$PWD"):latest} docker run --rm -it \ --entrypoint='' \ --network=host \ - --volume "$PWD":/opt/license-management \ - "$IMAGE_NAME" /bin/bash -l + --volume "$PWD":/builds/gitlab-org/security-products/license-management \ + "$IMAGE_NAME" sh -c 'cd /builds/gitlab-org/security-products/license-management && exec bash -l' -- cgit v1.2.3