From dea65171d9a33fac5ee1d84960cc620836376427 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Wed, 13 Mar 2019 10:48:05 +0100 Subject: 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 --- templates/tests/application-lifecycle.jinja2 | 11 +++++++++++ templates/tests/ci.jinja2 | 4 ++++ templates/tests/release.jinja2 | 4 ++++ 3 files changed, 19 insertions(+) create mode 100644 templates/tests/application-lifecycle.jinja2 (limited to 'templates') 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 -- cgit 1.2.3-korg