DolphinScheduler/.dlc.json
Eric Gao bba3fd93b7
[doc][ci] Add http header to avoid github 403 in dlc (#12509) (#12793)
Co-authored-by: Jiajie Zhong <zhongjiajie955@gmail.com>
2022-11-07 19:33:43 +08:00

41 lines
845 B
JSON

{
"ignorePatterns": [
{
"pattern": "^http://localhost"
},
{
"pattern": "^https://img.shields.io/badge"
},
{
"pattern": "/community/community.html$"
}
],
"replacementPatterns": [
{
"pattern": "^/en-us/download/download.html$",
"replacement": "https://dolphinscheduler.apache.org/en-us/download/download.html"
},
{
"pattern": "^/zh-cn/download/download.html$",
"replacement": "https://dolphinscheduler.apache.org/zh-cn/download/download.html"
}
],
"httpHeaders": [
{
"urls": ["https://docs.github.com/"],
"headers": {
"Accept-Encoding": "zstd, br, gzip, deflate"
}
}
],
"timeout": "10s",
"retryOn429": true,
"retryCount": 10,
"fallbackRetryDelay": "1000s",
"aliveStatusCodes": [
200,
401,
0
]
}