bug 870091 - do not use nfs on jenkins #1228

Merged
merged 1 commit into from May 8, 2013

Projects

None yet

2 participants

@rhelmer
Member
rhelmer commented May 8, 2013

No description provided.

@erikrose erikrose commented on the diff May 8, 2013
Vagrantfile
if CONF['boot_mode'] == 'gui'
config.vm.boot_mode = :gui
end
+
+ MOUNT_POINT = '/home/socorro/dev/socorro'
+
+ # Don't mount shared folder over NFS on Jenkins; NFS doesn't work there yet.
+ if is_jenkins or CONF['nfs'] == false or RUBY_PLATFORM =~ /mswin(32|64)/
+ config.vm.share_folder("v-root", MOUNT_POINT, ".")
+ else
+ config.vm.share_folder("v-root", MOUNT_POINT, ".", :nfs => true)
@erikrose
erikrose May 8, 2013 Member

Did you mean to change "socorro-code" to "v-root"? I'm not sure what this param does.

@rhelmer
rhelmer May 8, 2013 Member

It's the name that'll be used for this folder in virtualbox (e.g. if you look at the GUI), doesn't actually matter for anything else AFAICT:
http://docs-v1.vagrantup.com/v1/docs/config/vm/share_folder.html

@erikrose
Member
erikrose commented May 8, 2013

r+

@rhelmer rhelmer merged commit 8d97831 into mozilla:master May 8, 2013

1 check passed

default Jenkins build 'socorro-github' #799 has succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment