summaryrefslogtreecommitdiffstats
path: root/templates/tests/ci.jinja2
AgeCommit message (Collapse)AuthorFilesLines
2019-08-08Add/use the new arguemnt --build-tagsKhouloud Touil1-2/+1
Add new argument --build-tags to be used in the job template and to be passed to the tests to be run along with using --device-tags. Bug-AGL: SPEC-2721 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I2fb4c3d0cb8cd1d0e3c36c1df55185cb4dde43c3
2019-05-30add tags: section, ensure tags are always lowercaseKevin Hilman1-2/+5
Whenever --device-tags are passed, a "tags:" section is added to the job with all of the tags passed on the command-line. To facilitate this, the device_tags list is passed directly from python to the jinja templates, and iteration is done in jinja instead of a string created in python. Also, while here, ensure that tags are always passed lower-cased. IMPORTANT: this implies that any tags in LAVA labs that are upper-case will *never* be used. Change-Id: I8f274098a69e34c32c5ed2d1c430eca0d364bcc5 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-05-03SPEC-1850: do not include appfw without --test application-lifecycleCorentin LABBE1-4/+0
We should not include application-lifecycle tests based on APPURL, but on the presence of the --test application-lifecycle parameter. Bug-AGL: SPEC-1850 Change-Id: Idda5d9011f54cd7eb1710e15254ab358ef7b99b1 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-04-11Implement SPEC-1850: Add application-lifecycleCorentin LABBE1-0/+4
This patch adds a new parameter application_url which permit to adds a location where to download apps and test them. The applications_url could also be generated via app-changeid/app-patchset. Change-Id: I88d91b5e6e30b5ab5d72e8181b15b0f561bea72d Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-02-27Change "can" to "CAN"Khouloud Touil1-1/+1
Actually the lava tag is "CAN", so "can" in lowercase won't work, so this patch fix this issue. Change-Id: Iabfbc17bf59bd5a2152accb347e147836db51fd3 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-07Update CI test planKhouloud Touil1-0/+3
Update the CI test plan to add the CAN tests for devices with tag "can". Change-Id: I8f0a583787b60d9f3f2a4c21848da43f1891f612 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-01-30Remove attr/aclKhouloud Touil1-1/+1
The attr and acl parameters are causing jobs failure each time, so for now we are removing them from the ci.jinja2 and release.jinja2 files Change-Id: I7ef6f5cb8143fb1687aa955a88a913146940af58 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-01-24templates/tests: add DEVICE_TAGS parameterKhouloud Touil1-0/+2
Insert the board tags dynamically as parameters in the release.jinja2 and the ci.jinja2 files while generating the test template. Change-Id: Ic89323b673fa99a28266a2ac89382fd3f7d9899f Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2018-12-19templates/tests: switch ptest wrapperguppy_6.99.3guppy/6.99.36.99.3Kevin Hilman1-3/+10
Switch from custom AGL ptest wrapper to Linaro ptest wrapper which is more maintained and is more actively used and developed. Note that for now, both CI and release templates are doing a subset of ptests, which are now listed in the test definition, and not in a separate script. Change-Id: Ibfaa72443b19c35152db69223df709269d2b668f Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-03templates/tests: increase timeout for ptestsKevin Hilman1-0/+2
Change-Id: Ia91512e66e89a05e0b52482b47d07539a444c378 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-03templates/tests: add test template for CI jobsKevin Hilman1-0/+23
Rather than specifing the list of test suites on the command-line, instead use a new "ci" template for all the test-suites to run for CI jobs. For starters, it combines what is currently in "smoke" and "yocto-ptest" While at it, add the "history: False" property so that the .git directory is not included in the overlay tarball that is downloaded by the target device. Change-Id: Ibf53dfb035d306cf2f40b73b3c7fc15dc6e78b58 Signed-off-by: Kevin Hilman <khilman@baylibre.com>