From 7c844a205087959ca41663430208a319d34eb31a Mon Sep 17 00:00:00 2001 From: gitgit Date: Thu, 4 Aug 2022 07:37:09 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20.devops/=E4=BB=93=E5=BA=93=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E8=80=85=E5=85=8B=E9=9A=86=E7=A7=81=E6=9C=89=E4=BB=93?= =?UTF-8?q?=E5=BA=93.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/仓库开发者克隆私有仓库.yml | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .devops/仓库开发者克隆私有仓库.yml diff --git a/.devops/仓库开发者克隆私有仓库.yml b/.devops/仓库开发者克隆私有仓库.yml new file mode 100644 index 0000000..5cb89d6 --- /dev/null +++ b/.devops/仓库开发者克隆私有仓库.yml @@ -0,0 +1,48 @@ +name: 仓库开发者克隆私有仓库 +description: "" +global: + concurrent: false +trigger: + type: cron + schedule: 0 30 14 * * ? +workflow: + - ref: start + name: 开始 + task: start + - ref: end + name: 结束 + task: end + needs: + - dingtalk_notice_action_card_0 + - ref: git_clone_0 + name: git clone + task: git_clone@1.2.5 + input: + username: ((testgitea.user)) + password: ((testgitea.pwd)) + remote_url: '"hhttps://testgitea2.trustie.net/postman/test_jiammu.git"' + ref: '"refs/heads/master"' + commit_id: '""' + depth: 100 + needs: + - start + - ref: git_log_0 + name: git log + task: git_log@1.0.2 + input: + git_path: git_clone_0.git_path + commit_num: 5 + needs: + - git_clone_0 + - ref: dingtalk_notice_action_card_0 + name: 钉钉通知-ActionCard + task: dingtalk_notice_action_card@1.0.2 + input: + boot_webhook_url: ((wecom.bot_webhook)) + msg_title: '""' + msg_text: git_log_0.git_log + single_title: '""' + single_url: '""' + btns: '"[]"' + needs: + - git_log_0