diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2019-03-13 10:48:05 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-04-11 15:41:58 +0000 |
commit | dea65171d9a33fac5ee1d84960cc620836376427 (patch) | |
tree | 7cc11ed46758fc676485bc2007d0d3c399924afc /templates/tests | |
parent | bae08e098000969e13221d26fab678a39a7cd72c (diff) |
Implement SPEC-1850: Add application-lifecycle
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>
Diffstat (limited to 'templates/tests')
-rw-r--r-- | templates/tests/application-lifecycle.jinja2 | 11 | ||||
-rw-r--r-- | templates/tests/ci.jinja2 | 4 | ||||
-rw-r--r-- | templates/tests/release.jinja2 | 4 |
3 files changed, 19 insertions, 0 deletions
diff --git a/templates/tests/application-lifecycle.jinja2 b/templates/tests/application-lifecycle.jinja2 new file mode 100644 index 0000000..24cd26b --- /dev/null +++ b/templates/tests/application-lifecycle.jinja2 @@ -0,0 +1,11 @@ + +- test: + timeout: + minutes: 10 + definitions: + - repository: https://git.automotivelinux.org/src/qa-testdefinitions + from: git + path: test-suites/short-smoke/application-lifecycle.yaml + name: application-lifecycle + parameters: + APPURL: "{{ APPURL }}" diff --git a/templates/tests/ci.jinja2 b/templates/tests/ci.jinja2 index feca60e..9309366 100644 --- a/templates/tests/ci.jinja2 +++ b/templates/tests/ci.jinja2 @@ -24,6 +24,10 @@ {% include 'tests/can.jinja2' %} {% endif %} +{% if APPURL is defined %} +{% include 'tests/application-lifecycle.jinja2' %} +{% endif %} + - test: timeout: minutes: 60 diff --git a/templates/tests/release.jinja2 b/templates/tests/release.jinja2 index 965af1a..c5eac77 100644 --- a/templates/tests/release.jinja2 +++ b/templates/tests/release.jinja2 @@ -21,6 +21,10 @@ parameters: DEVICE_TAGS: "{{ DEVICE_TAGS }}" +{% if APPURL is defined %} +{% include 'tests/application-lifecycle.jinja2' %} +{% endif %} + - test: timeout: minutes: 60 |