Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CS320
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LARA
CS320
Commits
5f7c3aaf
Commit
5f7c3aaf
authored
3 years ago
by
Rodrigo Raya
Browse files
Options
Downloads
Patches
Plain Diff
Copy grading file from functional programming
parent
52f0a5a3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
grading-gitlab-ci.yml
+67
-0
67 additions, 0 deletions
grading-gitlab-ci.yml
with
67 additions
and
0 deletions
grading-gitlab-ci.yml
0 → 100644
+
67
−
0
View file @
5f7c3aaf
# This CI config file is not used in this repository but instead referenced
# from each student project (https://gitlab.epfl.ch/help/ci/pipelines/settings#custom-ci-configuration-path)
# and used to grade them.
workflow
:
rules
:
# Don't run the CI on commit messages contain "[no-ci]", used to deploy
# assignments without overloading the CI.
-
if
:
$CI_COMMIT_MESSAGE !~ /\[no-ci\]/
stages
:
-
build
-
grade
compile
:
stage
:
build
timeout
:
15m
image
:
lampepfl/moocs:2021-09-20
tags
:
-
cs210
except
:
-
tags
-
master
-
exercise-1
-
exercise-2
-
exercise-3
-
exercise-4
-
exercise-5
-
exercise-6
-
exercise-7
-
exercise-8
script
:
-
sbt packageSubmission
# Output of this job that needs to be stored to be reused in the grade job below
artifacts
:
expire_in
:
1 day
paths
:
-
submission.jar
grade
:
stage
:
grade
timeout
:
15m
except
:
-
tags
-
master
-
exercise-1
-
exercise-2
-
exercise-3
-
exercise-4
-
exercise-5
-
exercise-6
-
exercise-7
-
exercise-8
tags
:
-
cs210
image
:
name
:
lampepfl/moocs:cs210-2021-${CI_COMMIT_BRANCH}
entrypoint
:
[
"
"
]
allow_failure
:
true
before_script
:
-
mkdir -p /shared/submission/
-
cp submission.jar /shared/submission/submission.jar
script
:
-
cd /grader
-
/grader/grade
-
cat /shared/txtFeedback.txt
-
grep -q congratulations /shared/txtFeedback.txt
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment