-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Utilize 2.5 images for java chaincode and node chaincode #4984
Conversation
@@ -303,22 +304,23 @@ chaincode: | |||
pull: false | |||
|
|||
golang: | |||
# golang will never need more than baseos | |||
# Compiled Go chaincodes will be copied to the fabric-baseos runtime image. | |||
# TWO_DIGIT_VERSION represents Fabric major.minor version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not do that for Golang too? The state of Golang chaincode is the same as the others :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go chaincode's fabric-ccenv and fabric-baseos images are built and published alongside fabric in this repository, might as well use the most recent images with latest Go.
@denyeart I have a few minor points that caught my attention, so I'd like to leave the following comments:
|
3d8296e
to
252f4a6
Compare
Thank you @satota2 , I've removed mention of javaenv and nodeenv from the install scripts since those scripts don't pull the javaenv and nodeenv images. For the documentation, I've realized that we don't describe the default chaincode builder process anywhere in the docs. I've updated the chaincode lifecycle topic to at least mention the docker images and refer readers to the config files for more details so that we don't have to include version information into the docs which may get outdated. For the samples, they still utilize Fabric v2.5, but I will soon update the samples to support both 2.5 and 3.0 and will handle the chaincode image versions accordingly. |
Java chaincode image javaenv and Node chaincode image nodeenv will continue to be maintained at version 2.5 instead of creating versions 3.0 of them. Therefore, instead of using the current Fabric TWO_DIGIT_VERSION for these chaincodes, hardcode them at 2.5 in the default sample config. Also, update documentation to mention the language-specific builders. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
252f4a6
to
86c7c2c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@denyeart Thank you for the updates, including the changes to the documentation. The changes look good to me!
I also understand the plan for updating fabric-samples. Thanks for the clarification.
Java chaincode image javaenv and
Node chaincode image nodeenv
will continue to be maintained at version 2.5
instead of creating versions 3.0 of them.
Therefore, instead of using the current Fabric TWO_DIGIT_VERSION for these chaincodes,
hardcode them at 2.5 in the default sample config.