Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Go to v1.16.7 and alpine to 3.14 (release-2.3) #2874

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

denyeart
Copy link
Contributor

@denyeart denyeart commented Aug 30, 2021

Update Go to v1.16.7.
Go module support is assumed starting in Go v1.16.
Therefore, for chaincodes without go modules (such as in the integration tests),
need to explicitly set GO111MODULE to off otherwise chaincode will not compile.
See Go v1.16 release notes for more details: https://golang.org/doc/go1.16#go-command

As part of troubleshooting the Go upgrade, also added debug for the chaincode
compile command.

Also update alpine to 3.14.

Signed-off-by: David Enyeart enyeart@us.ibm.com

@denyeart denyeart requested a review from a team as a code owner August 30, 2021 16:43
@denyeart denyeart force-pushed the go1.16.7_2.3 branch 2 times, most recently from 2ba6351 to b83ca5a Compare August 30, 2021 17:04
@denyeart denyeart changed the title Update Go to v1.16.7 Update Go to v1.16.7 (release-2.3) Aug 30, 2021
@denyeart denyeart changed the title Update Go to v1.16.7 (release-2.3) Update Go to v1.16.7 and alpine to 3.14 (release-2.3) Aug 30, 2021
yacovm
yacovm previously approved these changes Aug 30, 2021
Update Go to v1.16.7.
Go module support is assumed starting in Go v1.16.
Therefore, for chaincodes without go modules (such as in the integration tests),
need to explicitly set GO111MODULE to off otherwise chaincode will not compile.
See Go v1.16 release notes for more details: https://golang.org/doc/go1.16#go-command

As part of troubleshooting the Go upgrade, also added debug for the chaincode
compile command.

Also update alpine to 3.14.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
@yacovm yacovm merged commit 5be686f into hyperledger:release-2.3 Aug 31, 2021
C0rWin pushed a commit to C0rWin/fabric that referenced this pull request Sep 24, 2022
* Clean up Go modules

Run "go mod tidy" to clean up Go modules.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>

* Update Go to v1.16.7 and alpine to 3.14

Update Go to v1.16.7.
Go module support is assumed starting in Go v1.16.
Therefore, for chaincodes without go modules (such as in the integration tests),
need to explicitly set GO111MODULE to off otherwise chaincode will not compile.
See Go v1.16 release notes for more details: https://golang.org/doc/go1.16#go-command

As part of troubleshooting the Go upgrade, also added debug for the chaincode
compile command.

Also update alpine to 3.14.

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants