Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
automatic-test
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
钟涨钱
automatic-test
Commits
d68de549
Commit
d68de549
authored
Oct 11, 2021
by
朽木不可雕也
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改docker部署脚本
parent
42b93225
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
start.sh
+3
-5
No files found.
start.sh
View file @
d68de549
...
@@ -3,13 +3,12 @@
...
@@ -3,13 +3,12 @@
name
=
"automatic-test"
name
=
"automatic-test"
alias
docker_local
=
"docker -H 192.168.0.119"
alias
docker_local
=
"docker -H 192.168.0.119"
if
mvn clean package
-Dmaven
.test.skip
=
true
-P
test
;
then
if
mvn clean package
-Dmaven
.test.skip
=
true
-P
test
;
then
docker_local container stop
${
name
}
docker_local container stop
${
name
}
&&
docker_local container rm
${
name
}
docker_local container rm
${
name
}
docker_local image rm
${
name
}
docker_local image rm
${
name
}
docker_local build
-t
${
name
}
.
docker_local build
-t
${
name
}
.
&&
docker_local container run
-d
-t
--name
=
${
name
}
-m
=
512M
--memory-swap
=
-1
\
docker_local container run
-d
-t
--name
=
${
name
}
-m
=
512M
--memory-swap
=
-1
\
--link
barrage-crawler-server:barrage-crawler-server
\
--link
barrage-crawler-server:barrage-crawler-server
\
--link
mysqld:mysqld
\
--link
mysqld:mysqld
\
${
name
}
${
name
}
fi
fi
mvn clean
mvn clean
\ No newline at end of file
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