Skip to content
Snippets Groups Projects
Commit 9937c361 authored by ratnakar's avatar ratnakar
Browse files

[FAB-3604] e2e_cli sample improvements


Covers the following :
1. Use cryptogen tool to generate org certificates for each run.

2. Make a generic docker-compose base file
   a. A docker-compose-cli.yaml extends the base and includes a cli
      container to run e2e test
   b. A docker-compose-e2e.yaml extends the base and includes
      fabric-ca container.(can be used for SDK or other tests)

3. A timer flag in docker-compose CLI container to stop killing CLI
   container

NOTE: A docker-compose-e2e-template.yaml also included. This is required
      to generate docker-compose-e2e.yaml, as we need to replace the
      private key dyamically.

USAGE:
	./network_setup.sh <up|down|restart> [channel] [CLI timeout in sec]

Ex:
	./network_setup.sh up mychannel 10
	This starts CLI with channelname mychannel, CLI timeout set to 10s

	./network_setup.sh down
	Shutdown the network and clear all the artifacts.

	./network_setup.sh restart xyz 10
	restarts the network.

Change-Id: I9bc80c0ad0e4dc259383038e7f69e3239a9409f3
Signed-off-by: default avatarratnakar <asara.ratnakar@gmail.com>
parent eff83808
Branches
Tags
No related merge requests found
Showing
with 253 additions and 161 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment