From 5b74b31b8ce3ffa32d8f6e3a6078c03e3a80d90a Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Date: Thu, 12 May 2022 17:37:33 +0200
Subject: [PATCH] .oniro-ci: do not pull artifacts from previous stage when
 building bundles

This saves several gigabytes of traffic per build. Those artifacts
are automatically pulled due to being present in the previous stage.
Bundle is built from source, so no artifact is ever used.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
---
 .oniro-ci/build-generic.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.oniro-ci/build-generic.yaml b/.oniro-ci/build-generic.yaml
index 5a9b5160..9f500a92 100644
--- a/.oniro-ci/build-generic.yaml
+++ b/.oniro-ci/build-generic.yaml
@@ -313,6 +313,8 @@
   extends: .build-image
   variables:
     CI_ONIRO_JOB_ARTIFACTS: "*.raucb"
+  # Avoid pulling in any artifacts from the previous stage.
+  dependencies: []
 
 # This job is currently used to customize the behavior in oniro and xts-acts.
 # It will be removed when that is safe to do so. It is not documented.
-- 
GitLab