Compare commits
51 Commits
master
...
healthchec
Author | SHA1 | Date | |
---|---|---|---|
ae383b22df | |||
a848b1ca7e | |||
41e57b6968 | |||
95d2c1ba5e | |||
290fda270b | |||
aa593eb4c4 | |||
f4b7776bf9 | |||
dd1fabc81b | |||
3949d5ac4a | |||
![]() |
ec50dd1ed5 | ||
![]() |
96cbec4ec5 | ||
![]() |
9b954cf67d | ||
55bf75058f | |||
f6cf5baa9c | |||
56231eb54f | |||
47b6d0f3e8 | |||
1769b315cb | |||
3dc44926b2 | |||
![]() |
1e1d152659 | ||
ffd9ab13c7 | |||
![]() |
7243dab3d5 | ||
![]() |
6000b9be99 | ||
415ab7e9d8 | |||
d303867e62 | |||
36bb5fb15f | |||
![]() |
52c9787a8a | ||
![]() |
e9ed6a464a | ||
![]() |
7c72b0b787 | ||
![]() |
95bd903b1e | ||
![]() |
43ed3b9fd3 | ||
![]() |
7d044683e3 | ||
![]() |
cdea4627b2 | ||
![]() |
f55009d627 | ||
![]() |
d120f5e45a | ||
![]() |
8dc49f5fd9 | ||
![]() |
d900d8c578 | ||
![]() |
5d0deb326a | ||
![]() |
bfb4c5b439 | ||
![]() |
dd1a7060ae | ||
![]() |
e94a335255 | ||
![]() |
5e57f25404 | ||
![]() |
9feb9fc475 | ||
![]() |
7edfd830a9 | ||
![]() |
7d145c4172 | ||
![]() |
77fda15419 | ||
![]() |
1f77a9128d | ||
![]() |
dc13cbecb0 | ||
![]() |
263f2e6387 | ||
![]() |
c5dae447eb | ||
![]() |
c86a94c178 | ||
![]() |
c08d20ccd6 |
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
57
conf.json
Normal file
57
conf.json
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
{
|
||||||
|
"stage": {
|
||||||
|
"stages": [
|
||||||
|
{
|
||||||
|
"name": "healthcheck",
|
||||||
|
"executor": {
|
||||||
|
"name": "sandbox",
|
||||||
|
"with": {
|
||||||
|
"default": {
|
||||||
|
"args": [
|
||||||
|
"/tmp/repo-health-checker",
|
||||||
|
"-root=.",
|
||||||
|
"-meta=readme"
|
||||||
|
],
|
||||||
|
"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":0,"comment":"### Repo Size Check Passed\n### Forbidden File Check Passed\n### Meta File Check Passed\n### Non-ASCII Characters File Check Failed:\nNon-ASCII characters found in the following files:\n\texpected.json\n### Non-ASCII Characters Commit Message Check Failed:\nNon-ASCII characters in commit messages:\nfeat: 测试\n\n### Repo File Check Passed\n### Author Email Check Passed\n"}],"force_quit":true}]
|
Loading…
Reference in New Issue
Block a user