From 0f09575e85107d835538cbc3dafdb9397454b985 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stevan=20Radakovi=C4=87?= <stevan.radakovic@linaro.org>
Date: Thu, 23 Jun 2022 22:57:47 +0200
Subject: [PATCH] .gitlab-ci.yaml: Add LAVA sysota test pipeline jobs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

These will, as other LAVA jobs, end up in SQUAD and, consequently,
in LAVA. It's basic tests on QEMU, running `rauc status` and `rauc
install bundle` commands and validating output.

Signed-off-by: Stevan Radaković <stevan.radakovic@linaro.org>
---
 .gitlab-ci.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f5a10f4a..a8b364ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -420,6 +420,26 @@ lava-zephyr-qemu-x86:
     CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-zephyr-x86.yaml"
     CI_REPORT_JOB_NAME: lava-report
 
+lava-qemu-x86-sysota:
+  needs: [bundle-qemu-x86]
+  stage: test
+  extends: .lava-test
+  variables:
+    MACHINE: qemux86
+    CI_BUILD_JOB_NAME: linux-qemu-x86
+    CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86-sysota.yaml"
+    CI_REPORT_JOB_NAME: lava-report
+
+lava-qemu-x86_64-sysota:
+  needs: [bundle-qemu-x86_64]
+  stage: test
+  extends: .lava-test
+  variables:
+    MACHINE: qemux86-64
+    CI_BUILD_JOB_NAME: linux-qemu-x86_64
+    CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86_64-sysota.yaml"
+    CI_REPORT_JOB_NAME: lava-report
+
 lava-report:
   extends: .lava-report
   needs:
-- 
GitLab