Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
873aa929
Commit
873aa929
authored
Oct 23, 2018
by
Philippe Lafoucrière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update license_management job definition
parent
2a46ef4d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
doc/ci/examples/license_management.md
doc/ci/examples/license_management.md
+4
-9
No files found.
doc/ci/examples/license_management.md
View file @
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
]
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment