代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。