Update grading image, push JSON grading result back to gitlab
This commit is contained in:
parent
53ead0daad
commit
e56b51381d
@ -22,7 +22,7 @@ grade:
|
|||||||
tags:
|
tags:
|
||||||
- cs210
|
- cs210
|
||||||
image:
|
image:
|
||||||
name: registry.gitlab.com/fnux/cs210-grading-images/progfun1-recfun
|
name: registry.gitlab.com/fnux/cs210-grading-images/progfun1-recfun:20190919-916bf8892e34b9d4118da077025ca92be1be1d48
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
before_script:
|
before_script:
|
||||||
@ -32,5 +32,7 @@ grade:
|
|||||||
- cd /grader
|
- cd /grader
|
||||||
- /grader/grade > result.json
|
- /grader/grade > result.json
|
||||||
- cat result.json | /grader/feedback-printer
|
- cat result.json | /grader/feedback-printer
|
||||||
# 'Fail' if the student did not get the full grade.
|
artifacts:
|
||||||
- cat result.json | grep "10.00 out of 10.00 in our tests" > /dev/null
|
expire_in: 7 days
|
||||||
|
paths:
|
||||||
|
- /grader/result.json
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user