forked from Lesin/reposync
refactor: .devops/测试.yml
This commit is contained in:
parent
381c4758f2
commit
033e83f28a
|
@ -11,20 +11,17 @@ workflow:
|
|||
name: 结束
|
||||
task: end
|
||||
needs:
|
||||
- gitlink_ssh_cmd_0
|
||||
- ref: gitlink_ssh_cmd_0
|
||||
name: ssh执行命令(支持跳板机)
|
||||
- ssh_cmd_0
|
||||
- ref: ssh_cmd_0
|
||||
name: ssh执行命令
|
||||
on-failure: ignore
|
||||
task: yystopf/gitlink_ssh_cmd@0.0.7
|
||||
task: ssh_cmd@1.1.1
|
||||
input:
|
||||
ssh_private_key: ((sshkey.hehui))
|
||||
remote_host: '"10.9.151.72"'
|
||||
remote_port: '"30122"'
|
||||
remote_user: '"root"'
|
||||
gateway_host: '"123.59.135.93"'
|
||||
gateway_port: '"30122"'
|
||||
gateway_user: '"root"'
|
||||
ssh_cmd: '"sh update_reposync.sh"'
|
||||
ssh_ip: '"123.59.135.93"'
|
||||
ssh_port: '"30122"'
|
||||
ssh_user: '"root"'
|
||||
ssh_cmd: '"ssh -p 30122 root@10.9.151.72 sh update_reposync.sh"'
|
||||
needs:
|
||||
- start
|
||||
|
||||
|
|
Loading…
Reference in New Issue