Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cs_vsofpm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
cs_vsofpm
Commits
5f960191
Commit
5f960191
authored
May 17, 2023
by
江兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cicd update
parent
95682ac8
Pipeline
#3263
passed with stages
in 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
No files found.
.gitlab-ci.yml
View file @
5f960191
...
@@ -42,6 +42,6 @@ deploy_dev:
...
@@ -42,6 +42,6 @@ deploy_dev:
-
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
-
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
-
ssh-add <(echo "$PRIVATE_KEY")
-
ssh-add <(echo "$PRIVATE_KEY")
script
:
script
:
-
rsync -Phvz -e "ssh -p 6005" ./docker-compose-dev.yaml root@$DEV_IP:/root/docker-compose/vslp/docker-compose.yaml
-
rsync -Phvz -e "ssh -p 6005" ./docker-compose-dev.yaml root@$DEV_IP:/root/docker-compose/vslp
-web
/docker-compose.yaml
-
ssh -p 6005 $DEV_IP 'cd /root/docker-compose/vslp; docker-compose pull vs_web;docker-compose up -d '
-
ssh -p 6005 $DEV_IP 'cd /root/docker-compose/vslp
-web
; docker-compose pull vs_web;docker-compose up -d '
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