Skip to content
Snippets Groups Projects
deploy_autolab_a.py 536 B
Newer Older
  • Learn to ignore specific revisions
  • tuhe's avatar
    tuhe committed
        # autolab_example_py_upload/instructor/cs102_autolab/deploy_autolab.py
    
        # Step 1: Download and compile docker grading image. You only need to do this once.  
    
        download_docker_images("../docker") # Download docker images from gitlab (only do this once).
        dockerfile = f"../docker/docker_tango_python/Dockerfile"
        autograde_image = 'tango_python_tue2'  # Tag given to the image in case you have multiple images.
        compile_docker_image(Dockerfile=dockerfile, tag=autograde_image, no_cache=False)  # Compile docker image.