gen_fvp_*_yaml.sh: Add Gerrit metadata for LAVA job
To be able to cross-ref LAVA job run to Gerrit change which started it,
if any.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I64085510af8f81d6bf4cb965fd517089c961389c
diff --git a/script/gen_fvp_linux_yaml.sh b/script/gen_fvp_linux_yaml.sh
index 65a1edd..2b6f152 100755
--- a/script/gen_fvp_linux_yaml.sh
+++ b/script/gen_fvp_linux_yaml.sh
@@ -11,11 +11,14 @@
# file also includes references to ${UPPERCASE} which are just normal shell
# variables, replaced on spot.
+. $(dirname $0)/gen_gerrit_meta.sh
+
cat <<EOF
metadata:
test_config: {TEST_CONFIG}
fvp_model: {MODEL}
build_url: ${BUILD_URL}
+${gerrit_meta}
device_type: fvp
job_name: fvp-linux-{TEST_CONFIG}