Compare commits
59 Commits
master
...
healthchec
| Author | SHA1 | Date | |
|---|---|---|---|
| 2716284d7c | |||
| 6c34cc00b0 | |||
| ae76d845fc | |||
| a9ea520ee6 | |||
| 938b7d0467 | |||
| e827f2a98c | |||
| ae3b4da716 | |||
| e9af96d30f | |||
|
|
2d616caab9 | ||
|
|
c430cb6ba9 | ||
| 5bc3181837 | |||
| 7ca84cbed5 | |||
| ac61ca8902 | |||
| c5b3bd1dac | |||
| 04e8966bba | |||
|
|
f93e504f0e | ||
|
|
1d6b854837 | ||
|
|
ccb0ca0391 | ||
|
|
75cd3895f0 | ||
|
|
55e3fa7f3c | ||
|
|
adb9a3b592 | ||
| 9c010a0f8d | |||
| 0648e32a89 | |||
|
|
a49a6aa29d | ||
|
|
4a6d5f5452 | ||
| 2073d68714 | |||
|
|
25c5453a57 | ||
|
|
d78308bcaa | ||
|
|
4d195430d9 | ||
|
|
9ef02fd8c9 | ||
|
|
da6feb58a4 | ||
|
|
91da18ce45 | ||
|
|
e5ad2e06a8 | ||
|
|
2926f68091 | ||
|
|
50dbbb5a76 | ||
|
|
c1c7d1bde2 | ||
|
|
713e2ae07c | ||
|
|
b949af5559 | ||
|
|
cbccd9b2e5 | ||
|
|
1b00862a58 | ||
|
|
288395944d | ||
|
|
522b410087 | ||
|
|
a0f51af30c | ||
|
|
0cb384a0d9 | ||
|
|
1fe4ea8c5c | ||
|
|
ad4ee65020 | ||
|
|
f83aa5859b | ||
|
|
648d44099f | ||
|
|
2490d360dc | ||
|
|
057c56ecfc | ||
|
|
e2dd1335b8 | ||
|
|
829d40c7a5 | ||
|
|
fd3e39cf02 | ||
|
|
82e1a612ea | ||
|
|
43b1502b7f | ||
|
|
a2b9e74620 | ||
|
|
c5dae447eb | ||
|
|
c86a94c178 | ||
|
|
c08d20ccd6 |
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
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=.",
|
||||||
|
"-meta=readme",
|
||||||
|
"-repoSize=0.1"
|
||||||
|
],
|
||||||
|
"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 Failed:\nRepository larger than 0.1 MiB. Please clean up or contact the teaching team.\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":true}]
|
||||||
Loading…
Reference in New Issue
Block a user