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
6682dc79
Commit
6682dc79
authored
Jul 31, 2019
by
Bùi Bá Trường
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
truongbb - test MR
parent
dc665017
Pipeline
#418
failed with stages
in 1 minute and 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
.gitlab-ci.yml
.gitlab-ci.yml
+3
-2
build-test.sh
build-test.sh
+4
-0
No files found.
.gitlab-ci.yml
View file @
6682dc79
...
...
@@ -78,14 +78,15 @@ check_quality_gate:
dokcer_build
:
stage
:
dokcer_build
only
:
#
- master
-
merge_requests
-
master
#
- merge_requests
script
:
-
cd /root/GitlabRunner/repo/spring-ci-advanced
-
ls
-
chmod +x ./build-test.sh
-
./build-test.sh docker-build
-
./build-test.sh docker-up
-
./build-test.sh docker-push
send_email
:
stage
:
send_email
...
...
build-test.sh
View file @
6682dc79
...
...
@@ -82,6 +82,10 @@ sub_docker-up(){
docker-compose
-f
deploy/docker-compose.yml up
-d
}
sub_docker-push
(){
docker push 192.168.1.204:8081/spring-ci-advanced/dev/spring-ci-advanced:latest
}
sub_send-email
(){
echo
"TODO - send email"
}
...
...
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