mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
* Import Full Stack Asset Transfer Guide at commit fb554befdbbeff9e69159b54fce0b811603f29c7 Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> * Update the workshop with a new WORKSHOP_PATH under fabric-samples Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> * Update the workshop with a new WORKSHOP_PATH under fabric-samples Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> * missed a .git ignored directory on add Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> * Updates to run the workshop on the Apple M1 Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> * Workaround for https://github.com/eslint/eslint/issues/15299 in the contract tslinter Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> * Build an arch-specific CC images on M1 Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> * empty commit - force a build Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> * revert an accidental commit that was building the top-level asset-transfer as arm64 Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
---
|
|
- name: Commit chaincode
|
|
hosts: localhost
|
|
vars:
|
|
wallet: "/_cfg"
|
|
vars_files:
|
|
- /_cfg/asset-transfer-chaincode-vars.yml
|
|
- /_cfg/fabric-common-vars.yml
|
|
- /_cfg/fabric-org1-vars.yml
|
|
- /_cfg/auth-vars.yml
|
|
tasks:
|
|
- name: Commit the chaincode on the channel
|
|
ibm.blockchain_platform.committed_chaincode:
|
|
api_endpoint: "{{ api_endpoint }}"
|
|
api_authtype: "{{ api_authtype }}"
|
|
api_key: "{{ api_key }}"
|
|
api_secret: "{{ api_secret | default(omit) }}"
|
|
api_token_endpoint: "{{ api_token_endpoint | default(omit) }}"
|
|
peer: "{{ org1_peer_name }}"
|
|
identity: "{{ wallet }}/{{ org1_name }} Admin.json"
|
|
msp_id: "{{ org1_msp_id }}"
|
|
channel: "{{ channel_name }}"
|
|
organizations:
|
|
- "{{ org1_name }}"
|
|
- "{{ org2_name }}"
|
|
name: "{{ smart_contract_name }}"
|
|
version: "{{ smart_contract_version }}"
|
|
sequence: "{{ smart_contract_sequence }}"
|
|
endorsement_policy: "{{ smart_contract_endorsement_policy | default(omit) }}"
|
|
collections_config: "{{ smart_contract_collections_file | default(omit) }}"
|