From afa68c33a62e0397d21db6d6002208245668c264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Thu, 19 Sep 2019 06:34:07 +0200 Subject: [PATCH] Update grading image, push JSON grading result back to gitlab --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d1e47a1..9f129b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ grade: tags: - cs210 image: - name: registry.gitlab.com/fnux/cs210-grading-images/progfun1-example + name: registry.gitlab.com/fnux/cs210-grading-images/progfun1-example:20190919-916bf8892e34b9d4118da077025ca92be1be1d48 entrypoint: [""] allow_failure: true before_script: @@ -32,5 +32,7 @@ grade: - cd /grader - /grader/grade > result.json - cat result.json | /grader/feedback-printer - # 'Fail' if the student did not get the full grade. - - cat result.json | grep "10.00 out of 10.00 in our tests" > /dev/null + artifacts: + expire_in: 7 days + paths: + - /grader/result.json