fix: conf
This commit is contained in:
		
							parent
							
								
									2bd7f64fa3
								
							
						
					
					
						commit
						38db53ee1e
					
				|  | @ -4,14 +4,14 @@ name = "healthcheck" | ||||||
| [stages.executor] | [stages.executor] | ||||||
| name = "sandbox" | name = "sandbox" | ||||||
| [stages.executor.with.default] | [stages.executor.with.default] | ||||||
| args = ["bash", "./stdin.sh"] | args = ["./healthcheck", "-root=.", "-meta=changelog", "-whitelist=stderr", "-whitelist=stdout", "-whitelist=.*\\.toml", "-whitelist=.*\\.md", "-whitelist=healthcheck", "-whitelist=.*\\.json", "-whitelist=.git.*"] | ||||||
| env = ["PATH=/usr/bin:/bin"] | env = ["PATH=/usr/bin:/bin"] | ||||||
| cpuLimit = 10_000_000_000 | cpuLimit = 10_000_000_000 | ||||||
| memoryLimit = 104_857_600 | memoryLimit = 104_857_600 | ||||||
| procLimit = 50 | procLimit = 50 | ||||||
| copyInCwd = true | copyInCwd = true | ||||||
| [stages.executor.with.default.copyIn.healthcheck] | [stages.executor.with.default.copyIn.healthcheck] | ||||||
| src = "./../../../build/healthcheck" | src = "./../../../../../../build/healthcheck" | ||||||
| copyOut = ["stdout", "stderr"] | copyOut = ["stdout", "stderr"] | ||||||
| [stages.executor.with.default.stdin] | [stages.executor.with.default.stdin] | ||||||
| content = "" | content = "" | ||||||
|  | @ -26,3 +26,4 @@ name = "healthcheck" | ||||||
| [stages.parser.with] | [stages.parser.with] | ||||||
| score = 10 | score = 10 | ||||||
| comment = " + comment from toml conf" | comment = " + comment from toml conf" | ||||||
|  | 
 | ||||||
|  |  | ||||||
|  | @ -1,51 +1,37 @@ | ||||||
| [ | [ | ||||||
|     { |   { | ||||||
|         "name of check": "RepoSize", |     "name of check": "RepoSize", | ||||||
|         "stdout": "Checking repository size: OK", |     "stdout": "Checking repository size: OK", | ||||||
|         "exit code": 0, |     "exit code": 0, | ||||||
|         "stderr": "", |     "stderr": "", | ||||||
|         "errorLog": null |     "errorLog": null | ||||||
|     }, |   }, | ||||||
|     { |   { | ||||||
|         "name of check": "forbiddenFile", |     "name of check": "forbiddenFile", | ||||||
|         "stdout": "Checking forbidden files: Failed", |     "stdout": "Checking forbidden files: Failed", | ||||||
|         "exit code": 101, |     "exit code": 101, | ||||||
|         "stderr": "103the following forbidden files were found: examples/healthcheck/meta/conf.toml, examples/healthcheck/meta/expected.json, examples/healthcheck/meta/stdin.sh, \n\nTo fix it, first make a backup of your repository and then run the following commands:\nfor i in examples/healthcheck/meta/conf.toml examples/healthcheck/meta/expected.json examples/healthcheck/meta/stdin.sh ; do git filter-repo --force --invert-paths --path \\\"\\$i\\\"; done\ngit remote add origin \ngit push --set-upstream origin  --force", |     "stderr": "103the following forbidden files were found: examples/healthcheck/meta/conf.toml, examples/healthcheck/meta/expected.json, examples/healthcheck/meta/stdin.sh, \n\nTo fix it, first make a backup of your repository and then run the following commands:\nfor i in examples/healthcheck/meta/conf.toml examples/healthcheck/meta/expected.json examples/healthcheck/meta/stdin.sh ; do git filter-repo --force --invert-paths --path \\\"\\$i\\\"; done\ngit remote add origin \ngit push --set-upstream origin  --force", | ||||||
|         "errorLog": null |     "errorLog": null | ||||||
|     }, |   }, | ||||||
|     { |   { | ||||||
|         "name of check": "metaFile", |     "name of check": "metaFile", | ||||||
|         "stdout": "Checking the existence of meta file: OK", |     "stdout": "Checking the existence of meta file: OK", | ||||||
|         "exit code": 0, |     "exit code": 0, | ||||||
|         "stderr": "", |     "stderr": "", | ||||||
|         "errorLog": null |     "errorLog": null | ||||||
|     }, |   }, | ||||||
|     { |   { | ||||||
|         "name of check": "NonAsciiFiles", |     "name of check": "NonAsciiFiles", | ||||||
|         "stdout": "Checking for non-ascii files: OK", |     "stdout": "Checking for non-ascii files: OK", | ||||||
|         "exit code": 0, |     "exit code": 0, | ||||||
|         "stderr": "", |     "stderr": "", | ||||||
|         "errorLog": null |     "errorLog": null | ||||||
|     }, |   }, | ||||||
|     { |   { | ||||||
|         "name of check": "NonAsciiMsg", |     "name of check": "NonAsciiMsg", | ||||||
|         "stdout": "Checking for non-ASCII characters in commit message: OK", |     "stdout": "Checking for non-ASCII characters in commit message: OK", | ||||||
|         "exit code": 0, |     "exit code": 0, | ||||||
|         "stderr": "", |     "stderr": "", | ||||||
|         "errorLog": null |     "errorLog": null | ||||||
|     }, |   } | ||||||
|     { |  | ||||||
|         "name of check": "ReleaseCheck", |  | ||||||
|         "stdout": "Failed", |  | ||||||
|         "exit code": 107, |  | ||||||
|         "stderr": "wrong release tag, please use one of  aborting", |  | ||||||
|         "errorLog": null |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|         "name of check": "verifyFile", |  | ||||||
|         "stdout": "Checking files to be verified: FailedFailedFailedFailedFailed!", |  | ||||||
|         "exit code": 101, |  | ||||||
|         "stderr": "File is not identicalFile missingFile missingFile missing", |  | ||||||
|         "errorLog": null |  | ||||||
|     } |  | ||||||
| ] | ] | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 zzjc1234
						zzjc1234