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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
ccb1ff9a
Commit
ccb1ff9a
authored
Nov 04, 2018
by
Philippe Lafoucrière
Committed by
Kamil Trzciński
Nov 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update license_management job
parent
ccc5b740
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
changelogs/unreleased/update_license_management_job.yml
changelogs/unreleased/update_license_management_job.yml
+5
-0
lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
+2
-9
No files found.
changelogs/unreleased/update_license_management_job.yml
0 → 100644
View file @
ccb1ff9a
---
title
:
"
Remove
dind
from
license_management
auto-devops
job
definition"
merge_request
:
22732
author
:
type
:
performance
lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
View file @
ccb1ff9a
...
@@ -116,12 +116,9 @@ code_quality:
...
@@ -116,12 +116,9 @@ code_quality:
license_management
:
license_management
:
stage
:
test
stage
:
test
image
:
docker:stable
image
:
"
registry.gitlab.com/gitlab-org/security-products/license-management:$CI_SERVER_VERSION_MAJOR-$CI_SERVER_VERSION_MINOR-stable"
allow_failure
:
true
allow_failure
:
true
services
:
-
docker:stable-dind
script
:
script
:
-
setup_docker
-
license_management
-
license_management
artifacts
:
artifacts
:
paths
:
[
gl-license-management-report.json
]
paths
:
[
gl-license-management-report.json
]
...
@@ -525,11 +522,7 @@ rollout 100%:
...
@@ -525,11 +522,7 @@ rollout 100%:
}
}
function license_management() {
function license_management() {
# Extract "MAJOR.MINOR" from CI_SERVER_VERSION and generate "MAJOR-MINOR-stable"
/run.sh analyze .
LICENSE_MANAGEMENT_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
docker run --volume "$PWD:/code" \
"registry.gitlab.com/gitlab-org/security-products/license-management:$LICENSE_MANAGEMENT_VERSION" analyze /code
}
}
function sast() {
function sast() {
...
...
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