jjb/common: run-test-prepare: clone releng-scripts 79/10679/2
authorKevin Hilman <khilman@baylibre.com>
Tue, 22 Aug 2017 23:26:33 +0000 (16:26 -0700)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 31 Aug 2017 01:24:29 +0000 (01:24 +0000)
Preparation for new templating system.

Templates and utils for generating new LAVA YAML templates based on
jinja2 will be developed in the releng-scripts repo.  Clone the
"release" branch of that repo into $REPODIR, and add the utils dir to
$PATH.

Change-Id: If8a517ecb80cd849e022c82eba2794714c9ca787
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
jjb/common/include-agl-run-test-prepare.sh

index 00d6788..f67262d 100644 (file)
@@ -12,6 +12,12 @@ set -x
 
 cd $REPODIR
 
+# clone repo for templates and related utils, add to $PATH for later use
+git clone --branch release https://git.automotivelinux.org/AGL/releng-scripts
+if [ -e releng-scripts/utils ]; then
+    export PATH=$PATH:$PWD/releng-scripts/utils
+fi
+
 ls -alhR meta-agl/templates/machine/${MACHINE}
 
 #### Find out if machine can be tested.