From 4fe2587bd45f7fb19ebfc0d823f7ef2dbe345556 Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Date: Tue, 12 Oct 2021 18:38:21 +0200
Subject: [PATCH] .ostc-ci: use build-wic-image for qemu

Our QEMU builds were using the .build-image job, which archives all of
the deploy/image directory. This directory started to inflate recently,
in ways I did not explore.

Given that this breaks CI and is split across repositories the
.build-wic-image job was pushed into the manifest repository. Now with
the new job available we can switch the x86 and x86_64 QEMU image builds
to use the new .build-wic-image job, which saves a subset of the
artifacts that CI actually consumes downstream.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
---
 .ostc-ci/machines-and-flavours.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.ostc-ci/machines-and-flavours.yaml b/.ostc-ci/machines-and-flavours.yaml
index 8405aa9a..b0487f69 100644
--- a/.ostc-ci/machines-and-flavours.yaml
+++ b/.ostc-ci/machines-and-flavours.yaml
@@ -11,7 +11,7 @@
 # The following jobs are documented in docs/ci/shared-jobs.rst
 
 linux-qemu-x86:
-  extends: .build-image
+  extends: .build-wic-image
   variables:
     MACHINE: qemux86
     OHOS_BUILD_FLAVOUR: linux
@@ -28,7 +28,7 @@ linux-qemu-x86:
     OHOS_BB_LOCAL_CONF_BB_GENERATE_MIRROR_TARBALLS: 1
 
 linux-qemu-x86_64:
-  extends: .build-image
+  extends: .build-wic-image
   variables:
     MACHINE: qemux86-64
     OHOS_BUILD_FLAVOUR: linux
-- 
GitLab