You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:43:19 UTC

[buildstream] branch jjardon/license_management created (now 1340c98)

This is an automated email from the ASF dual-hosted git repository.

root pushed a change to branch jjardon/license_management
in repository https://gitbox.apache.org/repos/asf/buildstream.git.


      at 1340c98  .gitlab-ci.yml: Add license management check

This branch includes the following new commits:

     new 1340c98  .gitlab-ci.yml: Add license management check

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[buildstream] 01/01: .gitlab-ci.yml: Add license management check

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

root pushed a commit to branch jjardon/license_management
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 1340c988905972bbcae84382e38f6a60b5c65861
Author: Javier Jardón <jj...@gnome.org>
AuthorDate: Sat Jun 23 22:06:12 2018 +0100

    .gitlab-ci.yml: Add license management check
    
    See https://docs.gitlab.com/ee/user/project/merge_requests/license_management.html
---
 .gitlab-ci.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3c65546..9626850 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -159,6 +159,22 @@ docs:
 #                    Post stage                     #
 #####################################################
 
+license_management:
+  image: docker:stable
+  stage: post
+  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]
+
 # Check code quality with codeclimate
 # This needs some refactoring; we probably just want to provide the codeclimate.json directly
 # as an output of radon, with some conversion