Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalasankar "Balu" C <balasankar@gitlab.com>2018-08-28 00:36:24 +0300
committerBalasankar "Balu" C <balasankar@gitlab.com>2018-08-28 00:36:50 +0300
commit41e8ea2519889826cef68a04a3df542a9208c832 (patch)
treea4e51d7a24e5234048955bec2dc5fc24e8342b13
parent53d4a3a69e5475c18d79286513bef908a5b1c371 (diff)
Add dependency license checkdependency-license-check
-rw-r--r--.gitlab-ci.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 771831a9..46466a2d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,3 +26,19 @@ test:1.9:
test:1.10:
image: golang:1.10
<<: *test
+
+license_management:
+ image: docker:stable
+ variables:
+ DOCKER_DRIVER: overlay2
+ allow_failure: true
+ services:
+ - docker:stable-dind
+ script:
+ - export 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
+ artifacts:
+ paths:
+ - gl-license-management-report.json