标签:parameter users admin art line 负载 tag git hot
adnanh webhook 支持以下功能:
使用docker-compose
version: "3"
services:
webhook:
image: almir/webhook
command: ["-verbose", "-hooks=/etc/webhook/hooks.json","-hotreload"]
volumes:
- "./hooks.json:/etc/webhook/hooks.json"
ports:
- "9000:9000"
[
{
"id": "simple-one",
"execute-command": "echo",
"response-message": "Executing simple webhook...",
"trigger-rule":
{
"match":
{
"type": "value",
"value": "42",
"parameter":
{
"source": "url",
"name": "token"
}
}
}
}
]
docker-compose up -d
webhook 使用起来还是比较简单的,同时也比较灵活,官方也提供了gitlab gogs jira 等的简单demo,还是不错的
https://github.com/adnanh/webhook
https://hub.docker.com/r/almir/webhook/
https://github.com/rongfengliang/adnanh-webhook-docker-compose
<wiz_tmp_tag id="wiz-table-range-border" contenteditable="false" style="display: none;">
标签:parameter users admin art line 负载 tag git hot
原文地址:https://www.cnblogs.com/rongfengliang/p/9646589.html