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
f4bce91c
Commit
f4bce91c
authored
Mar 26, 2019
by
kingwang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'update_0325' of
https://github.com/vipwzw/plugin
into update_0325
parents
913e944a
6954d302
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
Jenkinsfile
Jenkinsfile
+1
-1
Makefile
Makefile
+2
-2
docker-compose-pre.sh
build/docker-compose-pre.sh
+2
-0
No files found.
Jenkinsfile
View file @
f4bce91c
...
@@ -22,7 +22,7 @@ pipeline {
...
@@ -22,7 +22,7 @@ pipeline {
dir
(
"${PROJ_DIR}"
){
dir
(
"${PROJ_DIR}"
){
gitlabCommitStatus
(
name:
'deploy'
){
gitlabCommitStatus
(
name:
'deploy'
){
sh
'make build_ci'
sh
'make build_ci'
sh
"cd build && mkdir ${env.BUILD_NUMBER} && cp ci/* ${env.BUILD_NUMBER} -r && cp chain33* Dockerfile* docker* *.sh ${env.BUILD_NUMBER}/ && cd ${env.BUILD_NUMBER}/ && ./docker-compose-pre.sh run ${env.BUILD_NUMBER} all "
sh
"cd build && mkdir ${env.BUILD_NUMBER} && cp ci/* ${env.BUILD_NUMBER} -r &&
./docker-compose-pre.sh modify &&
cp chain33* Dockerfile* docker* *.sh ${env.BUILD_NUMBER}/ && cd ${env.BUILD_NUMBER}/ && ./docker-compose-pre.sh run ${env.BUILD_NUMBER} all "
}
}
}
}
}
}
...
...
Makefile
View file @
f4bce91c
...
@@ -122,7 +122,7 @@ docker-compose: ## build docker-compose for chain33 run
...
@@ -122,7 +122,7 @@ docker-compose: ## build docker-compose for chain33 run
@
cd
build
&&
if
!
[
-d
ci
]
;
then
\
@
cd
build
&&
if
!
[
-d
ci
]
;
then
\
make
-C
../
;
\
make
-C
../
;
\
fi
;
\
fi
;
\
cp
chain33
*
Dockerfile docker-compose
*
ci/
&&
cd
ci/
&&
./docker-compose-pre.sh run
$(proj)
$(dapp)
&&
cd
../..
./docker-compose-pre.sh modify
&&
cp
chain33
*
Dockerfile docker-compose
*
ci/
&&
cd
ci/
&&
./docker-compose-pre.sh run
$(proj)
$(dapp)
&&
cd
../..
docker-compose-down
:
##
build docker-compose for chain33 run
docker-compose-down
:
##
build docker-compose for chain33 run
@
cd
build
&&
if
[
-d
ci
]
;
then
\
@
cd
build
&&
if
[
-d
ci
]
;
then
\
...
@@ -131,7 +131,7 @@ docker-compose-down: ## build docker-compose for chain33 run
...
@@ -131,7 +131,7 @@ docker-compose-down: ## build docker-compose for chain33 run
cd
..
cd
..
fork-test
:
##
build fork-test for chain33 run
fork-test
:
##
build fork-test for chain33 run
@
cd
build
&&
cp
chain33
*
Dockerfile system-fork-test.sh docker-compose
*
ci/
&&
cd
ci/
&&
./docker-compose-pre.sh forktest
$(proj)
$(dapp)
&&
cd
../..
@
cd
build
&&
./docker-compose-pre.sh modify
&&
cp
chain33
*
Dockerfile system-fork-test.sh docker-compose
*
ci/
&&
cd
ci/
&&
./docker-compose-pre.sh forktest
$(proj)
$(dapp)
&&
cd
../..
clean
:
##
Remove previous build
clean
:
##
Remove previous build
...
...
build/docker-compose-pre.sh
View file @
f4bce91c
...
@@ -126,6 +126,8 @@ function main() {
...
@@ -126,6 +126,8 @@ function main() {
else
else
./system-fork-test.sh
"
${
PROJ
}
"
./system-fork-test.sh
"
${
PROJ
}
"
fi
fi
elif
[
"
${
OP
}
"
==
"modify"
]
;
then
sed
-i
$sedfix
'/^useGithub=.*/a version=1'
chain33.toml
fi
fi
}
}
...
...
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