feat: real commands in joj3-teapot
This commit is contained in:
		
							parent
							
								
									ed299366b9
								
							
						
					
					
						commit
						bdcb267302
					
				|  | @ -2,5 +2,24 @@ | ||||||
| 
 | 
 | ||||||
| set -e | set -e | ||||||
| 
 | 
 | ||||||
| # TODO: real teapot commands | LOG_FILE_PATH=/tmp/joint-teapot.log | ||||||
| LOG_FILE_PATH=/tmp/joint-teapot.log /usr/local/bin/joint-teapot --help | ENV_FILE_PATH=/mnt/tt/.config/teapot.env | ||||||
|  | JOJ3_RESULT_FILE_PATH=/tmp/joj3_result.json | ||||||
|  | GRADING_REPO_NAME="$1" | ||||||
|  | SUBMITTER_NAME="$GITHUB_ACTOR" | ||||||
|  | SUBMITTER_REPO_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f2) | ||||||
|  | 
 | ||||||
|  | /usr/local/bin/joint-teapot joj3-scoreboard \ | ||||||
|  |     $ENV_FILE_PATH \ | ||||||
|  |     $JOJ3_RESULT_FILE_PATH \ | ||||||
|  |     $SUBMITTER_NAME \ | ||||||
|  |     $GRADING_REPO_NAME | ||||||
|  | /usr/local/bin/joint-teapot joj3-failed-table \ | ||||||
|  |     $ENV_FILE_PATH \ | ||||||
|  |     $JOJ3_RESULT_FILE_PATH \ | ||||||
|  |     $GRADING_REPO_NAME \ | ||||||
|  |     $SUBMITTER_REPO_NAME | ||||||
|  | /usr/local/bin/joint-teapot joj3-create-result-issue \ | ||||||
|  |     $ENV_FILE_PATH \ | ||||||
|  |     $JOJ3_RESULT_FILE_PATH \ | ||||||
|  |     $SUBMITTER_REPO_NAME | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user