aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2016-03-08 15:23:59 +0700
committerNaresh Kamboju <naresh.kamboju@linaro.org>2016-03-08 15:27:17 +0700
commitb7589f8f71c638cc5587c159f8850301208f54f4 (patch)
tree9cd27b0adb3277fa775b3aeef6ce14dd44a837fe
parentc2b71538e52821ab36ca3bc79466021f8d19211c (diff)
android_report_automation: README update
README updated with more information about ~/.netrc file Change-Id: I450530ac2065382d8fbac37fe46e7ddac3621641 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rw-r--r--README31
1 files changed, 22 insertions, 9 deletions
diff --git a/README b/README
index 57f48a3..a3a8b7e 100644
--- a/README
+++ b/README
@@ -2,6 +2,25 @@
1. py3o.template
2. jenkinsapi
+
+[Pre-setup]
+Create a file for authentication
+touch ~/.netrc
+Please change the file permissions to 600
+chmod 600 ~/.netrc
+
+ The authentication credential for LAVA/Jenkins server should be put in ~/.netrc
+ e.g.
+ machine validation.linaro.org
+ login USERNAME
+ password AUTHENTICATION TOKEN
+
+ NOTE: AUTHENTICATION TOKEN is found under https://validation.linaro.org/api/tokens/
+ e.g.
+ machine validation.linaro.org
+ login firstname.lastname
+ password abcdefghijklmnopq1234567890
+
[How to run the script]
1. Option '-h' shows all options
$./report_automation.py -h
@@ -10,14 +29,8 @@
[-a MANUAL_LAVA_JOBS [MANUAL_LAVA_JOBS ...]]
[-d EXCLUDE_LAVA_JOBS [EXCLUDE_LAVA_JOBS ...]]
[-temp TEMPLATE_FILE] [-o OUTPUT_FILE] [-f]
-
+
This script will collect all data and make a report.
- The authentication credential for LAVA/Jenkins server should be put in ~/.netrc
- e.g.
- machine validation.linaro.org
- login USERNAME
- password AUTHENTICATION TOKEN
-
optional arguments:
-h, --help show this help message and exit
-bn BUILD_NO, --build-no BUILD_NO
@@ -40,7 +53,7 @@
Default: report_output.odt
-f, --force-report Generate report even there're some errors
-2. ** The authentication credential for LAVA server MUST be put in ~/.netrc as it showed in help message.
+2. ** The authentication credential for LAVA server MUST be put in ~/.netrc as it showed in Pre-setup
3. Only '--build-no' argument is required.
Example.
- $./report_automation.py --build-no 148
+ $./report_automation.py --build-no 52 -job linaro-android_lcr-reference-juno-m