SERG-Delft / andy

Andy assesses student's test code. It's used in CSE1110, TU Delft.
MIT License
78 stars 22 forks source link

Fix Docker using an old branch version from cache #225

Closed martinmladenov closed 1 year ago

martinmladenov commented 1 year ago

Docker was caching the git clone command, causing it to use an old branch version from cache. Fixed it by forcibly writing a file which changes every time a new commit is pushed (from the GitHub API), which should block the caching mechanism, as the image state would be different.