From ad342f79348013277f4141edc48d273ae10aa71f Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Tue, 22 Aug 2017 16:26:33 -0700 Subject: jjb/common: run-test-prepare: clone releng-scripts 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 --- jjb/common/include-agl-run-test-prepare.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'jjb') diff --git a/jjb/common/include-agl-run-test-prepare.sh b/jjb/common/include-agl-run-test-prepare.sh index 00d67882..f67262d4 100644 --- a/jjb/common/include-agl-run-test-prepare.sh +++ b/jjb/common/include-agl-run-test-prepare.sh @@ -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. -- cgit 1.2.3-korg