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
aa26f9c4
Commit
aa26f9c4
authored
Aug 23, 2019
by
harrylee
Committed by
vipwzw
Aug 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update makefile
parent
3faf2dca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
Makefile
Makefile
+3
-6
auto_deploy.sh
plugin/consensus/tendermint/tools/auto_deploy.sh
+2
-2
No files found.
Makefile
View file @
aa26f9c4
...
...
@@ -46,21 +46,18 @@ vet:
autotest
:
##
build autotest binary
@
cd
build/autotest
&&
bash ./build.sh
${
CHAIN33_PATH
}
&&
cd
../../
@
if
[
-n
"
$(dapp)
"
]
;
then
\
chmod
-R
755 build/autotest/local
\
&&
rm
-rf
build/autotest/local
\
rm
-rf
build/autotest/local
\
&&
cp
-r
$(CHAIN33_PATH)
/build/autotest/local
$(CHAIN33_PATH)
/build/autotest/
*
.sh build/autotest
\
&&
cd
build/autotest
&&
chmod
-R
755
local
&&
chmod
755
*
.sh
&&
bash ./copy-autotest.sh
local
\
&&
cd local
&&
bash ./local-autotest.sh
$(dapp)
\
&&
cd
../../../
;
fi
autotest_ci
:
autotest
##
autotest ci
@
chmod
-R
755 build/autotest/jerkinsci
\
&&
rm
-rf
build/autotest/jerkinsci
\
@
rm
-rf
build/autotest/jerkinsci
\
&&
cp
-r
$(CHAIN33_PATH)
/build/autotest/jerkinsci
$(CHAIN33_PATH)
/build/autotest/
*
.sh build/autotest/
\
cd
build/autotest
&&
chmod
-R
755 jerkinsci
&&
chmod
755
*
.sh
&&
bash ./copy-autotest.sh jerkinsci/temp
$(proj)
\
&&
cd
jerkinsci
&&
bash ./jerkins-ci-autotest.sh
$(proj)
&&
cd
../../../
autotest_tick
:
autotest
##
run with ticket mining
@
chmod
-R
755 build/autotest/gitlabci
\
&&
rm
-rf
build/autotest/gitlabci
\
@
rm
-rf
build/autotest/gitlabci
\
&&
cp
-r
$(CHAIN33_PATH)
/build/autotest/gitlabci
$(CHAIN33_PATH)
/build/autotest/
*
.sh build/autotest/
\
&&
cd
build/autotest
&&
chmod
-R
755 gitlabci
&&
chmod
755
*
.sh
&&
bash ./copy-autotest.sh gitlabci
\
&&
cd
gitlabci
&&
bash ./gitlab-ci-autotest.sh build
&&
cd
../../../
...
...
plugin/consensus/tendermint/tools/auto_deploy.sh
View file @
aa26f9c4
...
...
@@ -61,10 +61,10 @@ GetUserNamePasswdAndPath() {
remote_dir
=
$(
echo
"
${
destInfo
}
"
|
awk
-F
' '
'{print $3}'
)
echo
'Please input ip list of your destination: (such as "192.168.3.143 192.168.3.144 192.168.3.145 192.168.3.146")'
read
iplist
read
-a
iplist
index
=
0
CreateNewConfigFile
for
ip
in
"
${
iplist
}
"
;
do
for
ip
in
"
${
iplist
[@]
}
"
;
do
index
=
$((
index
+
1
))
{
echo
"[servers.
${
index
}
]"
...
...
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