Skip to content

Commit

Permalink
Update circle/config use latest branch and add test
Browse files Browse the repository at this point in the history
  • Loading branch information
MizukiSonoko committed May 3, 2017
1 parent d236378 commit e174ae9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ jobs:
docker-compose up -d
docker-compose scale iroha=4
IP=$(docker inspect --format "{{ .NetworkSettings.Networks.iroha_private.IPAddress }}" $(docker ps -lq))
TAG=$(echo $CIRCLE_BRANCH | sed "s/[^a-zA-Z0-9_\-\.]/./g")
#docker run --rm -it hyperledger/iroha-docker sh -c "/iroha/bin/issue_transaction AddAsset Asset "
docker run --rm -it hyperledger/iroha-docker:$TAG sh -c "/iroha/bin/add_peer key $(IP) ledger"
docker stop $(docker ps -qln 4)
docker rm $(docker ps -qln 4)
Expand Down

0 comments on commit e174ae9

Please sign in to comment.