Merge lp:~cprov/tanuki-agent/tutorial-updates into lp:tanuki-agent

Proposed by Celso Providelo
Status: Merged
Approved by: Bret Barker
Approved revision: 131
Merged at revision: 132
Proposed branch: lp:~cprov/tanuki-agent/tutorial-updates
Merge into: lp:tanuki-agent
Diff against target: 48 lines (+8/-8)
1 file modified
docs/tutorial.md (+8/-8)
To merge this branch: bzr merge lp:~cprov/tanuki-agent/tutorial-updates
Reviewer Review Type Date Requested Status
Bret Barker (community) Approve
Review via email: mp+275847@code.launchpad.net

Commit message

Update testing image checksum and small language tweaks.

To post a comment you must log in.
Revision history for this message
Bret Barker (noise) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'docs/tutorial.md'
2--- docs/tutorial.md 2015-10-26 20:06:25 +0000
3+++ docs/tutorial.md 2015-10-27 13:33:37 +0000
4@@ -153,11 +153,11 @@
5 Or download the one we have already baked:
6
7 wget https://spi.canonical.com/assets/spi-test_pi2.img.xz
8+
9+The md5 for the downloaded file should match:
10+
11 md5sum spi-test_pi2.img.xz
12-
13-The md5 for the downloaded file should match:
14-
15- 8f2cef8367b9913c92b332e5a0586281 spi-test_pi2.img.xz
16+ f09e21b9567eb599cd11cc284fef0218 spi-test_pi2.img.xz
17
18 Then uncompress the downloaded file:
19
20@@ -213,9 +213,9 @@
21 ["webdm.canonical", null, false]]
22 }'
23
24-Note "test-snap" is our sample application snap that we'll be using to trigger the tests when a new version becomes available, and we start here with sequence 1 in our base image.
25+Note "test-snap" is our sample application snap that we will be using to trigger the tests when a new version becomes available, and we start here with sequence 1 in our base image.
26
27-Next you'll define your test scenario via a Test Specification, with the following fields:
28+Next you will define your test scenario via a Test Specification, with the following fields:
29
30 - ```name```: a unique reference to identify tests and their results
31 - ```image_name```: the same that we put in the Manifest above
32@@ -241,7 +241,7 @@
33
34 #### Triggering Tests
35
36-Now we'll tell the system manually that a new version of the snap we're using for the tutorial is available:
37+Now we will tell the system manually that a new version of the snap we are using for the tutorial is available:
38
39 ./api_example.py -X POST config.ini https://spi.canonical.com/orgs/$ORGANIZATION/snap-revisions --data '{
40 "name": "test-snap.spi-test",
41@@ -262,7 +262,7 @@
42 setupcommand = PATH_TO_AGENT/rpi2-sample-provkit/setup
43 testcommand = PATH_TO_AGENT/rpi2-sample-provkit/runtest
44
45-Next step, then, is to start the Agent to consume that test opportunity message and start running the test. As remote flashing of the Raspberry Pi is still in development, we'll need to set up the Raspberry Pi manually. After receiving the test to run, the Agent will produce some instructions to get an image and burn it into the device, so please follow those instructions and let the Agent know when you're ready (it will wait for you to press Enter).
46+Next step, then, is to start the Agent to consume that test opportunity message and start running the test. As remote flashing of the Raspberry Pi is still in development, we will need to set up the Raspberry Pi manually. After receiving the test to run, the Agent will produce some instructions to get an image and burn it into the device, so please follow those instructions and let the Agent know when you are ready (it will wait for you to press Enter).
47
48 Here we go:
49

Subscribers

People subscribed via source and target branches

to all changes: