[isar-cip-core][PATCH 01/12] ci: Allow to set per-project DISTRO_APT_PREMIRRORS


Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

Can be helpful to work around deb.debian.org glitches, specifically when
the distance of a runner to its next mirror is well known.

To allow passing this to bitbake, kas has to list this variable
explicitly.

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
.gitlab-ci.yml | 1 +
kas-cip.yml | 3 +++
2 files changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ce40b5d7..f7c8c889 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,6 +22,7 @@ default:
- export no_proxy=$NO_PROXY
- export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
+ - export DISTRO_APT_PREMIRRORS=$DISTRO_APT_PREMIRRORS

.build_base:
stage: build
diff --git a/kas-cip.yml b/kas-cip.yml
index d005b812..4956da5c 100644
--- a/kas-cip.yml
+++ b/kas-cip.yml
@@ -41,3 +41,6 @@ local_conf_header:
USERS += "root"
# 'root'
USER_root[password] = "oC3wEGl799tZU"
+
+env:
+ DISTRO_APT_PREMIRRORS: ""
--
2.35.3