diff options
Diffstat (limited to '.gitlab-ci/bare-metal/rootfs-setup.sh')
-rw-r--r-- | .gitlab-ci/bare-metal/rootfs-setup.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.gitlab-ci/bare-metal/rootfs-setup.sh b/.gitlab-ci/bare-metal/rootfs-setup.sh index 0b017454ca6..8adeb2d23ad 100644 --- a/.gitlab-ci/bare-metal/rootfs-setup.sh +++ b/.gitlab-ci/bare-metal/rootfs-setup.sh @@ -8,15 +8,20 @@ mkdir -p $rootfs_dst/results cp $BM/bm-init.sh $rootfs_dst/init cp $CI_COMMON/init*.sh $rootfs_dst/ +# Make JWT token available as file in the bare-metal storage to enable access +# to MinIO +cp "${CI_JOB_JWT_FILE}" "${rootfs_dst}${CI_JOB_JWT_FILE}" + cp $CI_COMMON/capture-devcoredump.sh $rootfs_dst/ set +x + # Pass through relevant env vars from the gitlab job to the baremetal init script "$CI_COMMON"/generate-env.sh > $rootfs_dst/set-job-env-vars.sh chmod +x $rootfs_dst/set-job-env-vars.sh echo "Variables passed through:" cat $rootfs_dst/set-job-env-vars.sh -echo "export CI_JOB_JWT=${CI_JOB_JWT@Q}" >> $rootfs_dst/set-job-env-vars.sh + set -x # Add the Mesa drivers we built, and make a consistent symlink to them. |