-
Notifications
You must be signed in to change notification settings - Fork 444
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
add update function for docker agent #217
Conversation
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.
ok
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.
The first line of commit msg should be started with capitalized letter.
elif act == 'update': | ||
|
||
env = { | ||
'HLF_NODE_MSP': request.form.get('msp'), |
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.
Need to ignore empty values.
And add test result in the commit msg.
d7f1390
to
e9c9d98
Compare
@yeasy I did not find |
e9c9d98
to
04b046c
Compare
You should create a new update.sh. The image is built from the cello-hlf Dockerfile. |
04b046c
to
858fe19
Compare
data = { | ||
'msp':base64.b64encode(node_msp.read()), | ||
'tls':base64.b64encode(tls.read()), | ||
'bootstrap_block':base64.b64encode(block.read()), | ||
'peer_config_file':base64.b64encode(peer_config.read()), | ||
'orderer_config_file':base64.b64encode(orderer_config.read()), | ||
'img': 'yeasy/hyperledger-fabric:2.2.0', | ||
# 'img': 'yeasy/hyperledger-fabric:2.2.0', |
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.
@yeasy Do I need to delete this line or can I leave for a reference?
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.
Better change it to hyperledger/cello-hlf:2.2.0
.
858fe19
to
0526fb1
Compare
@yeasy ok, I've changed accordingly |
0526fb1
to
74d7cc5
Compare
* add update function * add update.sh at docker image * add test Signed-off-by: Dixing (Dex) Xu <dixingxu@gmail.com>
74d7cc5
to
5d72295
Compare
Signed-off-by: Dixing (Dex) Xu dixingxu@gmail.com