Commit 6ac2b66c authored by Bùi Bá Trường's avatar Bùi Bá Trường

truongbb - test ci

parent 779634a1
Pipeline #414 passed with stages
in 1 minute and 23 seconds
...@@ -27,6 +27,7 @@ checkout: ...@@ -27,6 +27,7 @@ checkout:
stage: checkout stage: checkout
only: only:
- master - master
- merge_requests
script: script:
- ls # test command - ls # test command
- cd /root/GitlabRunner/repo/ - cd /root/GitlabRunner/repo/
...@@ -41,7 +42,7 @@ compile: ...@@ -41,7 +42,7 @@ compile:
stage: compile stage: compile
only: only:
- master - master
# - merge_request - merge_request
script: script:
- cd /root/GitlabRunner/repo/spring-ci-advanced - cd /root/GitlabRunner/repo/spring-ci-advanced
- ls - ls
...@@ -52,7 +53,7 @@ sonnar_scanner: ...@@ -52,7 +53,7 @@ sonnar_scanner:
stage: sonnar_scanner stage: sonnar_scanner
only: only:
- master - master
# - merge_requests - merge_requests
script: script:
- cd /root/GitlabRunner/repo/spring-ci-advanced - cd /root/GitlabRunner/repo/spring-ci-advanced
- ls - ls
...@@ -77,8 +78,8 @@ check_quality_gate: ...@@ -77,8 +78,8 @@ check_quality_gate:
dokcer_build: dokcer_build:
stage: dokcer_build stage: dokcer_build
only: only:
- master # - master
# - merge_requests - merge_requests
script: script:
- cd /root/GitlabRunner/repo/spring-ci-advanced - cd /root/GitlabRunner/repo/spring-ci-advanced
- ls - ls
...@@ -90,7 +91,7 @@ send_email: ...@@ -90,7 +91,7 @@ send_email:
stage: send_email stage: send_email
only: only:
- master - master
# - merge_requests - merge_requests
script: script:
- curl --request POST - curl --request POST
--url https://api.sendgrid.com/v3/mail/send --url https://api.sendgrid.com/v3/mail/send
......
...@@ -79,7 +79,7 @@ sub_docker-up(){ ...@@ -79,7 +79,7 @@ sub_docker-up(){
sub_package sub_package
fi fi
docker-compose -f deploy/docker-compose.yml up docker-compose -f deploy/docker-compose.yml up -d
} }
sub_send-email(){ sub_send-email(){
......
...@@ -13,6 +13,3 @@ services: ...@@ -13,6 +13,3 @@ services:
environment: environment:
TZ: "Asia/Ho_Chi_Minh" TZ: "Asia/Ho_Chi_Minh"
restart: always restart: always
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