Skip to content

Commit c7590b6

Browse files
Fixes alibabacloud-go/cr-20160607 license (#1301)
- This patch fixes alibabacloud-go/cr-20160607 license using a fork + replace, to take over the LICENSE check by replacing github.com/alibabacloud-go/cr-20160607 => github.com/vdemeester/cr-20160607 v1.0.1 - Removes golang lint check from presubmit.sh as lint check is done in the workflow Signed-off-by: PuneetPunamiya <ppunamiy@redhat.com>
1 parent b0cb959 commit c7590b6

File tree

5 files changed

+209
-12
lines changed

5 files changed

+209
-12
lines changed

go.mod

+4-1
Original file line numberDiff line numberDiff line change
@@ -477,4 +477,7 @@ require (
477477

478478
// Replace glog to fix flag collision between klog and glog.
479479
// See https://github.com/sigstore/policy-controller/pull/112
480-
replace github.com/golang/glog => github.com/jdolitsky/glog v0.0.0-20220729172235-78744e90d087
480+
replace (
481+
github.com/alibabacloud-go/cr-20160607 => github.com/vdemeester/cr-20160607 v1.0.1
482+
github.com/golang/glog => github.com/jdolitsky/glog v0.0.0-20220729172235-78744e90d087
483+
)

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,6 @@ github.com/alexkohler/prealloc v1.0.0/go.mod h1:VetnK3dIgFBBKmg0YnD9F9x6Icjd+9cv
219219
github.com/alibabacloud-go/alibabacloud-gateway-spi v0.0.2/go.mod h1:sCavSAvdzOjul4cEqeVtvlSaSScfNsTQ+46HwlTL1hc=
220220
github.com/alibabacloud-go/alibabacloud-gateway-spi v0.0.4 h1:iC9YFYKDGEy3n/FtqJnOkZsene9olVspKmkX5A2YBEo=
221221
github.com/alibabacloud-go/alibabacloud-gateway-spi v0.0.4/go.mod h1:sCavSAvdzOjul4cEqeVtvlSaSScfNsTQ+46HwlTL1hc=
222-
github.com/alibabacloud-go/cr-20160607 v1.0.1 h1:WEnP1iPFKJU74ryUKh/YDPHoxMZawqlPajOymyNAkts=
223-
github.com/alibabacloud-go/cr-20160607 v1.0.1/go.mod h1:QHeKZtZ3F3FOE+/uIXCBAp8POwnUYekpLwr1dtQa5r0=
224222
github.com/alibabacloud-go/cr-20181201 v1.0.10 h1:B60f6S1imsgn2fgC6X6FrVNrONDrbCT0NwYhsJ0C9/c=
225223
github.com/alibabacloud-go/cr-20181201 v1.0.10/go.mod h1:VN9orB/w5G20FjytoSpZROqu9ZqxwycASmGqYUJSoDc=
226224
github.com/alibabacloud-go/darabonba-openapi v0.1.12/go.mod h1:sTAjsFJmVsmcVeklL9d9uDBlFsgl43wZ6jhI6BHqHqU=
@@ -1363,6 +1361,8 @@ github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6Kllzaw
13631361
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
13641362
github.com/vbatts/tar-split v0.11.6 h1:4SjTW5+PU11n6fZenf2IPoV8/tz3AaYHMWjf23envGs=
13651363
github.com/vbatts/tar-split v0.11.6/go.mod h1:dqKNtesIOr2j2Qv3W/cHjnvk9I8+G7oAkFDFN6TCBEI=
1364+
github.com/vdemeester/cr-20160607 v1.0.1 h1:nHyI7BZNR04QFtgItJFVAr8SLeoVIFd8co+DODxnPKE=
1365+
github.com/vdemeester/cr-20160607 v1.0.1/go.mod h1:QHeKZtZ3F3FOE+/uIXCBAp8POwnUYekpLwr1dtQa5r0=
13661366
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
13671367
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
13681368
github.com/xanzy/go-gitlab v0.109.0 h1:RcRme5w8VpLXTSTTMZdVoQWY37qTJWg+gwdQl4aAttE=

test/presubmit-tests.sh

-8
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ export DISABLE_YAML_LINTING=1
3030
source "$(git rev-parse --show-toplevel)"/vendor/github.com/tektoncd/plumbing/scripts/presubmit-tests.sh
3131

3232
function post_build_tests() {
33-
echo Installing tools from hack/tools.go
34-
go list -f '{{range .Imports}}{{.}} {{end}}' hack/tools.go | xargs go install
35-
36-
header "running golangci-lint"
37-
# deadline of 10m, and show all the issues
38-
golangci-lint --color=never --timeout 10m run
39-
40-
4133
header "copyright licenses check"
4234
addlicense -ignore "vendor/**" -ignore "third_party/**" -l apache -c 'The Tekton Authors' -v *
4335
git diff --exit-code

vendor/github.com/alibabacloud-go/cr-20160607/LICENSE

+201
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)