summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFabien Catteau <fcatteau@gitlab.com>2019-07-17 00:59:03 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2019-07-17 00:59:03 +0000
commit5c97713bcd5b8db4332b4702d0fc6524d02f4a74 (patch)
tree9b6dd4b9dcaf8883a0ef54e9a793b88374200c7c /lib
parent7894b8b5a32512a149b59d3735d000feeb76d4e0 (diff)
downloadgitlab-ce-5c97713bcd5b8db4332b4702d0fc6524d02f4a74.tar.gz
Propagate PIP index URL
Propagate PIP_INDEX_URL, PIP_EXTRA_INDEX_URL to the dependency-scanning Docker image to support Python projects depending on custom Pypi registries. These variables will be consumed by the gemnasium-python analyzer.
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/templates/Security/Dependency-Scanning.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/ci/templates/Security/Dependency-Scanning.gitlab-ci.yml b/lib/gitlab/ci/templates/Security/Dependency-Scanning.gitlab-ci.yml
index f176771775e..89eccce69f6 100644
--- a/lib/gitlab/ci/templates/Security/Dependency-Scanning.gitlab-ci.yml
+++ b/lib/gitlab/ci/templates/Security/Dependency-Scanning.gitlab-ci.yml
@@ -41,6 +41,8 @@ dependency_scanning:
DS_PULL_ANALYZER_IMAGE_TIMEOUT \
DS_RUN_ANALYZER_TIMEOUT \
DS_PYTHON_VERSION \
+ PIP_INDEX_URL \
+ PIP_EXTRA_INDEX_URL \
) \
--volume "$PWD:/code" \
--volume /var/run/docker.sock:/var/run/docker.sock \