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
c7e237ee
Commit
c7e237ee
authored
Feb 04, 2020
by
Tetiana Chupryna
Committed by
Bob Van Landuyt
Feb 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce 'license_scanning' CI vendored template"
parent
1e0da1ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
5 deletions
+41
-5
changelogs/unreleased/14624-vendored-template-for-license-scanning.yml
...released/14624-vendored-template-for-license-scanning.yml
+5
-0
lib/gitlab/ci/templates/Security/License-Management.gitlab-ci.yml
...ab/ci/templates/Security/License-Management.gitlab-ci.yml
+3
-5
lib/gitlab/ci/templates/Security/License-Scanning.gitlab-ci.yml
...tlab/ci/templates/Security/License-Scanning.gitlab-ci.yml
+33
-0
No files found.
changelogs/unreleased/14624-vendored-template-for-license-scanning.yml
0 → 100644
View file @
c7e237ee
---
title
:
Introduce license_scanning CI template
merge_request
:
22773
author
:
type
:
added
lib/gitlab/ci/templates/Security/License-Management.gitlab-ci.yml
View file @
c7e237ee
# Read more about this feature here: https://docs.gitlab.com/ee/user/application_security/license_management/
#
# Configure the scanning tool through the environment variables.
# List of the variables: https://gitlab.com/gitlab-org/security-products/license-management#settings
# How to set: https://docs.gitlab.com/ee/ci/yaml/#variables
# Deprecated: https://gitlab.com/gitlab-org/gitlab/issues/14624
# Please, use License-Scanning.gitlab-ci.yml template instead
variables
:
LICENSE_MANAGEMENT_SETUP_CMD
:
'
'
# If needed, specify a command to setup your environment with a custom package manager.
...
...
@@ -16,6 +13,7 @@ license_management:
SETUP_CMD
:
$LICENSE_MANAGEMENT_SETUP_CMD
allow_failure
:
true
script
:
-
echo "This template is deprecated, please use License-Scanning.gitlab-ci.yml template instead."
-
/run.sh analyze .
artifacts
:
reports
:
...
...
lib/gitlab/ci/templates/Security/License-Scanning.gitlab-ci.yml
0 → 100644
View file @
c7e237ee
# Read more about this feature here: https://docs.gitlab.com/ee/user/application_security/license_compliance/
#
# Configure the scanning tool through the environment variables.
# List of the variables: https://gitlab.com/gitlab-org/security-products/license-management#settings
# How to set: https://docs.gitlab.com/ee/ci/yaml/#variables
variables
:
LICENSE_MANAGEMENT_SETUP_CMD
:
'
'
# If needed, specify a command to setup your environment with a custom package manager.
license_scanning
:
stage
:
test
image
:
name
:
"
registry.gitlab.com/gitlab-org/security-products/license-management:$CI_SERVER_VERSION_MAJOR-$CI_SERVER_VERSION_MINOR-stable"
entrypoint
:
[
"
"
]
variables
:
SETUP_CMD
:
$LICENSE_MANAGEMENT_SETUP_CMD
allow_failure
:
true
script
:
-
/run.sh analyze .
after_script
:
-
mv gl-license-management-report.json gl-license-scanning-report.json
artifacts
:
reports
:
license_scanning
:
gl-license-scanning-report.json
dependencies
:
[]
only
:
refs
:
-
branches
variables
:
-
$GITLAB_FEATURES =~ /\blicense_management\b/
except
:
variables
:
-
$LICENSE_MANAGEMENT_DISABLED
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