Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
44f74a48
Commit
44f74a48
authored
Sep 03, 2020
by
vipwzw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto ci
parent
37f52000
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
allRelayerTest.sh
plugin/dapp/x2ethereum/cmd/build/allRelayerTest.sh
+1
-1
publicTest.sh
plugin/dapp/x2ethereum/cmd/build/publicTest.sh
+4
-4
sleep.sh
plugin/dapp/x2ethereum/cmd/build/sleep.sh
+1
-2
No files found.
plugin/dapp/x2ethereum/cmd/build/allRelayerTest.sh
View file @
44f74a48
...
...
@@ -102,7 +102,7 @@ function StartRelayerAndDeploy() {
# 修改 relayer.toml 配置文件
updata_relayer_toml
"
${
BridgeRegistry
}
"
${
maturityDegree
}
"./relayer.toml"
# 重启
start_ebrelayerA
start_ebrelayerA
# start ebrelayer B C D
for
name
in
b c d
;
do
...
...
plugin/dapp/x2ethereum/cmd/build/publicTest.sh
View file @
44f74a48
...
...
@@ -15,7 +15,7 @@ NOC='\033[0m'
# 出错退出前拷贝日志文件
function
exit_cp_file
()
{
# shellcheck disable=SC2116
# dirNameFa=$(echo ~)
# dirNameFa=$(echo ~)
dirName
=
"/x2ethereumlogs"
if
[
!
-d
"
${
dirName
}
"
]
;
then
...
...
@@ -36,7 +36,7 @@ function copyErrLogs() {
if
[
-n
"
$CASE_ERR
"
]
;
then
# /var/lib/jenkins
# shellcheck disable=SC2116
# dirNameFa=$(echo ~)
# dirNameFa=$(echo ~)
dirName
=
"/x2ethereumlogs"
if
[
!
-d
"
${
dirName
}
"
]
;
then
...
...
@@ -128,14 +128,14 @@ function start_docker_ebrelayer() {
fi
# 后台启动程序
docker
exec
"
$1
"
nohup
"
${
2
}
"
>
"
${
3
}
"
2>&1 &
docker
exec
"
$1
"
nohup
"
${
2
}
"
>
"
${
3
}
"
2>&1 &
sleep
2
# shellcheck disable=SC2009
pid
=
$(
docker
exec
"
$1
"
ps
-ef
|
grep
"
$2
"
|
grep
-v
'grep'
|
awk
'{print $2}'
)
local
count
=
0
while
[
"
${
pid
}
"
==
""
]
;
do
docker
exec
"
$1
"
nohup
"
${
2
}
"
>
"
${
3
}
"
2>&1 &
docker
exec
"
$1
"
nohup
"
${
2
}
"
>
"
${
3
}
"
2>&1 &
sleep
2
count
=
$((
count
+
1
))
...
...
plugin/dapp/x2ethereum/cmd/build/sleep.sh
View file @
44f74a48
...
...
@@ -6,4 +6,4 @@ set +e
while
[
1
==
1
]
;
do
sleep
100
done
\ No newline at end of file
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment