Commit de47746a authored by Nick Gaskill's avatar Nick Gaskill

Merge branch '214743-ds-added-additional-ca-cert-support' into 'master'

Remove pip and pipenv additional cert instructions for DS

See merge request gitlab-org/gitlab!32368
parents 4f8a83cc 7fb446b6
...@@ -540,26 +540,6 @@ gemnasium-maven-dependency_scanning: ...@@ -540,26 +540,6 @@ gemnasium-maven-dependency_scanning:
This adds the self-signed certificates of your Maven repository to the Java KeyStore of the analyzer's Docker image. This adds the self-signed certificates of your Maven repository to the Java KeyStore of the analyzer's Docker image.
#### Python (pip) and Python (Pipfile) projects
Add the following `pip.conf` to your repository to define your index URL and trust its self-signed
certificate:
```toml
[global]
index-url = https://pypi.example.com
trusted-host = pypi.example.com
```
Add the following job section to `.gitlab-ci.yml`:
```yaml
gemnasium-python-dependency_scanning:
before_script:
- mkdir -p ~/.config/pip
- cp pip.conf ~/.config/pip/pip.conf
```
#### Python (setuptools) #### Python (setuptools)
When using self-signed certificates for your private PyPi repository, no extra job configuration (aside When using self-signed certificates for your private PyPi repository, no extra job configuration (aside
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment