feat: remove joj3-teapot

This commit is contained in:
张泊明518370910136 2024-10-30 18:26:29 -04:00
parent 10ddb8ef20
commit cf926cd441
GPG Key ID: CA088E6D9284F870
4 changed files with 4 additions and 36 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
/bin/*
!/bin/joj3-teapot
/bin/joj3
/bin/repo-health-checker

View File

@ -17,8 +17,8 @@ RUN sed -i s@/deb.debian.org/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources.
# TODO: change it to FOCS gitea mirror for deployment
RUN pip install git+https://ghp.ci/https://github.com/BoYanZh/Joint-Teapot --break-system-packages
# install joj3 & repo-health-checker & teapot wrapper
COPY bin/joj3 bin/repo-health-checker bin/joj3-teapot /usr/local/bin/
# install joj3 & repo-health-checker
COPY bin/joj3 bin/repo-health-checker /usr/local/bin/
USER student
WORKDIR /home/student

0
bin/.gitkeep Normal file
View File

View File

@ -1,32 +0,0 @@
#!/usr/bin/bash
set -e
export LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log
export _TYPER_STANDARD_TRACEBACK=1
ENV_FILE_PATH=/home/tt/.config/teapot/teapot.env
JOJ3_RESULT_FILE_PATH=/tmp/joj3_result.json
GRADING_REPO_NAME="$1"
SUBMITTER_NAME="$2"
SUBMITTER_REPO_NAME=$(echo "$3" | cut -d'/' -f2)
RUN_NUMBER="$4"
/usr/local/bin/joint-teapot joj3-scoreboard \
$ENV_FILE_PATH \
$JOJ3_RESULT_FILE_PATH \
$SUBMITTER_NAME \
$GRADING_REPO_NAME \
$SUBMITTER_REPO_NAME \
$RUN_NUMBER
/usr/local/bin/joint-teapot joj3-failed-table \
$ENV_FILE_PATH \
$JOJ3_RESULT_FILE_PATH \
$SUBMITTER_NAME \
$GRADING_REPO_NAME \
$SUBMITTER_REPO_NAME \
$RUN_NUMBER
/usr/local/bin/joint-teapot joj3-create-result-issue \
$ENV_FILE_PATH \
$JOJ3_RESULT_FILE_PATH \
$SUBMITTER_REPO_NAME \
$RUN_NUMBER