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
cc08b936
Commit
cc08b936
authored
Aug 01, 2019
by
Bùi Bá Trường
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
6969417e
Pipeline
#458
failed with stages
in 1 minute and 52 seconds
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
4 deletions
+11
-4
.env
.env
+1
-0
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
build-test.sh
build-test.sh
+2
-1
deploy/docker-compose-services-stack-staging.yml
deploy/docker-compose-services-stack-staging.yml
+5
-0
src/main/resources/application.properties
src/main/resources/application.properties
+1
-1
No files found.
.env
View file @
cc08b936
TAG=latest
IMAGE_TYPE=dev
IMAGE_REGISTRY_URL=192.168.1.204:8083
DOCKER_STAGING_REGISTRY=192.168.1.204:8083
PROJECT_VERSION=0.0.1-SNAPSHOT
JDK_BASE_IMAGE=adoptopenjdk/openjdk11:latest
PROJECT_CODE=itsol-ci
.gitlab-ci.yml
View file @
cc08b936
...
...
@@ -82,8 +82,8 @@ dokcer_build:
-
ls
-
chmod +x ./build-test.sh
-
./build-test.sh docker-build
-
./build-test.sh docker-up
#
- ./build-test.sh docker-push
#
- ./build-test.sh docker-up
-
./build-test.sh docker-push
send_email
:
stage
:
send_email
...
...
build-test.sh
View file @
cc08b936
...
...
@@ -83,7 +83,8 @@ sub_docker-up(){
}
sub_docker-push
(){
docker push 192.168.1.204:8082/spring-ci-advanced/dev/spring-ci-advanced:latest
#docker push 192.168.1.204:8082/spring-ci-advanced/dev/spring-ci-advanced:latest
docker-compose
-f
deploy/docker-compose-services-stack-staging push
}
sub_send-email
(){
...
...
deploy/docker-compose-services-stack-staging.yml
0 → 100644
View file @
cc08b936
version
:
'
3.2'
services
:
spring-ci-service
:
image
:
"
${DOCKER_STAGING_REGISTRY}/${PROJECT_CODE}/${IMAGE_TYPE}/spring-ci-service:${TAG}"
src/main/resources/application.properties
View file @
cc08b936
...
...
@@ -4,4 +4,4 @@ spring.data.rest.base-path=api
#
#
#application name
spring.application.name
=
spring-ci-advanced
\ No newline at end of file
spring.application.name
=
spring-ci-service
\ 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