-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-17001 Delete chaincode package on build fail
The new lifecycle has no existing contract to honor with respect to installing chaincodes which are not buildable at install time, so it is odd that we adhere to that contract from the previous LSCC case. This CR changes the new lifecycle to delete the chaincode from the filesystem if the build is unsuccessful, under the assumption that future attempts to build this chaincode will similarly fail, and the package will simply be taking up space on the filesystem. Signed-off-by: Jason Yellick <[email protected]> Change-Id: I7d12a767dbaf6c9d0b497139c4a99793b4d29a16
- Loading branch information
Jason Yellick
committed
Nov 8, 2019
1 parent
6707428
commit 8ff17e1
Showing
5 changed files
with
127 additions
and
4 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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