Compare commits
3 Commits
master
...
healthchec
| Author | SHA1 | Date | |
|---|---|---|---|
| 08aaaf1c3a | |||
| bb9bc06fd5 | |||
| ed253f3f05 |
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
nonascii.txt text
|
||||
56
conf.json
Normal file
56
conf.json
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"stages": [
|
||||
{
|
||||
"name": "healthcheck",
|
||||
"executor": {
|
||||
"name": "sandbox",
|
||||
"with": {
|
||||
"default": {
|
||||
"args": [
|
||||
"/tmp/repo-health-checker",
|
||||
"-root=.",
|
||||
"-allowedDomainList=outlook.com",
|
||||
"-whitelistedChars=\u6d4b"
|
||||
],
|
||||
"env": [
|
||||
"PATH=/usr/bin:/bin"
|
||||
],
|
||||
"cpuLimit": 10000000000,
|
||||
"memoryLimit": 104857600,
|
||||
"procLimit": 50,
|
||||
"copyInDir": ".",
|
||||
"copyIn": {
|
||||
"/tmp/repo-health-checker": {
|
||||
"src": "./../../../../../../build/repo-health-checker"
|
||||
}
|
||||
},
|
||||
"copyOut": [
|
||||
"stdout",
|
||||
"stderr"
|
||||
],
|
||||
"stdin": {
|
||||
"content": ""
|
||||
},
|
||||
"stdout": {
|
||||
"name": "stdout",
|
||||
"max": 4096
|
||||
},
|
||||
"stderr": {
|
||||
"name": "stderr",
|
||||
"max": 4096
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parsers": [
|
||||
{
|
||||
"name": "healthcheck",
|
||||
"with": {
|
||||
"score": 10,
|
||||
"comment": " + comment from toml conf"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
1
expected.json
Normal file
1
expected.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
[{"name":"healthcheck","results":[{"score":10,"comment":"### Repo Size Check Passed\n### Repo LFS Check Passed\n### Forbidden File Check Passed\n### Meta File Check Passed\n### Non-ASCII Characters File Check Passed\n### Non-ASCII Characters Commit Message Check Passed\n### Repo File Check Passed\n### Author Email Check Passed\n"}],"force_quit":false}]
|
||||
1
nonascii.txt
Normal file
1
nonascii.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Allowed non-ASCII: 测
|
||||
Loading…
Reference in New Issue
Block a user