From bfed7a05f5dcdaa9dfe9f76ba72f7edd935720cb Mon Sep 17 00:00:00 2001 From: Ish Shah Date: Wed, 14 Apr 2021 09:15:16 -0700 Subject: [PATCH 1/4] Add UID Optional field to scorecard config types Signed-off-by: Ish Shah --- pkg/apis/scorecard/v1alpha3/configuration_types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/apis/scorecard/v1alpha3/configuration_types.go b/pkg/apis/scorecard/v1alpha3/configuration_types.go index 0bda063e6..ae931dff5 100644 --- a/pkg/apis/scorecard/v1alpha3/configuration_types.go +++ b/pkg/apis/scorecard/v1alpha3/configuration_types.go @@ -34,6 +34,8 @@ type StageConfiguration struct { type TestConfiguration struct { // Image is the name of the test image. Image string `json:"image" yaml:"image"` + // UniqueID is is an optional unique test identifier of the test image. + UniqueID string `json:"uniqueID,omitempty" yaml:"uniqueID,omitempty"` // Entrypoint is a list of commands and arguments passed to the test image. Entrypoint []string `json:"entrypoint,omitempty" yaml:"entrypoint,omitempty"` // Labels further describe the test and enable selection. From 159fa6a3e725679029613a18e7f66defd4b46bce Mon Sep 17 00:00:00 2001 From: Ish Shah Date: Fri, 30 Apr 2021 08:47:42 -0700 Subject: [PATCH 2/4] generated changes Signed-off-by: Ish Shah --- crds/zz_defs.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crds/zz_defs.go b/crds/zz_defs.go index 8e18d6281..f29403733 100644 --- a/crds/zz_defs.go +++ b/crds/zz_defs.go @@ -99,7 +99,7 @@ func operatorsCoreosCom_catalogsourcesYaml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "operators.coreos.com_catalogsources.yaml", size: 7725, mode: os.FileMode(420), modTime: time.Unix(1617890608, 0)} + info := bindataFileInfo{name: "operators.coreos.com_catalogsources.yaml", size: 7725, mode: os.FileMode(436), modTime: time.Unix(1618417073, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -119,7 +119,7 @@ func operatorsCoreosCom_clusterserviceversionsYaml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "operators.coreos.com_clusterserviceversions.yaml", size: 462335, mode: os.FileMode(420), modTime: time.Unix(1617890609, 0)} + info := bindataFileInfo{name: "operators.coreos.com_clusterserviceversions.yaml", size: 462335, mode: os.FileMode(436), modTime: time.Unix(1618417073, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -139,7 +139,7 @@ func operatorsCoreosCom_installplansYaml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "operators.coreos.com_installplans.yaml", size: 14077, mode: os.FileMode(420), modTime: time.Unix(1617890609, 0)} + info := bindataFileInfo{name: "operators.coreos.com_installplans.yaml", size: 14077, mode: os.FileMode(436), modTime: time.Unix(1618417074, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -159,7 +159,7 @@ func operatorsCoreosCom_operatorconditionsYaml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "operators.coreos.com_operatorconditions.yaml", size: 9584, mode: os.FileMode(420), modTime: time.Unix(1617890609, 0)} + info := bindataFileInfo{name: "operators.coreos.com_operatorconditions.yaml", size: 9584, mode: os.FileMode(436), modTime: time.Unix(1618417074, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -179,7 +179,7 @@ func operatorsCoreosCom_operatorgroupsYaml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "operators.coreos.com_operatorgroups.yaml", size: 14332, mode: os.FileMode(420), modTime: time.Unix(1617890610, 0)} + info := bindataFileInfo{name: "operators.coreos.com_operatorgroups.yaml", size: 14332, mode: os.FileMode(436), modTime: time.Unix(1618417074, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -199,7 +199,7 @@ func operatorsCoreosCom_operatorsYaml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "operators.coreos.com_operators.yaml", size: 8472, mode: os.FileMode(420), modTime: time.Unix(1617890610, 0)} + info := bindataFileInfo{name: "operators.coreos.com_operators.yaml", size: 8472, mode: os.FileMode(436), modTime: time.Unix(1618417075, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -219,7 +219,7 @@ func operatorsCoreosCom_subscriptionsYaml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "operators.coreos.com_subscriptions.yaml", size: 107523, mode: os.FileMode(420), modTime: time.Unix(1617890610, 0)} + info := bindataFileInfo{name: "operators.coreos.com_subscriptions.yaml", size: 107523, mode: os.FileMode(436), modTime: time.Unix(1618417075, 0)} a := &asset{bytes: bytes, info: info} return a, nil } From 39df6126b9c7fa99cf902c583e38795a0ae1facd Mon Sep 17 00:00:00 2001 From: Ish Shah Date: Mon, 7 Jun 2021 08:48:53 -0700 Subject: [PATCH 3/4] repaird generated files Signed-off-by: Ish Shah --- crds/zz_defs.go | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/crds/zz_defs.go b/crds/zz_defs.go index da2dc3281..9640ff382 100644 --- a/crds/zz_defs.go +++ b/crds/zz_defs.go @@ -1,6 +1,6 @@ // Code generated by go-bindata. (@generated) DO NOT EDIT. - //Package crds generated by go-bindata.// sources: +//Package crds generated by go-bindata.// sources: // operators.coreos.com_catalogsources.yaml // operators.coreos.com_clusterserviceversions.yaml // operators.coreos.com_installplans.yaml @@ -99,11 +99,7 @@ func operatorsCoreosCom_catalogsourcesYaml() (*asset, error) { return nil, err } -<<<<<<< HEAD - info := bindataFileInfo{name: "operators.coreos.com_catalogsources.yaml", size: 7725, mode: os.FileMode(436), modTime: time.Unix(1618417073, 0)} -======= info := bindataFileInfo{name: "operators.coreos.com_catalogsources.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} ->>>>>>> upstream/master a := &asset{bytes: bytes, info: info} return a, nil } @@ -123,11 +119,7 @@ func operatorsCoreosCom_clusterserviceversionsYaml() (*asset, error) { return nil, err } -<<<<<<< HEAD - info := bindataFileInfo{name: "operators.coreos.com_clusterserviceversions.yaml", size: 462335, mode: os.FileMode(436), modTime: time.Unix(1618417073, 0)} -======= info := bindataFileInfo{name: "operators.coreos.com_clusterserviceversions.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} ->>>>>>> upstream/master a := &asset{bytes: bytes, info: info} return a, nil } @@ -147,11 +139,7 @@ func operatorsCoreosCom_installplansYaml() (*asset, error) { return nil, err } -<<<<<<< HEAD - info := bindataFileInfo{name: "operators.coreos.com_installplans.yaml", size: 14077, mode: os.FileMode(436), modTime: time.Unix(1618417074, 0)} -======= info := bindataFileInfo{name: "operators.coreos.com_installplans.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} ->>>>>>> upstream/master a := &asset{bytes: bytes, info: info} return a, nil } @@ -171,11 +159,7 @@ func operatorsCoreosCom_operatorconditionsYaml() (*asset, error) { return nil, err } -<<<<<<< HEAD - info := bindataFileInfo{name: "operators.coreos.com_operatorconditions.yaml", size: 9584, mode: os.FileMode(436), modTime: time.Unix(1618417074, 0)} -======= info := bindataFileInfo{name: "operators.coreos.com_operatorconditions.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} ->>>>>>> upstream/master a := &asset{bytes: bytes, info: info} return a, nil } @@ -195,11 +179,7 @@ func operatorsCoreosCom_operatorgroupsYaml() (*asset, error) { return nil, err } -<<<<<<< HEAD - info := bindataFileInfo{name: "operators.coreos.com_operatorgroups.yaml", size: 14332, mode: os.FileMode(436), modTime: time.Unix(1618417074, 0)} -======= info := bindataFileInfo{name: "operators.coreos.com_operatorgroups.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} ->>>>>>> upstream/master a := &asset{bytes: bytes, info: info} return a, nil } @@ -219,11 +199,7 @@ func operatorsCoreosCom_operatorsYaml() (*asset, error) { return nil, err } -<<<<<<< HEAD - info := bindataFileInfo{name: "operators.coreos.com_operators.yaml", size: 8472, mode: os.FileMode(436), modTime: time.Unix(1618417075, 0)} -======= info := bindataFileInfo{name: "operators.coreos.com_operators.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} ->>>>>>> upstream/master a := &asset{bytes: bytes, info: info} return a, nil } @@ -243,11 +219,7 @@ func operatorsCoreosCom_subscriptionsYaml() (*asset, error) { return nil, err } -<<<<<<< HEAD - info := bindataFileInfo{name: "operators.coreos.com_subscriptions.yaml", size: 107523, mode: os.FileMode(436), modTime: time.Unix(1618417075, 0)} -======= info := bindataFileInfo{name: "operators.coreos.com_subscriptions.yaml", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} ->>>>>>> upstream/master a := &asset{bytes: bytes, info: info} return a, nil } From 63b95aa074a987a428c8e5b14e093129b6cf0ec0 Mon Sep 17 00:00:00 2001 From: Ish Shah Date: Tue, 15 Jun 2021 13:51:33 -0700 Subject: [PATCH 4/4] gen manifests Signed-off-by: Ish Shah --- crds/zz_defs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crds/zz_defs.go b/crds/zz_defs.go index 79b61d0db..6a015ba88 100644 --- a/crds/zz_defs.go +++ b/crds/zz_defs.go @@ -1,6 +1,6 @@ // Code generated by go-bindata. (@generated) DO NOT EDIT. -//Package crds generated by go-bindata.// sources: + //Package crds generated by go-bindata.// sources: // operators.coreos.com_catalogsources.yaml // operators.coreos.com_clusterserviceversions.yaml // operators.coreos.com_installplans.yaml