feat(.drone.yml,-submit_scoreboard.sh): setting up .env
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
24b7b2b555
commit
629e0ecb29
|
@ -27,6 +27,10 @@ steps:
|
|||
- make prepare-test
|
||||
- make test
|
||||
- name: scoreboard
|
||||
environment:
|
||||
GITEA_ACCESS_TOKEN:
|
||||
from_secret: gitea-token
|
||||
GITEA_ORG_NAME: FOCS-dev
|
||||
commands:
|
||||
- bash scripts/submit_scoreboard.sh
|
||||
- name: store
|
||||
|
|
|
@ -9,5 +9,14 @@ else
|
|||
fi
|
||||
|
||||
mkdir repos
|
||||
cp $ORIG_HOME/.config/ci/teapot.env .env && joint-teapot JOJ3-scoreboard "score.json" $SUBMITTER_NAME "" "JOJ3-examples" "JOJ3_dev.csv"
|
||||
|
||||
echo 'CANVAS_ACCESS_TOKEN=""' > .env
|
||||
echo 'CANVAS_COURSE_ID=0' >> .env
|
||||
echo 'GITEA_ACCESS_TOKEN=$GITEA_ACCESS_TOKEN' >> .env
|
||||
echo 'GITEA_ORG_NAME=$GITEA_ORG_NAME' >> .env
|
||||
echo 'MATTERMOST_TEAM=""' >> .env
|
||||
echo 'MATTERMOST_ACCESS_TOKEN=""' >> .env
|
||||
echo 'MATTERMOST_TEACHING_TEAM=[]' >> .env
|
||||
|
||||
joint-teapot JOJ3-scoreboard "score.json" $SUBMITTER_NAME "" "JOJ3-examples" "JOJ3_dev.csv"
|
||||
cat joint-teapot.log
|
||||
|
|
Loading…
Reference in New Issue
Block a user