Skip to content
Snippets Groups Projects
Commit 7a67b433 authored by Matt Bovel's avatar Matt Bovel
Browse files

Update grading-gitlab-ci.yml

parent b4ed731f
Branches
No related tags found
No related merge requests found
...@@ -17,47 +17,31 @@ variables: ...@@ -17,47 +17,31 @@ variables:
compile: compile:
stage: build stage: build
timeout: 15m timeout: 10m
image: lampepfl2022/cs206:compile image: ${DOCKER_REPO}/compile
tags: tags:
- cs206 - cs210
except: except:
- tags - tags
- master - master
- exercise-1
- exercise-2
- exercise-3
- exercise-4
- exercise-5
- exercise-6
- exercise-7
- exercise-8
script: script:
- sbt packageSubmission - sbt packageSubmission
# Output of this job that needs to be stored to be reused in the grade job below # Output of this job that needs to be stored to be reused in the grade job below
artifacts: artifacts:
expire_in: 1 day expire_in: 20m
paths: paths:
- submission.jar - submission.jar
grade: grade:
stage: grade stage: grade
timeout: 15m timeout: 10m
except: except:
- tags - tags
- master - master
- exercise-1
- exercise-2
- exercise-3
- exercise-4
- exercise-5
- exercise-6
- exercise-7
- exercise-8
tags: tags:
- cs210 - cs210
image: image:
name: lampepfl2022/cs206:grader-${CI_COMMIT_BRANCH} name: ${DOCKER_REPO}/grader-${CI_COMMIT_BRANCH}
entrypoint: [""] entrypoint: [""]
allow_failure: true allow_failure: true
before_script: before_script:
...@@ -65,4 +49,4 @@ grade: ...@@ -65,4 +49,4 @@ grade:
- cp submission.jar /shared/submission/submission.jar - cp submission.jar /shared/submission/submission.jar
script: script:
- cd /grader - cd /grader
- /grader/grade - env -i bash --noprofile --norc -c "/grader/grade ch.epfl.lamp.grading.CourseraGrading -"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment