forked from Lesin/reposync
refactor: .devops/未命名项目.yml
This commit is contained in:
parent
033e83f28a
commit
afd9afc8c0
|
@ -16,7 +16,7 @@ workflow:
|
|||
name: 结束
|
||||
task: end
|
||||
needs:
|
||||
- gitlink_ssh_cmd_0
|
||||
- ssh_cmd_0
|
||||
- ref: git_clone_0
|
||||
name: git clone
|
||||
task: git_clone@1.2.9
|
||||
|
@ -39,22 +39,19 @@ workflow:
|
|||
docker_file: git_clone_0.git_path+"/Dockerfile"
|
||||
docker_build_path: git_clone_0.git_path
|
||||
workspace: git_clone_0.git_path
|
||||
image_push: false
|
||||
image_push: true
|
||||
build_args: '""'
|
||||
needs:
|
||||
- git_clone_0
|
||||
- ref: gitlink_ssh_cmd_0
|
||||
name: ssh执行命令(支持跳板机)
|
||||
task: yystopf/gitlink_ssh_cmd@0.0.6
|
||||
- ref: ssh_cmd_0
|
||||
name: ssh执行命令
|
||||
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:
|
||||
- docker_image_build_0
|
||||
|
||||
|
|
Loading…
Reference in New Issue