Add instructions for running basic tests, update readme so examples don't require mounting devices.
This commit is contained in:
parent
e326f51165
commit
7f1e4cfa61
7
HACKING
Normal file
7
HACKING
Normal file
@ -0,0 +1,7 @@
|
||||
To run the basic unit tests you'll need to:
|
||||
|
||||
sudo apt-get install python-mock python-nose python-jinja2
|
||||
|
||||
then run with:
|
||||
|
||||
PYTHONPATH=./hooks nosetests unit_tests
|
@ -46,13 +46,13 @@ this charm, a deployment would look something like:
|
||||
replicas: 3
|
||||
swift-storage-zone1:
|
||||
zone: 1
|
||||
block-device: sdb
|
||||
block-device: /etc/swift/storage.img|2G
|
||||
swift-storage-zone2:
|
||||
zone: 2
|
||||
block-device: sdb
|
||||
block-device: /etc/swift/storage.img|2G
|
||||
swift-storage-zone3:
|
||||
zone: 3
|
||||
block-device: sdb
|
||||
block-device: /etc/swift/storage.img|2G
|
||||
END
|
||||
$ juju deploy --config=swift.cfg swift-proxy
|
||||
$ juju deploy --config=swift.cfg swift-storage swift-storage-zone1
|
||||
@ -82,7 +82,7 @@ assigned to that service unit will be distributed evenly across zones.
|
||||
replicas: 3
|
||||
swift-storage:
|
||||
zone: 1
|
||||
block-device: sdb
|
||||
block-device: /etc/swift/storage.img|2G
|
||||
END
|
||||
$ juju deploy --config=swift.cfg swift-proxy
|
||||
$ juju deploy --config=swift.cfg swift-storage
|
||||
|
Loading…
Reference in New Issue
Block a user