summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Catteau <fcatteau@gitlab.com>2019-07-04 10:38:26 +0000
committerFabien Catteau <fcatteau@gitlab.com>2019-07-04 10:38:26 +0000
commit932d134420d667c1ea67b461f3532376d59a2e4c (patch)
treecb2bde48e2c6f4500cfececb55726e0fdc98207c
parent71f41fd7fc05a8e70a265cc803bd160056ab852a (diff)
parent9fe7d7ab9a07336d28c8038e7d6be0a328dba8e4 (diff)
Merge branch 'adding-go-expectations' into 'master'
Configuring license management to check against go project See merge request gitlab-org/security-products/license-management!44
-rw-r--r--.gitlab-ci.yml6
-rw-r--r--test/results/go.json78
2 files changed, 84 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b9edcc9..fabdbcb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -87,6 +87,12 @@ QA:ruby-bundler:
QA_PROJECT: ruby-bundler
QA_REF: 6b858821
+QA:go:
+ extends: .QA
+ variables:
+ QA_PROJECT: go
+ QA_REF: master
+
.docker_tag:
image: docker:stable
stage: tag
diff --git a/test/results/go.json b/test/results/go.json
new file mode 100644
index 0000000..617cd59
--- /dev/null
+++ b/test/results/go.json
@@ -0,0 +1,78 @@
+{
+ "licenses": [
+ {
+ "count": 4,
+ "name": "New BSD"
+ },
+ {
+ "count": 1,
+ "name": "unknown"
+ }
+ ],
+ "dependencies": [
+ {
+ "license": {
+ "name": "New BSD",
+ "url": "http://opensource.org/licenses/BSD-3-Clause"
+ },
+ "dependency": {
+ "name": "golang.org/x/crypto",
+ "description": "",
+ "pathes": [
+ "."
+ ]
+ }
+ },
+ {
+ "license": {
+ "name": "New BSD",
+ "url": "http://opensource.org/licenses/BSD-3-Clause"
+ },
+ "dependency": {
+ "name": "golang.org/x/text",
+ "description": "",
+ "pathes": [
+ "."
+ ]
+ }
+ },
+ {
+ "license": {
+ "name": "New BSD",
+ "url": "http://opensource.org/licenses/BSD-3-Clause"
+ },
+ "dependency": {
+ "name": "rsc.io/quote",
+ "description": "",
+ "pathes": [
+ "."
+ ]
+ }
+ },
+ {
+ "license": {
+ "name": "unknown"
+ },
+ "dependency": {
+ "name": "rsc.io/quote/v2",
+ "description": "",
+ "pathes": [
+ "."
+ ]
+ }
+ },
+ {
+ "license": {
+ "name": "New BSD",
+ "url": "http://opensource.org/licenses/BSD-3-Clause"
+ },
+ "dependency": {
+ "name": "rsc.io/sampler",
+ "description": "",
+ "pathes": [
+ "."
+ ]
+ }
+ }
+ ]
+}