Merge lp:~nuclearbob/utah/doc-updates into lp:utah

Proposed by Max Brustkern
Status: Merged
Merged at revision: 687
Proposed branch: lp:~nuclearbob/utah/doc-updates
Merge into: lp:utah
Diff against target: 89 lines (+11/-10)
2 files modified
docs/source/development.rst (+5/-6)
docs/source/introduction.rst (+6/-4)
To merge this branch: bzr merge lp:~nuclearbob/utah/doc-updates
Reviewer Review Type Date Requested Status
Joe Talbott (community) Approve
Review via email: mp+126265@code.launchpad.net

Description of the change

This branch contains several updates to the documentation based on feedback from users.

To post a comment you must log in.
lp:~nuclearbob/utah/doc-updates updated
681. By Max Brustkern

Added note about installing just the client

Revision history for this message
Joe Talbott (joetalbott) wrote :

Looks good. Merge it.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'docs/source/development.rst'
--- docs/source/development.rst 2012-09-25 21:20:22 +0000
+++ docs/source/development.rst 2012-09-26 14:15:33 +0000
@@ -12,7 +12,7 @@
12Provisionioning12Provisionioning
13---------------13---------------
1414
15Within the UATH code, provisioning machines is handled by subclasses of the15Within the UTAH code, provisioning machines is handled by subclasses of the
16:py:class:`.Machine` class.16:py:class:`.Machine` class.
1717
18Scripts should provision machines by creating an instance of a subclass of the18Scripts should provision machines by creating an instance of a subclass of the
@@ -21,7 +21,7 @@
21collision.21collision.
2222
23End users not writing scripts can provision machines automatically using23End users not writing scripts can provision machines automatically using
24scripts provided by the UATH package. Please see the main UATH page for that.24scripts provided by the UTAH package. Please see the main UTAH page for that.
2525
26UTAH Compatible Test Cases26UTAH Compatible Test Cases
27--------------------------27--------------------------
@@ -85,11 +85,9 @@
85::85::
8686
87 - test: t1 # directory87 - test: t1 # directory
88 command: python test1.py a1 a2 a3 # command to run the test from within t1
89 run_as: nobody # user that runs the test88 run_as: nobody # user that runs the test
9089
91 - test: t2 # directory/binary90 - test: t2 # directory/binary
92 command: test2.sh
93 overrides: # array of control properties to override91 overrides: # array of control properties to override
94 - timeout: 200 # timeout in seconds92 - timeout: 200 # timeout in seconds
9593
@@ -99,9 +97,9 @@
9997
100 build_cmd: make98 build_cmd: make
101 timeout: 30099 timeout: 300
102 ts_setup: tsetup/setup.sh # test case t1 is the set up for100 ts_setup: tsetup/setup.sh # tsetup/setup.sh is the set up for
103 # the whole test suite101 # the whole test suite
104 ts_cleanup: tcleanup/cleanup.sh # clean up test case102 ts_cleanup: tcleanup/cleanup.sh # clean up test suite
105103
106104
107To avoid excessive typing and repetition in runlists and control files the105To avoid excessive typing and repetition in runlists and control files the
@@ -134,6 +132,7 @@
134::132::
135133
136 build_cmd: make # or scons or build.sh134 build_cmd: make # or scons or build.sh
135 command: python test1.py a1 a2 a3 # command to run the test from within t1
137 description:136 description:
138 ( tc_id: TC-INSTALL-ALTERNATE-01)137 ( tc_id: TC-INSTALL-ALTERNATE-01)
139 dependencies:138 dependencies:
140139
=== modified file 'docs/source/introduction.rst'
--- docs/source/introduction.rst 2012-09-05 12:06:10 +0000
+++ docs/source/introduction.rst 2012-09-26 14:15:33 +0000
@@ -12,7 +12,7 @@
1212
13All kind of end to end automated testing requires: 13All kind of end to end automated testing requires:
1414
15#. Provisioning a machine (or use an existing one)15#. Provisioning a machine (or using an existing one)
16#. Running the tests16#. Running the tests
17#. Reporting the results17#. Reporting the results
1818
@@ -62,7 +62,7 @@
62by provisioning it with a particular provisioning method.62by provisioning it with a particular provisioning method.
6363
64**WARNING: Your machine will be modified, not to interfere with your current64**WARNING: Your machine will be modified, not to interfere with your current
65set-up or virtualised environment, so uath will create a new user called uath65set-up or virtualised environment, so UTAH will create a new user called utah
66with sudo privileges to run the tests and have an inventory of existing VMs66with sudo privileges to run the tests and have an inventory of existing VMs
67that you could be interested in for running tests.**67that you could be interested in for running tests.**
6868
@@ -79,9 +79,11 @@
79There are some dependencies that need to be met in order to test with VMs, in a79There are some dependencies that need to be met in order to test with VMs, in a
80nutshell::80nutshell::
8181
82 sudo apt-add-repository -y ppa:utah/daily82 sudo apt-add-repository -y ppa:utah/stable
83 sudo apt-get update83 sudo apt-get update
84 sudo apt-get install utah vm-tools84 sudo apt-get install utah
85
86This will install the provisioning code as well as the test runner. To install just the test runner, install the utah-client package.
8587
8688
87Usage of run_utah_tests.py:89Usage of run_utah_tests.py:

Subscribers

People subscribed via source and target branches