diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-08 21:09:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-08 21:09:16 +0300 |
commit | 80e9fdc9682cfbcfb9202a2733605a6a6bd23f05 (patch) | |
tree | 168375ea13d1a1f01d4cbcf6f0513fc9883e9477 /doc/user/compliance | |
parent | 5372e109c0660e4670aa987568a51082beca1b3c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/compliance')
-rw-r--r-- | doc/user/compliance/license_compliance/index.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/user/compliance/license_compliance/index.md b/doc/user/compliance/license_compliance/index.md index 4a90cc0a72f..96b051c1673 100644 --- a/doc/user/compliance/license_compliance/index.md +++ b/doc/user/compliance/license_compliance/index.md @@ -250,6 +250,28 @@ license_scanning: license_scanning: gl-license-scanning-report.json ``` +## Running License Compliance in an offline environment + +License Compliance can be executed on an offline GitLab Ultimate installation by using the following +process: + +1. Host the License Compliance image + `registry.gitlab.com/gitlab-org/security-products/license-management:latest` in your local Docker + container registry. +1. Add the following configuration to your `.gitlab-ci.yml` file. You must replace `image` to refer + to the License Compliance Docker image hosted on your local Docker container registry: + + ```yaml + include: + - template: License-Scanning.gitlab-ci.yml + + license_scanning: + image: registry.example.com/namespace/license-management:latest + ``` + +1. Ensure the package registry is reachable from within the GitLab environment and that the package + manager is configured to use your preferred package registry. + ## Project policies for License Compliance > [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/5940) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 11.4. |