Commit 47e4778e authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs/update-license-management-job' into 'master'

Update license_management job definition

See merge request gitlab-org/gitlab-ee!8040
parents 82bd2a0b 873aa929
...@@ -12,18 +12,13 @@ You can then add a new job to `.gitlab-ci.yml`, called `license_management`: ...@@ -12,18 +12,13 @@ You can then add a new job to `.gitlab-ci.yml`, called `license_management`:
```yaml ```yaml
license_management: license_management:
image: docker:stable image:
name: "registry.gitlab.com/gitlab-org/security-products/license-management:$CI_SERVER_VERSION_MAJOR-$CI_SERVER_VERSION_MINOR-stable"
entrypoint: [""]
stage: test stage: test
variables:
DOCKER_DRIVER: overlay2
allow_failure: true allow_failure: true
services:
- docker:stable-dind
script: script:
- export LICENSE_MANAGEMENT_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') - /run.sh analyze .
- docker run
--volume "$PWD:/code"
"registry.gitlab.com/gitlab-org/security-products/license-management:$LICENSE_MANAGEMENT_VERSION" analyze /code
artifacts: artifacts:
paths: [gl-license-management-report.json] paths: [gl-license-management-report.json]
``` ```
......
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