List submodules in batch run
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
parent
20f996edbc
commit
da32755c15
17
.laminar
17
.laminar
|
@ -7,12 +7,18 @@ PYTHON_VERSIONS=(3.7 3.8 3.9 3.10)
|
||||||
# grid run
|
# grid run
|
||||||
if [ ${CONTEXT:-ERR} = "docker-single" ]
|
if [ ${CONTEXT:-ERR} = "docker-single" ]
|
||||||
then
|
then
|
||||||
red "Laminar run in grid PYTHON=${PYTHON:-not_specified} commit=${commit:-not_specified}..."
|
red "Laminar run in grid PYTHON=${PYTHON:-not_specified} commit=${commit:-not_specified}..."
|
||||||
SERIAL=${SERIAL:-2000-00-00_$RANDOM}
|
SERIAL=${SERIAL:-2000-00-00_$RANDOM}
|
||||||
echo "Serial of run: $SERIAL"
|
echo "Serial of run: $SERIAL"
|
||||||
|
|
||||||
invoker="\e[{${invoker:-}\e\\"
|
invoker="\e[{${invoker:-}\e\\"
|
||||||
[ -z "${invoker}" ] || echo -e "Invoked from $invoker"
|
[ -z "${invoker}" ] || echo -e "Invoked from $invoker"
|
||||||
|
|
||||||
|
# prepare submodules
|
||||||
|
git submodule | awk '{print $2}' | while read submodule
|
||||||
|
do
|
||||||
|
echo "Submodule: $submodule"
|
||||||
|
done
|
||||||
|
|
||||||
# name
|
# name
|
||||||
nn=repo_checker_$PYTHON
|
nn=repo_checker_$PYTHON
|
||||||
|
@ -119,4 +125,3 @@ cat $scratch/sum | column -t
|
||||||
|
|
||||||
exit $MAX_EXIT
|
exit $MAX_EXIT
|
||||||
|
|
||||||
h
|
|
Loading…
Reference in New Issue
Block a user