Commit 2efb8249 authored by jiangpeng's avatar jiangpeng Committed by vipwzw

scripts:update ci

parent bf454850
...@@ -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
......
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