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