6 Star 9 Fork 14

jianmu-runners/jianmu-runner-list

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
batch_import.yml 1.55 KB
一键复制 编辑 原始数据 按行查看 历史
name: 批量导入建木官方节点项目
trigger:
type: webhook
param:
- name: gitee_token
type: SECRET
exp: $.header.X-Gitee-Token
- name: gitee_event
type: STRING
exp: $.header.X-Gitee-Event
- name: git_ref
type: STRING
exp: $.body.json.ref
- name: pr_state
type: STRING
exp: $.body.json.pull_request.state
- name: pr_target_branch
type: STRING
exp: $.body.json.target_branch
auth:
token: ${trigger.gitee_token}
value: ((gitee.webhook_runner_token))
only: (${trigger.gitee_event} == "Push Hook" && ${trigger.git_ref} == "refs/heads/master" || ${trigger.pr_target_branch} == "master" && ${trigger.pr_state} == "merged")
pipeline:
git_clone:
type: git_clone:1.2.0
param:
remote_url: https://gitee.com/jianmu-runners/jianmu-runner-list.git
ref: refs/heads/master
sync_project_group:
type: sync_project_group:2.1.2
param:
ci_url: https://ci.jianmu.dev
ci_username: ((jianmu_ci.username))
ci_password: ((jianmu_ci.password))
git_path: ${git_clone.git_path}
group_file_path: /project_group.yml
deletable: false
sync_node_settings:
type: sync_node_settings:1.0.0
param:
access_token: ((gitee.sync_webhook_token))
ci_url: https://ci.jianmu.dev
password: ((gitee.webhook_runner_token))
git_path: ${git_clone.git_path}
group_file_path: /project_group.yml
issue_webhook_url: https://ci.jianmu.dev/webhook/issue%E9%80%9A%E7%9F%A5
license_path: ${git_clone.git_path}/LICENSE
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jianmu-runners/jianmu-runner-list.git
git@gitee.com:jianmu-runners/jianmu-runner-list.git
jianmu-runners
jianmu-runner-list
jianmu-runner-list
master

搜索帮助