Skip to content

Commit 2af6b9e

Browse files
authored
Merge f0275e9 into 6303fc0
2 parents 6303fc0 + f0275e9 commit 2af6b9e

20 files changed

+38
-39
lines changed

.github/workflows/ci_check_bcos3.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: bcos3-normal-gm
33
on: [pull_request]
44

55
jobs:
6-
normal-gm:
6+
bcos3-normal-gm:
77
runs-on: ubuntu-20.04
88
steps:
99
- uses: actions/checkout@v2
@@ -21,7 +21,7 @@ jobs:
2121
mysql -u root --password=123456 -h 127.0.0.1 -P 3306 -e 'status;'
2222
mysql --host 127.0.0.1 --port 3306 -uroot -p123456 -e "SHOW DATABASES"
2323
24-
- name: run ci_cross_gm_demo_check.sh
24+
- name: run ci_cross_bcos3_demo_check.sh
2525
# The script only use ${1} as branch name. if GITHUB_BASE_REF is blank use GITHUB_REF
2626
run: bash -x .ci/ci_cross_bcos3_demo_check.sh ${GITHUB_BASE_REF} ${GITHUB_REF#refs/heads/}
2727
env:

.github/workflows/ci_check_bcos_fabric.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [pull_request]
44

55
jobs:
66
bcos-fabric:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-20.04
88
steps:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v2-beta

.github/workflows/ci_check_bcos_fabric2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [pull_request]
44

55
jobs:
66
bcos-fabric2:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-20.04
88
steps:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v2-beta

.github/workflows/ci_check_cross_all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: all-2groups-gm-fabric
1+
name: cross-all
22

33
on: [pull_request]
44

55
jobs:
66
cross-all:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-20.04
88
steps:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v2-beta

.github/workflows/ci_check_group_group.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [pull_request]
44

55
jobs:
66
group-group:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-20.04
88
steps:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v2-beta

.github/workflows/ci_check_normal_gm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [pull_request]
44

55
jobs:
66
normal-gm:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-20.04
88
steps:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v2-beta

.github/workflows/ci_check_unittest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on: [push, pull_request]
77

88
jobs:
99
unittest:
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-20.04
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: Set up JDK 1.8

demo/bcos3/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ build_accounts() {
6464
cd accounts
6565

6666
bash ../get_account.sh # normal
67-
mv accounts bcos_user1
67+
mv accounts bcos3_user1
6868
cd -
6969
}
7070

demo/bcos3/build_gm.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ build_bcos_chain() {
4545
# Build chain
4646
LOG_INFO "Build chain ..."
4747
# Setting to build 1 groups
48-
bash build_chain.sh -p 30500,20400 -l 127.0.0.1:1 -o ./nodes_gm -s
48+
bash build_chain.sh -p 30500,20400 -l 127.0.0.1:1 -o ./nodes_gm -s -w
4949

5050
./nodes_gm/127.0.0.1/start_all.sh
5151
}
@@ -54,7 +54,7 @@ build_accounts() {
5454
if [ ! -e get_gm_account.sh ]; then
5555
# Download
5656
LOG_INFO "Download get_gm_account.sh ..."
57-
Download https://${GITHUB_PROXY}raw.githubusercontent.com/FISCO-BCOS/console/${BCOS_VERSION}/tools/get_gm_account.sh
57+
Download "https://${GITHUB_PROXY}raw.githubusercontent.com/FISCO-BCOS/console/${BCOS3_VERSION}/tools/get_gm_account.sh"
5858
fi
5959

6060
chmod u+x get_gm_account.sh
@@ -64,16 +64,14 @@ build_accounts() {
6464
cd accounts
6565

6666
bash ../get_gm_account.sh # gm
67-
mv accounts_gm bcos_gm_user1
68-
bash ../get_gm_account.sh # gm2
69-
mv accounts_gm bcos_gm_user2
67+
mv accounts_gm bcos3_gm_user1
7068
cd -
7169
}
7270

7371
main() {
7472
build_bcos_chain "$1"
7573
build_accounts
76-
LOG_INFO "SUCCESS: Build FISCO BCOS GM demo finish."
74+
LOG_INFO "SUCCESS: Build FISCO BCOS GM WASM demo finish."
7775
}
7876

7977
main "$1"

demo/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ main() {
556556

557557
LOG_INFO "Success! WeCross demo network is running. Framework:"
558558
echo -e "
559-
FISCO BCOS Fabric
559+
FISCO BCOS2 Fabric
560560
(4node pbft) (first-network)
561561
(HelloWorld.sol) (sacc.go)
562562
| |

0 commit comments

Comments
 (0)