blob: e59268c3ad57ffe7be2e69eb561afabd4aecb580 [file] [log] [blame]
{#
# LAVA template definition to run Sanity Check on Fairphone builds.
#
# Template parameters:
# - build: The software build, e.g. "18.09.1-gms-26bdb2b5".
# - suite: Test suite. Defaults to "SanityCheck".
# - git_branch: Branch git checkout in the test-definitions repository.
# - viser_scenarios_data_url: Source URL for downloading viSer scenario data.
# - artifactorial_token: Secret token for authenticating at Artifactorial.
#}
job_name: fairphone2-{{ build }}-{{ suite }}
device_type: fairphone2
timeouts:
job:
hours: 2
priority: medium
visibility: public
reboot_to_fastboot: false
tags:
- viser-license
protocols:
lava-lxc:
name: lxc-fairphone2
template: debian
distribution: debian
release: stretch
actions:
{% include "partials/base-setup.yaml" %}
{% include "partials/base-flash-device-and-boot.yaml" %}
- test:
namespace: tlxc
timeout:
minutes: 5
definitions:
- name: lxc-deploy-smartviser-gerrit-keys
from: git
repository: ssh://lava-dispatcher@review.fairphone.software/Infra/lava/qa/test-definitions
branch: {{ git_branch }}
path: automated/linux/deploy-gerrit-keys/deploy-gerrit-keys.yaml
params:
IDENTITY: smartviser
- test:
namespace: tlxc
timeout:
minutes: 10
definitions:
- name: lxc-deploy-smartviser-viser
from: git
repository: ssh://lava-dispatcher@review.fairphone.software/Infra/lava/qa/test-definitions
branch: {{ git_branch }}
path: automated/android/deploy-smartviser-viser/deploy-smartviser-viser.yaml
params:
SCENARIOS_DATA_URL: "{{ viser_scenarios_data_url }}"
- test:
namespace: tlxc
timeout:
hours: 1
definitions:
- name: lxc-run-smartviser-sanity
from: git
repository: ssh://lava-dispatcher@review.fairphone.software/Infra/lava/qa/test-definitions
branch: {{ git_branch }}
path: automated/android/execute-viser-campaign/execute-viser-campaign.yaml
params:
ARTIFACTORIAL_URL: "https://artifactorial.fairphone.software/artifacts/viser/sanity/"
ARTIFACTORIAL_TOKEN: "{{ artifactorial_token }}"