-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade to latest dependencies (#1232)
bumping knative.dev/networking a477061...ae03989: > ae03989 upgrade to latest dependencies (# 951) bumping knative.dev/hack b985a5b...47368d6: > 47368d6 Check licenses only, but not bundle them (# 376) bumping knative.dev/pkg 2d1662a...1ca1f09: > 1ca1f09 upgrade to latest dependencies (# 2999) Signed-off-by: Knative Automation <[email protected]>
- Loading branch information
1 parent
159e663
commit 3655396
Showing
4 changed files
with
14 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -772,8 +772,8 @@ function __go_update_deps_for_module() { | |
remove_broken_symlinks ./vendor | ||
fi | ||
|
||
group "Updating licenses" | ||
update_licenses third_party/VENDOR-LICENSE "./..." | ||
group "Checking licenses" | ||
check_licenses | ||
) | ||
} | ||
|
||
|
@@ -809,18 +809,6 @@ function run_kntest() { | |
go_run knative.dev/test-infra/tools/kntest/cmd/kntest@latest "$@" | ||
} | ||
|
||
# Run go-licenses to update licenses. | ||
# Parameters: $1 - output file, relative to repo root dir. | ||
# $2 - directory to inspect. | ||
function update_licenses() { | ||
local dst=$1 | ||
local dir=$2 | ||
shift | ||
go_run github.com/google/[email protected] \ | ||
save "${dir}" --save_path="${dst}" --force || \ | ||
{ echo "--- FAIL: go-licenses failed to update licenses"; return 1; } | ||
} | ||
|
||
# Run go-licenses to check for forbidden licenses. | ||
function check_licenses() { | ||
# Check that we don't have any forbidden licenses. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters