Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script for Rebuilding Grader Base and Removing Linked Images #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

williams-jack
Copy link
Collaborator

Feature/Problem Description

When changes have been made to the Worker logic, we need to rebuild the image for it, and then remove an images currently on the Orchestrator to force clients to rebuild their grader images given the new base image.

Solution (Changes Made)

  • Script added that does the following:
    • Rebuilds the worker image.
    • Removes all .tgz files present in orchestrator/images.

Additional Notes:

To run the script, execute the following in the shell (from the project level):

$ cd orchestrator/scripts
$ ./rebuild-grader-base

@blerner
Copy link
Collaborator

blerner commented Sep 6, 2024

Please make the relative paths less relative, so I can do cd orchestrator: ./scripts/rebuild.... as well as from within the scripts subdirectory, and this is good to go in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants