Sha256: 2019ec773c5958fddbba74fcc7f95bc9cc81fd14ed71e008f7cb93f6446af864

Contents?: true

Size: 1.37 KB

Versions: 11

Compression:

Stored size: 1.37 KB

Contents

It is possible to run an integration spec suite which attempts to exercise the
full whiskey_disk stack.  I want this to be able to work on a single machine
(especially since I like to work on whiskey_disk on airplanes and in foreign 
countries with questionable bandwidth/infrastructure).  So, here's how I set my
environment up to make this possible


     - need the following /etc/hosts entry:
       127.0.0.1       localhost wd-git.example.com wd-app1.example.com wd-app2.example.com

     - enable sshd logins
     
     - create a local user named 'user', then:
     
     user% mkdir wd-integration-target
     user% chmod 777 wd-integration-target
     user% ln -s ~/wd-integration-target /tmp/wd-integration-target
     
     user% ssh-keygen  (specify no passphrase)
     user% cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
     user% chmod 700 ~/.ssh/; chmod 600 ~/.ssh/authorized_keys
     
     user% ssh user@wd-app1.example.com  (answer 'yes' to the trust host prompt)
     ^D
     user% ssh user@wd-app2.example.com  ( ditto )
     ^D

     then, as user, git clone whiskey_disk from github or ln -s to an already checked out version
     (which is what I usually do)
     
     - run git-daemon:
       user% cd git/whiskey_disk
       user% git daemon --base-path=`pwd`/scenarios/git_repositories/ --reuseaddr --verbose &

     user% export INTEGRATION=true
     user% rake   

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
whiskey_disk-0.6.22 README.integration_specs
whiskey_disk-0.6.21 README.integration_specs
whiskey_disk-0.6.20 README.integration_specs
whiskey_disk-0.6.17 README.integration_specs
whiskey_disk-0.6.16 README.integration_specs
whiskey_disk-0.6.15 README.integration_specs
whiskey_disk-0.6.14 README.integration_specs
whiskey_disk-0.6.13 README.integration_specs
whiskey_disk-0.6.12 README.integration_specs
whiskey_disk-0.6.11 README.integration_specs
whiskey_disk-0.6.10 README.integration_specs