Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions platforms/hyperledger-fabric/configuration/deploy-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,42 @@
kubernetes: "{{ org.k8s }}"
generateGenisis: true

# This role creates the value file for creating channel from creator organization
# to the vault.
- name: Create all create-channel jobs
include_role:
name: "create/channels"
vars:
build_path: "./build"
participants: "{{ item.participants }}"
docker_url: "{{ network.docker.url }}"
channel_name: "{{ item.channel_name | lower }}"
loop: "{{ network['channels'] }}"
when: item.channel_status == 'new' and ('2.2.' in network.version or '1.4.' in network.version)

# This role creates the value file for creating channel from creator organization
# to the vault.
- name: Create all osnadmin create-channel jobs
include_role:
name: "create/osnchannels"
vars:
build_path: "./build"
docker_url: "{{ network.docker.url }}"
loop: "{{ network['channels'] }}"
when: item.channel_status == 'new' and '2.5.' in network.version

# This role creates the value file for joining channel from each participating peer
# to the vault.
- name: Create all join-channel jobs
include_role:
name: "create/channels_join"
vars:
build_path: "./build"
participants: "{{ item.participants }}"
docker_url: "{{ network.docker.url }}"
loop: "{{ network['channels'] }}"
when: item.channel_status == 'new'

vars: #These variables can be overriden from the command line
privilege_escalate: false #Default to NOT escalate to root privledges
install_os: "linux" #Default to linux OS
Expand Down