MP 7: Dancing with Our C Code - JKLMNOP

Due Date: Completed, turned in via git, and GitHub Action completed before March 28, 2023 at 11:59pm
Extra Credit: This page describes extra credit to earn up to +5 EC.
Semester-Long Details: Programming Environment and MP Policy

Overview

Looking for to nerd out with PNGs a bit more? This JKLMNOP is for you!

Initial Files

In your CS 340 directory, merge the initial starting files with the following commands:

git fetch release
git merge release/mp7-jklmnop -m "Merging initial files"

Requirements

For +5 extra credit points, create a Dockerfile that builds the entire MP7 service into a docker container.

Your Dockerfile must build a docker container when the docker build -t mp7-docker -f Dockerfile ../ command in invoked in your mp7 directory. This means that:

  • Your Dockerfile (located in mp7) will be run relative to one directory higher than mp7 (your netid directory).
  • The is a little strange – but this is necessary so that you can include both mp2 and mp7 in your container.

You can view test_docker.py to view this (and a few other) docker commands that we run during testing.

Submission and Grading

Submission

Once you have locally passed all the tests, you will need to submit and grade your code. First commit using the standard git commands:

git add -A
git commit -m "MP submission"
git push

Grading

The initial grading is done via a manual GitHub Action. You MUST complete this step before the deadline to earn any points for the MP:

  • Navigate to your repository on https://github.com/cs340-illinois.
  • Click on the “Action” Tab
  • Choose “mp7-jklmnop autograding”
  • Click the green “Run Workflow” button (located on the blue bar)
  • Press “Run Workflow”
  • You will trigger a GitHub Action that will complete the grading run!

Points

The JKLMNOP is worth +5 points, awarded only if all tests pass.