feat: remove joj3-teapot (#4)
All checks were successful
push / build (push) Successful in 44s

Reviewed-on: #4
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
This commit is contained in:
张泊明518370910136 2024-10-31 06:30:20 +08:00 committed by 张泊明518370910136
parent 10ddb8ef20
commit df7866414d
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