Is Auto-deploy possible?

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
thinknirmal
Posts: 5
Joined: Thu Jul 30, 2009 7:12 pm
Location: Kuala Lumpur, Malaysia
Contact:

Is Auto-deploy possible?

Post by thinknirmal » Thu Jul 30, 2009 7:22 pm

I am very new to any SCM and just now trying out Vault in my project.

I could understand most of the functionalities of Vault. But I am wondering whether the latest version of files from the repository can be automatically mirrored to a production server. I agree this is not the right method in any development. But given the restrictions in my development scenario, this feature would avoid a lot of troubles.

Any suggestions on how to do this please?

Thanks in advance!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Is Auto-deploy possible?

Post by lbauer » Thu Jul 30, 2009 8:59 pm

Is the production server on the same LAN as the Vault server, or is it on a different network?
Linda Bauer
SourceGear
Technical Support Manager

thinknirmal
Posts: 5
Joined: Thu Jul 30, 2009 7:12 pm
Location: Kuala Lumpur, Malaysia
Contact:

Re: Is Auto-deploy possible?

Post by thinknirmal » Thu Jul 30, 2009 10:02 pm

lbauer wrote:Is the production server on the same LAN as the Vault server, or is it on a different network?
Actually, it's the same server that serves both. Kind of a very small setup.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Is Auto-deploy possible?

Post by lbauer » Fri Jul 31, 2009 7:43 am

Then you can use Vault Shadow Folders.

A shadow folder is a local folder that contains the latest contents of a repository folder, and is kept up-to-date in the shadow folder by the Vault server as changes are applied to repository folder.

A special Shadow Folder Web Service is installed with the Vault server that is notified of changes as they happen, and the Shadow Folder Service keeps the local disk up to date. A shadow folder must be accessible from the machine the Shadow Folder Web Service is located on.

For details see Vault Help in your Admin Client or on our website:

http://download.sourcegear.com/misc/vau ... thelp.html

Look under Source Control Repositories->Shadow Folders. Our website help is for Vault 5.0, but the information applies to Vault 4.x as well.
Linda Bauer
SourceGear
Technical Support Manager

thinknirmal
Posts: 5
Joined: Thu Jul 30, 2009 7:12 pm
Location: Kuala Lumpur, Malaysia
Contact:

Re: Is Auto-deploy possible?

Post by thinknirmal » Sat Aug 01, 2009 3:48 am

lbauer wrote:Then you can use Vault Shadow Folders.
Thank you!
But I had to do changes manually in the web.config file to specify the cache path for shadow folders.
That solved the issue.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Is Auto-deploy possible?

Post by lbauer » Sat Aug 01, 2009 8:14 pm

Yes, on some machines the cache has to be manually configured.

Glad it's working for you now.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply