forked from Gitlink/gitlink_help_center
feat: .devops/刘德华.yml
This commit is contained in:
parent
3b86837d33
commit
a47778e525
|
@ -0,0 +1,31 @@
|
|||
version: 2
|
||||
name: 刘德华
|
||||
description: ""
|
||||
global:
|
||||
concurrent: 1
|
||||
workflow:
|
||||
- ref: start
|
||||
name: 开始
|
||||
task: start
|
||||
- ref: ssh_cmd_0
|
||||
name: ssh执行命令
|
||||
task: ssh_cmd@1.1.1
|
||||
input:
|
||||
ssh_ip: '"116.62.120.115"'
|
||||
ssh_port: '"22"'
|
||||
ssh_user: '"root"'
|
||||
ssh_cmd: >-
|
||||
"docker stop ghc_group1 docker rm ghc_group1 docker pull
|
||||
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_group1:
|
||||
latest docker run -p 3000:3000 –name ghc_group6
|
||||
registry.cn-guangzhou.aliyuncs.com/nudt_devops/gitlink_help_center_group1:latest
|
||||
|
||||
"
|
||||
needs:
|
||||
- start
|
||||
- ref: end
|
||||
name: 结束
|
||||
task: end
|
||||
needs:
|
||||
- ssh_cmd_0
|
||||
|
Loading…
Reference in New Issue