forked from vmware-tanzu/velero
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add go buildinfo to velero to assist with vmware-tanzu#8397
Signed-off-by: Tiger Kaovilai <[email protected]>
- Loading branch information
Showing
6 changed files
with
28 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add go buildinfo to velero to identify toolchain used to build velero |
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 |
---|---|---|
@@ -1,5 +1,11 @@ | ||
module github.com/vmware-tanzu/velero | ||
|
||
// Do not pin patch version here. Leave patch at X.Y.0 | ||
// Unset GOTOOLCHAIN to assume GOTOOLCHAIN=local where go cli version in path is used. | ||
// Use env GOTOOLCHAIN=auto to allow go to decide whichever is newer from go.mod or cli in path. | ||
// or GOTOOLCHAIN=goX.Y.Z to use a specific toolchain version | ||
// See: https://go.dev/doc/toolchain#select and https://github.com/vmware-tanzu/velero/issues/8397 | ||
// To bump minor version, run `go get [email protected] toolchain@none` (ie. `go get [email protected] toolchain@none`) | ||
go 1.22.0 | ||
|
||
require ( | ||
|
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
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