summaryrefslogtreecommitdiff
path: root/tsp/scripts
AgeCommit message (Collapse)AuthorFilesLines
2016-10-07Log every finished job to /tmp/testlab.logAleksander Mistewicz2-1/+3
Add quiet param to wget in tsp/scripts/download_image.py Add tsp/scripts/log.sh which writes all its params to /tmp/testlab.log Add env variable in tsp/common.sh: TS_ONFINISH if TSP_DIR is set Change-Id: I87510f3fe73dc20d1842075cdf77186b8d298581 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-10-07Write new timestamp at the end in crawl.pyAleksander Mistewicz1-2/+2
If a timeout occurs during a crawl an old timestamp will be preserved. Change-Id: Ibae158baa1a8c8fbe09397225b312d29d44e715c Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-10-07Use logging in tsp/scripts/crawler.pyAleksander Mistewicz1-0/+19
Change-Id: Ie18cfe89cc4c7149ba0f53b6227d1e0d1dd818bc Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-10-07Replace env variable with argparse in crawler.pyAleksander Mistewicz1-25/+38
Change-Id: I4a299d124df4692670d46726177073980aefdc88 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-10-07Use new version of tct/resource_locking scriptAleksander Mistewicz1-8/+7
Change-Id: Ie684ba0aecf2f6ab76da3a9a95560d29c6c4c549 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-08-24Change target naming convention, remove symlinksAleksander Mistewicz4-9/+27
Move information from filename (argument $0) to a line parameter. With introduction of testing path of 64-bit images for Minnowboards it was easier to use single name for all operations (downloading, testing). Currently supported target configurations: * odroid: arm-wayland (common-boot-armv7l-odroidu3, common-wayland-3parts-armv7l-odroidu3) * minnow32: ia32-wayland (common-wayland-efi-i586) * minnow64: x86_64-wayland (common-wayland-efi-x86_64) Change-Id: I5c882a14d0ff4345376a477fd363ca0b6451f708 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-08-24Modify tsp behaviour to comply with OBS changesAleksander Mistewicz1-9/+35
Use filenames that won't confuse future developer Change-Id: I3c0928045ab169b20333c94f762d6be64f58a17c Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-07-11Move all workspaces' paths to tsp/common.shAleksander Mistewicz1-1/+6
Change-Id: I5539cd6852c9e051467e923bf8520ca49e1d4c42 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-07-11Use logging library in download_image.pyAleksander Mistewicz1-19/+31
Change-Id: Ia9f5bd323a8293a5b8ea2592cb7099c6e5c58bcb Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-07-11Omit snapshots in tsp/scripts/free_diskspace.shAleksander Mistewicz1-0/+5
Change-Id: I896826e27b71b617c42bb8fc3a3cca30f40d7c4b Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-07-11Add arch arg to download_image.pyAleksander Mistewicz1-11/+19
Change-Id: I4cf908205b9dcbd242d2df4405c3aaade6f120eb Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-07-11Download and test snapshotsAleksander Mistewicz1-3/+6
Change-Id: I319dad8aef8432502b7d4ff009ee4af3abf01290 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-07-11Fix snapshot linking bug in tsp/scripts/publish.shAleksander Mistewicz1-1/+1
If the results for a prerelease had been published before the results for the snapshot were, then the page of the results wouldn't have been linked to the main site. Change-Id: Ie0d625a60ee283eed8783a4df46e8857ae921b33 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-07-11Use ImageVersion class in download_image.pyAleksander Mistewicz1-20/+34
It replaces ImageDownloader.extract_nr() Change-Id: Ie7f0dd85dff387daf1774dcb067b3245b6ba21cf Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-07-04Add version representation for downloaded imagesPawel Wieczorek1-0/+32
This patch introduces ImageVersion class. It can replace calls to ImageDownloader.extract_nr() and is suitable for both prerelease and snapshot images. Change-Id: If6b32309c1b87d1ad2b7c62ca0246dcb0ff3dc47
2016-06-23Add tsp/scripts/free_diskspace.shAleksander Mistewicz1-0/+24
Change-Id: Iae5463f09e9c20d118c456ee4c7b85fc6ae1da86 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-06-23Add tsp/scripts/common_prep_flash_conf.shAleksander Mistewicz3-0/+68
Change-Id: I3ea52b256b8b1017ba0cc0b9bea2bd8d5a519815 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-06-13Add pywikibot publisher scriptPawel Wieczorek1-0/+58
Change-Id: I375328341813199ea15db86a8cef33a97da05a12
2016-06-13Add function to create project.confAleksander Mistewicz1-1/+9
Change-Id: I783eb585cf9cc593237c8c4c747ffa4072668fa9 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-06-13Add tsp/scripts/download_image.pyAleksander Mistewicz1-0/+206
Change-Id: I6dabcf96d84eb5bc01ae653d963af7a78023d44f Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
2016-06-13Add prerelease crawler scriptPawel Wieczorek1-0/+79
This patch introduces script for obtaining information about new prerelease projects. Root for crawling is taken from 'ROOT' environment variable. If it is not set, script will fallback to: "http://download.tizen.org/prerelease/tizen/common/". Change-Id: I363332fcf3f24cc81ac81d56af0f0204788653ab