# README
构建触发器(WebHook)
Gitlab
gitlab事件触发时,将注入以下4个环境变量:
- GIT_SSH_URL: [email protected]:infraboard/mpaas.git
- GIT_BRANCH: master
- GIT_COMMIT_ID: bfacd86c647935aea532f29421fe83c6a6111260
- APP_VERSION: v20230202-master-bfacd86c
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseDELETE_BYFromString Parse DELETE_BY from string.
ParseEVENT_PROVIDERFromString Parse EVENT_PROVIDER from string.
ParseGITLAB_EVENT_TYPEFromString Parse GITLAB_EVENT_TYPE from string.
No description provided by the author
"GitLab/15.5.0-pre".
ParseSTAGEFromString Parse STAGE from string.
No description provided by the author
# Constants
No description provided by the author
task id.
id.
来自gitlab的事件.
评论事件.
bug事件.
MR事件, 字段含义请参考: https://docs.gitlab.com/ee/api/merge_requests.html.
推送事件.
打标事件.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
取消执行.
已经放入执行队列.
触发执行失败.
等待执行.
执行中.
触发执行成功.
事件的具体内容.
提供事件的实例 比如 "https://gitlab.com".
事件描述, 比如 Push Hook.
事件提供商, 比如 GITLAB.
事件Token, 这里固定为service id.
事件发生者UA 比如: "GitLab/15.5.0-pre".
PUSH Git 项目分支.
Git 项目Commit号.
Git 项目代码仓库HTTP地址.
Git MR动作.
Git MR source.
MR Git MR状态.
Git MR target.
GitLab相关事件变量.
Git 项目代码仓库SSH地址.
TAG Git 项目Tag.
# Variables
Enum value maps for DELETE_BY.
Enum value maps for DELETE_BY.
Enum value maps for EVENT_PROVIDER.
Enum value maps for EVENT_PROVIDER.
No description provided by the author
No description provided by the author
No description provided by the author
Enum value maps for GITLAB_EVENT_TYPE.
Enum value maps for GITLAB_EVENT_TYPE.
RPC_ServiceDesc is the grpc.ServiceDesc for RPC service.
Enum value maps for STAGE.
Enum value maps for STAGE.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Merge Request时相关数据.
No description provided by the author
No description provided by the author
事件记录.
No description provided by the author
UnimplementedRPCServer must be embedded to have forward compatible implementations.
No description provided by the author
# Interfaces
RPCClient is the client API for RPC service.
RPCServer is the server API for RPC service.
No description provided by the author
UnsafeRPCServer may be embedded to opt out of forward compatibility for this service.
# Type aliases
No description provided by the author
No description provided by the author
https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html.
No description provided by the author