diff mbox series

[kirkstone,5/6] CI: show all variables in update-repos

Message ID 20250627134946.154438-5-ross.burton@arm.com
State New
Headers show
Series [kirkstone,1/6] CI: add CI_CLEAN_REPOS variable to allow cleaning the repo reference cache | expand

Commit Message

Ross Burton June 27, 2025, 1:49 p.m. UTC
This makes it easier to debug path usage.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .gitlab-ci.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ef75a45bba..91e92ae2ec 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,9 +33,6 @@  stages:
     IMAGE_DIR: $CI_PROJECT_DIR/work/build/tmp/deploy/images
     TOOLCHAIN_LINK_DIR: $CI_PROJECT_DIR/work/build/toolchains
   before_script:
-    - echo KAS_WORK_DIR = $KAS_WORK_DIR
-    - echo SSTATE_DIR = $SSTATE_DIR
-    - echo DL_DIR = $DL_DIR
     - rm -rf $KAS_WORK_DIR
     - mkdir --verbose --parents $KAS_WORK_DIR $KAS_REPO_REF_DIR $SSTATE_DIR $DL_DIR $TOOLCHAIN_DIR $TOOLCHAIN_LINK_DIR
     # Must do this here, as it's the only way to make sure the toolchain is installed on the same builder
@@ -79,6 +76,8 @@  update-repos:
     - |
       exit_code=0
 
+      printenv
+
       if [ -n "$KAS_REPO_REF_DIR" ]; then
         flock --verbose --timeout 60 $KAS_REPO_REF_DIR --command ./ci/update-repos || exit_code=$?
         # Exit now if that failed, unless the status was 128 (fetch failed)