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
2efb8249
Commit
2efb8249
authored
Dec 27, 2019
by
jiangpeng
Committed by
vipwzw
Dec 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scripts:update ci
parent
bf454850
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docker-compose-pre.sh
build/docker-compose-pre.sh
+2
-2
No files found.
build/docker-compose-pre.sh
View file @
2efb8249
...
@@ -10,8 +10,6 @@ if [ "$(uname)" == "Darwin" ]; then
...
@@ -10,8 +10,6 @@ if [ "$(uname)" == "Darwin" ]; then
sedfix
=
".bak"
sedfix
=
".bak"
fi
fi
cp
"
$(
go list
-f
"{{.Dir}}"
github.com/33cn/chain33
)
"
/build/system-test-rpc.sh ./
&&
chmod
664 ./system-test-rpc.sh
OP
=
"
${
1
}
"
OP
=
"
${
1
}
"
PROJ
=
"
${
2
}
"
PROJ
=
"
${
2
}
"
DAPP
=
"
${
3
}
"
DAPP
=
"
${
3
}
"
...
@@ -81,6 +79,8 @@ function run_single_app() {
...
@@ -81,6 +79,8 @@ function run_single_app() {
function
main
()
{
function
main
()
{
if
[
"
${
OP
}
"
==
"run"
]
;
then
if
[
"
${
OP
}
"
==
"run"
]
;
then
#copy chain33 system-test-rpc.sh
cp
"
$(
go list
-f
"{{.Dir}}"
github.com/33cn/chain33
)
"
/build/system-test-rpc.sh ./
if
[
"
${
DAPP
}
"
==
"all"
]
||
[
"
${
DAPP
}
"
==
"ALL"
]
;
then
if
[
"
${
DAPP
}
"
==
"all"
]
||
[
"
${
DAPP
}
"
==
"ALL"
]
;
then
echo
"============ run main start ================="
echo
"============ run main start ================="
if
!
./
${
DOCKER_COMPOSE_SH
}
"
$PROJ
"
;
then
if
!
./
${
DOCKER_COMPOSE_SH
}
"
$PROJ
"
;
then
...
...
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