Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CS-206 Parallelism and Concurrency 2022
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab is being updated to the latest version (v17.9.2). No downtime is expected.
Show more breadcrumbs
lamp
CS-206 Parallelism and Concurrency 2022
Commits
2378cac5
Commit
2378cac5
authored
2 years ago
by
Matt Bovel
Browse files
Options
Downloads
Patches
Plain Diff
Add CI config
parent
d1f0e3fa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
grading-gitlab-ci.yml
+44
-0
44 additions, 0 deletions
grading-gitlab-ci.yml
with
44 additions
and
0 deletions
grading-gitlab-ci.yml
0 → 100644
+
44
−
0
View file @
2378cac5
# 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
:
10m
image
:
${DOCKER_REPO}/compile
tags
:
-
cs210
except
:
-
tags
-
main
script
:
-
sbt packageSubmission
# Output of this job that needs to be stored to be reused in the grade job below
artifacts
:
expire_in
:
24h
paths
:
-
submission.jar
grade
:
stage
:
grade
timeout
:
10m
except
:
-
tags
-
main
tags
:
-
cs210
variables
:
JAR_PATH
:
"
${CI_PROJECT_DIR}/submission.jar"
image
:
${DOCKER_REPO}/grader-${CI_COMMIT_BRANCH}
allow_failure
:
true
script
:
"
😎"
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