pcp
[Top] [All Lists]

Re: [pcp] [RFC] Using Vagrant for QA tests

To: Ryan Doyle <rdoyle@xxxxxxxxxx>
Subject: Re: [pcp] [RFC] Using Vagrant for QA tests
From: Paul Smith <psmith@xxxxxxxxxx>
Date: Thu, 11 Dec 2014 13:53:05 +1100
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <2122993129.5476735.1418259486798.JavaMail.zimbra@xxxxxxxxxx>
References: <2122993129.5476735.1418259486798.JavaMail.zimbra@xxxxxxxxxx>


0. Download and install Vagrant (and VirtualBox)
1. Run `vagrant up` inside the root PCP git repository. This will take some time while it downloads a VM image, sets it up to build PCP and then install the locally build PCP version

An additional point that the time taken to download is a once off hit for the machine running Vagrant, it's awfully fast the next time you do a 'vagrant up' as it doesn't have to download and unpack that VM Image.  Not quite as fast as Docker, but still very good.  I definitely recommend looking further into Vagrant for this sort of QA stuff.

2. Run `vagrant ssh`. You're now inside the VM
3. Run `cd /vagrant`. You're now at the root PCP git repository

(this is a path mapped back to the 'outer' host you ran Vagrant from.

cheers,

Paul

<Prev in Thread] Current Thread [Next in Thread>