Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spring-ci-advanced
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bùi Bá Trường
spring-ci-advanced
Commits
6ac2b66c
Commit
6ac2b66c
authored
Jul 31, 2019
by
Bùi Bá Trường
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
truongbb - test ci
parent
779634a1
Pipeline
#414
passed with stages
in 1 minute and 23 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
.gitlab-ci.yml
.gitlab-ci.yml
+6
-5
build-test.sh
build-test.sh
+1
-1
deploy/docker-compose.yml
deploy/docker-compose.yml
+1
-4
No files found.
.gitlab-ci.yml
View file @
6ac2b66c
...
...
@@ -27,6 +27,7 @@ checkout:
stage
:
checkout
only
:
-
master
-
merge_requests
script
:
-
ls
# test command
-
cd /root/GitlabRunner/repo/
...
...
@@ -41,7 +42,7 @@ compile:
stage
:
compile
only
:
-
master
#
- merge_request
-
merge_request
script
:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
...
...
@@ -52,7 +53,7 @@ sonnar_scanner:
stage
:
sonnar_scanner
only
:
-
master
#
- merge_requests
-
merge_requests
script
:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
...
...
@@ -77,8 +78,8 @@ check_quality_gate:
dokcer_build
:
stage
:
dokcer_build
only
:
-
master
#
- merge_requests
#
- master
-
merge_requests
script
:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
...
...
@@ -90,7 +91,7 @@ send_email:
stage
:
send_email
only
:
-
master
#
- merge_requests
-
merge_requests
script
:
-
curl --request POST
--url https://api.sendgrid.com/v3/mail/send
...
...
build-test.sh
View file @
6ac2b66c
...
...
@@ -79,7 +79,7 @@ sub_docker-up(){
sub_package
fi
docker-compose
-f
deploy/docker-compose.yml up
docker-compose
-f
deploy/docker-compose.yml up
-d
}
sub_send-email
(){
...
...
deploy/docker-compose.yml
View file @
6ac2b66c
...
...
@@ -12,7 +12,4 @@ services:
network_mode
:
"
host"
environment
:
TZ
:
"
Asia/Ho_Chi_Minh"
restart
:
always
restart
:
always
\ 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