Compare commits
	
		
			42 Commits
		
	
	
		
			master
			...
			healthchec
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 0a8af5fef5 | |||
| 9ad6123ea9 | |||
| 8438f5cbc9 | |||
| dc0807a06b | |||
| 122dc8caf8 | |||
| 8d2f5585a1 | |||
| bcaba137c6 | |||
| c8883581fb | |||
| d1754b0f62 | |||
| b54c707b75 | |||
| 989a56faa4 | |||
|   | 17c4f0da14 | ||
|   | dde38ef61c | ||
| dfd00e2a93 | |||
| cb44983b7d | |||
| 8790cd7f3a | |||
|   | c7c905ebcf | ||
|   | f823af12ec | ||
| b4693716ee | |||
| 3161962adb | |||
| 5c2cd9e6b3 | |||
|   | 3a9e737b39 | ||
|   | 08f4d7d6d1 | ||
|   | b962cc8510 | ||
|   | 5bdd344fc4 | ||
|   | 4f5e444940 | ||
|   | de00486a6a | ||
|   | 5f6cb1871f | ||
|   | 7b44cc416b | ||
|   | 2a7dd6fc3e | ||
|   | 38db53ee1e | ||
|   | 2bd7f64fa3 | ||
|   | 8141cbb6ae | ||
|   | 66a5816944 | ||
|   | a2e7680f3d | ||
|   | 60bd4d80b0 | ||
|   | edff3780a8 | ||
|   | ef271dc6f3 | ||
|   | 076445b7c3 | ||
|   | ae7d070c45 | ||
|   | c86a94c178 | ||
|   | c08d20ccd6 | 
							
								
								
									
										8
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | ||||||
|  | **/* | ||||||
|  | !stderr | ||||||
|  | !stdout | ||||||
|  | !*.toml | ||||||
|  | !*.md | ||||||
|  | !healthcheck | ||||||
|  | !*.json | ||||||
|  | !.git* | ||||||
							
								
								
									
										55
									
								
								conf.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								conf.json
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,55 @@ | ||||||
|  | { | ||||||
|  |   "stages": [ | ||||||
|  |     { | ||||||
|  |       "name": "healthcheck", | ||||||
|  |       "executor": { | ||||||
|  |         "name": "sandbox", | ||||||
|  |         "with": { | ||||||
|  |           "default": { | ||||||
|  |             "args": [ | ||||||
|  |               "/tmp/repo-health-checker", | ||||||
|  |               "-root=.", | ||||||
|  |               "-meta=changelog" | ||||||
|  |             ], | ||||||
|  |             "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### Repo LFS Check Passed\n### Forbidden File Check Passed\n### Meta File Check Failed:\n1 important project file(s) missing:\nNo changelog file found, please refer to https://keepachangelog.com/en/1.1.0/ for more information.\n\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