Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Tabu-Middleware
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dennis Willers
Tabu-Middleware
Commits
88e94c10
Commit
88e94c10
authored
Dec 27, 2020
by
Dennis Willers
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update gitlab-ci.yml
parent
2b71ac50
Pipeline
#268
passed with stages
in 5 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
.gitlab-ci.yml
.gitlab-ci.yml
+7
-7
No files found.
.gitlab-ci.yml
View file @
88e94c10
...
...
@@ -10,8 +10,8 @@ docker-build:
stage
:
package
script
:
-
docker login hub.willers.digital -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
-
docker build -t hub.willers.digital/dennis.willers/
Tabu-M
iddleware .
-
docker push hub.willers.digital/dennis.willers/
Tabu-M
iddleware:latest
-
docker build -t hub.willers.digital/dennis.willers/
tabu-m
iddleware .
-
docker push hub.willers.digital/dennis.willers/
tabu-m
iddleware:latest
delete-old-container
:
stage
:
delete
...
...
@@ -23,9 +23,9 @@ delete-old-container:
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>
~/.ssh/config'
-
ssh-add <(echo "$STAGING_PRIVATE_KEY")
script
:
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker stop
Tabu-M
iddleware"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker rm
Tabu-M
iddleware"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker rmi -f hub.willers.digital/dennis.willers/
Tabu-M
iddleware:latest"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker stop
tabu-m
iddleware"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker rm
tabu-m
iddleware"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker rmi -f hub.willers.digital/dennis.willers/
tabu-m
iddleware:latest"
only
:
-
master
allow_failure
:
true
...
...
@@ -42,7 +42,7 @@ docker-deploy:
-
ssh-add <(echo "$STAGING_PRIVATE_KEY")
script
:
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker login hub.willers.digital -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker pull hub.willers.digital/dennis.willers/
Tabu-M
iddleware:latest"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker run -d -p 3150:8080 --mount type=bind,src=/volume1/docker/tmp6,dst=/tmp --name
spring-boot-docker-test-console hub.willers.digital/dennis.willers/Tabu-M
iddleware:latest"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker pull hub.willers.digital/dennis.willers/
tabu-m
iddleware:latest"
-
ssh root@willers.digital -p 2233 "/usr/local/bin/docker run -d -p 3150:8080 --mount type=bind,src=/volume1/docker/tmp6,dst=/tmp --name
tabu-middleware hub.willers.digital/dennis.willers/tabu-m
iddleware:latest"
only
:
-
master
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