feat: .devops/刘德华.yml

This commit is contained in:
ashudia4 2024-05-28 13:59:49 +00:00 committed by jianmu
parent 3b86837d33
commit a47778e525
1 changed files with 31 additions and 0 deletions

31
.devops/刘德华.yml Normal file
View File

@ -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