wiki:HowTo/UseDropboxToTestInstallScripts

Version 11 (modified by sedwards@bbn.com, 10 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.

Any public webserver can be used to how the install scripts.

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 to reference an RSpec in 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 the following command:
      tar -czvf file.tar.gz FILE1 FILE2 DIR1 DIR2 DIR3
      
  3. Share a link to the tarball. See the 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 before using it in your RSpec.
  5. Test your RSpec using the tool of your choice.