autolab / Autolab

Course management service that enables auto-graded programming assignments.
http://www.autolabproject.com/
Apache License 2.0
752 stars 213 forks source link

Default value for VM Image in Autograder Settings #1005

Open krivers opened 5 years ago

krivers commented 5 years ago

Hi Autolab team,

I've now seen several people run into trouble setting up their autograder because they forgot to set the VM image in the autograder settings to the default value. Can we just have the value set itself to rhel.img by default? That's what the majority of people are using anyway.

Thanks!

zyx-billy commented 5 years ago

Hi Kelly, are you referring to the cmu deployment? It might be a good idea to let autolab-help@andrew know since they manage the deployment. The default image name of "autograding_image" in the repo is in sync with the default image name used in Tango, so for devs setting up Autolab it's more convenient.

victorhuangwq commented 4 years ago

Seems to be more of a deployment issue. Will close if there are no longer any updates.

cg2v commented 4 years ago

Can the default image name be set somewhere? Or are you saying that deployments that do not name their default image autograding_image are just wrong?

damianhxy commented 2 years ago

Perhaps add config.x.autograder.default_autograde_image = "<image name>" to config/environment/<env>.rb and change autograders_controller.rb#create to use a.autograde_image = Rails.configuration.x.autograder.default_autograde_image