cicdtest/.devops/图形节点测试.yml

38 lines
743 B
YAML

version: 2
name: 图形节点测试
description: ""
global:
concurrent: 1
workflow:
- ref: start
name: 开始
task: start
- ref: git_clone_0
name: git clone
task: git_clone@1.2.9
input:
remote_url: '"https://gitlink.org.cn/cloudream/cicdtest.git"'
ref: '"refs/heads/master"'
commit_id: '""'
depth: 1
needs:
- start
- ref: end
name: 结束
task: end
needs:
- scp_resource_0
- ref: scp_resource_0
name: scp替换文件
task: scp_resource@1.4.3
input:
ssh_ip: '"123.60.146.162"'
ssh_port: '"22"'
ssh_user: '"pcm"'
remote_file: '"/home/pcm/test1"'
local_file: '"."'
file_content: '""'
needs:
- git_clone_0