wiki:HowTo/UseDropboxToTestInstallScripts

Version 5 (modified by sedwards@bbn.com, 5 years ago) (diff)

--

How to Use Dropbox to Test Install Scripts

Testing install scripts often requires a cycle of testing and modification to get the tarball just right.

Here's how to use Dropbox to test your install script.

Requirements

  • You must have a Dropbox account in order for this to work.
  • You can test install scripts with any tool using this method.
  • You can not use a Dropbox url for an RSpec with Flack using this method. (However you can use the load from a file feature with Flack.)

Instructions

  1. Install Dropbox for your system.
  2. Place the tarball in your Dropbox folder on your local system.
    1. Alternatively, place the relevant files in your Dropbox folder and then tar them up using:
      tar -czvf file.tar.gz FILE1 FILE2 DIR1 DIR2 DIR3
      
  3. Share a link to the tarball. Instructions for your OS
  4. Create or modify your RSpec to point to the URL for the shared link. Drop the dl=0 off the end of the URL.
  5. Test your RSpec.