From 67d5f0fd573497c199d0e0ac7ab79fe3ddf535d1 Mon Sep 17 00:00:00 2001 From: satellitex Date: Wed, 15 Mar 2017 23:38:14 +0900 Subject: [PATCH] reverse correct cirlce.ym; --- circle.yml | 22 ---------------------- docker/to-issue-transaction/Dockerfile | 0 2 files changed, 22 deletions(-) create mode 100644 docker/to-issue-transaction/Dockerfile diff --git a/circle.yml b/circle.yml index 5260d159ce..3cd9a3f61d 100644 --- a/circle.yml +++ b/circle.yml @@ -43,30 +43,8 @@ test: - export ID=$(docker run -it -d -p 1204:1204 hyperledger/iroha-docker /run.sh); echo "ID=$ID" >> ~/.bashrc # put new tests below - curl -X POST http://127.0.0.1:1204/account/register -d '{"publicKey":"WdvM/DPabapmtA7ISbTYPywbHxk8gWu2221LzmcmAgw=","alias":"yonezu","timestamp":1482053586}' - # docker-peer-service TEST (add peer) - - docker network create --subnet=172.20.0.0/16 iroha-network - - > - docker run -dit \ - --net=iroha-network \ - --ip=172.20.0.2 \ - --name iroha1 \ - -v $IROHA_HOME/config/sumeragi1.json:/usr/local/iroha/config/sumeragi.json \ - hyperledger/iroha-docker - - > - docker run -dit \ - --net=iroha-network \ - --ip=172.20.0.3 \ - --name iroha2 \ - -v $IROHA_HOME/config/sumeragi2.json:/usr/local/iroha/config/sumeragi.json \ - hyperledger/iroha-docker - # docker exec -it iroha1 sh -c '/usr/local/iroha/bin/issue_transaction add peer yUAFTYNh6qkhBMiNgNdg45Wk/XHOGYanuIroY9skfPQ= 172.20.0.3 1.0 true' - - sudo lxc-attach -n "$(docker inspect --format '{{.Id}}' iroha1)" -- /bin/sh -c '/usr/local/iroha/bin/issue_transaction add peer yUAFTYNh6qkhBMiNgNdg45Wk/XHOGYanuIroY9skfPQ= 172.20.0.3 1.0 true' post: - # iroha1 logs - - docker logs iroha1 - # iroha2 logs - - docker logs iroha2 # iroha-main logs - docker logs $ID # if node is alive, then iroha-main still works, otherwise test is failed diff --git a/docker/to-issue-transaction/Dockerfile b/docker/to-issue-transaction/Dockerfile new file mode 100644 index 0000000000..e69de29bb2