-
Notifications
You must be signed in to change notification settings - Fork 0
/
run
executable file
·30 lines (20 loc) · 1.04 KB
/
run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
set -xe
# clear out the configuration
rm -f _cfg && mkdir -p _cfg
# let's assume a KIND cluster running locally
just kind
# Get the Organizations' private configuration along with the public configuration
just sail
# install the operator and console
# (assuming in this case they are running in the same cluster, so this is needed just once)
just runpb playbooks/operator_console_playbooks/01-operator-install.yml
just runpb playbooks/operator_console_playbooks/02-console-install.yml
# Creat the Fabric components needed per organization
just runpb playbooks/fabric_network_playbooks/00-org1.yml
just runpb playbooks/fabric_network_playbooks/01-org2.yml
# Install and Approve the Chaincode
just runpb playbooks/production_chaincode_playbooks/01-org1-install-and-approve-chaincode.yml
just runpb playbooks/production_chaincode_playbooks/02-org2-install-and-approve-chaincode.yml
just runpb playbooks/production_chaincode_playbooks/03-org1-commit-chaincode.yml
just runpb playbooks/production_chaincode_playbooks/04-org1-register-application.yml