Skip to content

Commit

Permalink
[Feature:Developer] Share DockerImages repo with dev VM (Submitty#10815)
Browse files Browse the repository at this point in the history
### What is the current behavior?
It is currently difficult to test changes to Submitty docker images
because the `DockerImages` and `DockerImagesRPI` repositories are not
shared with the development VM if they are cloned locally.

### What is the new behavior?
This PR shares the `DockerImages` and `DockerImagesRPI` repositories
with the development VM to make it easier to test changes to new images.
  • Loading branch information
williamjallen authored Aug 1, 2024
1 parent 230a2f1 commit 0ff590d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def mount_folders(config, mount_options, type = nil)
group = 'vagrant'
config.vm.synced_folder '.', '/usr/local/submitty/GIT_CHECKOUT/Submitty', create: true, owner: owner, group: group, mount_options: mount_options, smb_host: '10.0.2.2', smb_username: `whoami`.chomp, type: type

optional_repos = %w(AnalysisTools AnalysisToolsTS Lichen RainbowGrades Tutorial CrashCourseCPPSyntax LichenTestData)
optional_repos = %w(AnalysisTools AnalysisToolsTS Lichen RainbowGrades Tutorial CrashCourseCPPSyntax LichenTestData DockerImages DockerImagesRPI)
optional_repos.each {|repo|
repo_path = File.expand_path("../" + repo)
if File.directory?(repo_path)
Expand Down

0 comments on commit 0ff590d

Please sign in to comment.