diff mbox series

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

Message ID 59a3e597e7867bb7f27e53432a9e6af88c4ffba5.1664902098.git.jan.kiszka@siemens.com (mailing list archive)
State Handled Elsewhere
Headers show
Series Add qemu-riscv64 target, refactorings, kernel updates, CI fix | expand

Commit Message

Jan Kiszka Oct. 4, 2022, 4:48 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

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@siemens.com>
---
 .gitlab-ci.yml | 1 +
 kas-cip.yml    | 3 +++
 2 files changed, 4 insertions(+)
diff mbox series

Patch

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: ""