From 135a0802c56994c70ace3bc3604046adc6c459ed Mon Sep 17 00:00:00 2001 From: Jakob Naucke Date: Fri, 15 Oct 2021 16:13:44 +0200 Subject: [PATCH] osbuilder: Pass CI env to container agent build The agent build inside a Docker or Podman container has been re-enabled, but we have since introduced the `$CI` environment variable. Pass it to avoid checking out the tests repo to main when there is a dependency. Signed-off-by: Jakob Naucke --- tools/osbuilder/rootfs-builder/rootfs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/osbuilder/rootfs-builder/rootfs.sh b/tools/osbuilder/rootfs-builder/rootfs.sh index 5c0a12634..85055383f 100755 --- a/tools/osbuilder/rootfs-builder/rootfs.sh +++ b/tools/osbuilder/rootfs-builder/rootfs.sh @@ -413,6 +413,7 @@ build_rootfs_distro() --env ROOTFS_DIR="/rootfs" \ --env AGENT_BIN="${AGENT_BIN}" \ --env AGENT_INIT="${AGENT_INIT}" \ + --env CI="${CI}" \ --env KERNEL_MODULES_DIR="${KERNEL_MODULES_DIR}" \ --env EXTRA_PKGS="${EXTRA_PKGS}" \ --env OSBUILDER_VERSION="${OSBUILDER_VERSION}" \