Skip to content

Commit

Permalink
Updated Otter Grade Docker image to create an empty submission_metada…
Browse files Browse the repository at this point in the history
…ta.json file in the grading image to prevent plugins from erroring per #811
  • Loading branch information
chrispyles committed Sep 3, 2024
1 parent 3028591 commit 9988c39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* Removed `variables` key of assignment config in favor of `generate.serialized_variables` in Otter Assign per [#628](https://github.com/ucbds-infra/otter-grader/issues/628)
* Update Otter Assign to add cell metadata so that questions with no check cell have their tests run after the last solution cell per [#798](https://github.com/ucbds-infra/otter-grader/issues/798)
* Updated Otter Assign to strip type annotations from generated test code per [#796](https://github.com/ucbds-infra/otter-grader/issues/796)
* Updated Otter Grade Docker image to create an empty `submission_metadata.json` file in the grading image to prevent plugins from erroring per [#811](https://github.com/ucbds-infra/otter-grader/issues/811)

**v5.6.0:**

Expand Down
3 changes: 3 additions & 0 deletions otter/grade/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ RUN dos2unix /autograder/run_autograder /autograder/source/setup.sh && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# create an empty submission_metadata.json file so that plugins don't error when trying to read it
RUN touch /autograder/submission_metadata.json

ADD otter_config.json run_otter.py /autograder/source/
ADD files* /autograder/source/files/
ADD tests /autograder/source/tests/

0 comments on commit 9988c39

Please sign in to comment.