Commit 9e7e5c4c authored by madengji's avatar madengji Committed by 33cn

format

parent a742e0b5
...@@ -83,7 +83,7 @@ jobs: ...@@ -83,7 +83,7 @@ jobs:
make autotest dapp=all make autotest dapp=all
ci_base: ci_base:
name: base name: ci_base
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up Golang - name: Set up Golang
...@@ -100,8 +100,8 @@ jobs: ...@@ -100,8 +100,8 @@ jobs:
make docker-compose make docker-compose
make docker-compose-down make docker-compose-down
ci_paracross: ci_relay:
name: paracross name: ci_relay
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up Golang - name: Set up Golang
...@@ -115,11 +115,11 @@ jobs: ...@@ -115,11 +115,11 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: deploy - name: deploy
run: | run: |
make docker-compose dapp=paracross make docker-compose dapp=relay
make docker-compose-down dapp=paracross make docker-compose-down dapp=relay
ci_x2ethereum: ci_paracross:
name: x2ethereum name: ci_paracross
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up Golang - name: Set up Golang
...@@ -133,11 +133,11 @@ jobs: ...@@ -133,11 +133,11 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: deploy - name: deploy
run: | run: |
make docker-compose dapp=x2ethereum make docker-compose dapp=paracross
make docker-compose-down dapp=x2ethereum make docker-compose-down dapp=paracross
ci_relay: ci_x2ethereum:
name: relay name: ci_x2ethereum
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up Golang - name: Set up Golang
...@@ -151,6 +151,9 @@ jobs: ...@@ -151,6 +151,9 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: deploy - name: deploy
run: | run: |
make docker-compose dapp=relay make
make docker-compose-down dapp=relay make docker-compose dapp=x2ethereum
make docker-compose-down dapp=x2ethereum
...@@ -529,9 +529,11 @@ function TestETH2Chain33Erc20Kill() { ...@@ -529,9 +529,11 @@ function TestETH2Chain33Erc20Kill() {
function AllRelayerMainTest() { function AllRelayerMainTest() {
set +e set +e
# docker_chain33_ip=$(docker inspect "${NODE3}" | jq ".[].NetworkSettings.Networks" | grep "IPAddress" | awk '{ print $2}' | sed 's/\"//g' | sed 's/,//g') docker_chain33_ip=$(docker inspect "${NODE3}" | jq ".[].NetworkSettings.Networks" | grep "IPAddress" | awk '{ print $2}' | sed 's/\"//g' | sed 's/,//g')
# Chain33Cli="$GOPATH/src/github.com/33cn/plugin/build/chain33-cli --rpc_laddr http://${docker_chain33_ip}:8801"
Chain33Cli="$GOPATH/src/github.com/33cn/plugin/build/chain33-cli --rpc_laddr http://${docker_chain33_ip}:8801"
echo "GOPATH=$GOPATH"
echo "Chain33Cli=$Chain33Cli"
echo -e "${GRE}=========== $FUNCNAME begin ===========${NOC}" echo -e "${GRE}=========== $FUNCNAME begin ===========${NOC}"
if [[ ${1} != "" ]]; then if [[ ${1} != "" ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment