From 1e68847ec5850db37ab876d381684182c349da17 Mon Sep 17 00:00:00 2001 From: rcore_test Date: Sun, 29 May 2022 18:45:02 +0800 Subject: [PATCH] Update '.trustie-pipeline.yml' --- .trustie-pipeline.yml | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/.trustie-pipeline.yml b/.trustie-pipeline.yml index d47abe38..7dc703a8 100644 --- a/.trustie-pipeline.yml +++ b/.trustie-pipeline.yml @@ -1 +1,33 @@ -#pipeline + +kind: pipeline +type: docker +name: test +platform: + os: linux + arch: amd64 +steps: +- name: rcore + image: jmgcs65536/rcore:latest + commands: + + +# 需要将软件包与部署脚本提前上传到远程主机(见文件上传模板) +# host、username、password可在参数管理中配置 +- name: 远程主机部署 + image: jmgcs65536/rcore:latest + settings: + host: + from_secret: ip + username: + from_secret: name + password: + from_secret: pwd + port: 22 + script: + - chmod +x /home/deploy.sh + - ./home/deploy.sh +trigger: + branch: + - ch1 + event: + - push