From da32755c15f93a5f608a761832da17706aab6408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Val=C3=AD=C4=8Dek?= Date: Sat, 25 Jun 2022 22:07:05 +0200 Subject: [PATCH] List submodules in batch run MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Václav Valíček --- .laminar | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.laminar b/.laminar index 972f3e1..448a362 100755 --- a/.laminar +++ b/.laminar @@ -7,12 +7,18 @@ PYTHON_VERSIONS=(3.7 3.8 3.9 3.10) # grid run if [ ${CONTEXT:-ERR} = "docker-single" ] then - red "Laminar run in grid PYTHON=${PYTHON:-not_specified} commit=${commit:-not_specified}..." - SERIAL=${SERIAL:-2000-00-00_$RANDOM} - echo "Serial of run: $SERIAL" + red "Laminar run in grid PYTHON=${PYTHON:-not_specified} commit=${commit:-not_specified}..." + SERIAL=${SERIAL:-2000-00-00_$RANDOM} + echo "Serial of run: $SERIAL" - invoker="\e[{${invoker:-}\e\\" - [ -z "${invoker}" ] || echo -e "Invoked from $invoker" + invoker="\e[{${invoker:-}\e\\" + [ -z "${invoker}" ] || echo -e "Invoked from $invoker" + + # prepare submodules + git submodule | awk '{print $2}' | while read submodule + do + echo "Submodule: $submodule" + done # name nn=repo_checker_$PYTHON @@ -119,4 +125,3 @@ cat $scratch/sum | column -t exit $MAX_EXIT -h \ No newline at end of file