This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, inserted_src has been created at c4cee23e1e573aeef47bc156e77ff2ff248be71d (commit)
- Log ----------------------------------------------------------------- commit c4cee23e1e573aeef47bc156e77ff2ff248be71d Author: Bernard Ogden bernie.ogden@linaro.org Date: Wed Jul 8 18:00:26 2015 +0200
Wait for src to be delivered
Includes a new dependency, and some new initialization. The hope is that we can revert this one day, if LAVA develops 'secrets' support.
Change-Id: Ia2707abd29f2b984dccbfb0c6e9aeb7f526fe12d
diff --git a/bench-session-debian.yaml b/bench-session-debian.yaml index 78bfb57..5e82500 100644 --- a/bench-session-debian.yaml +++ b/bench-session-debian.yaml @@ -25,6 +25,7 @@ install: - gcc-multilib - g++-multilib - git + - inotify-tools - lava-tool - libgfortran3 - libncurses5-dev diff --git a/benchmark.sh b/benchmark.sh index 9488803..05b99c2 100644 --- a/benchmark.sh +++ b/benchmark.sh @@ -38,5 +38,9 @@ fi export LAVA_SSH_KEYFILE=${HOME}/data/onetime export LAVA_IN_LAB=1
+#Prepare to use source that has been sent in to target +sed -i 's#ssh://git@dev-private.git.linaro.org#ssh://localhost/~/benchsrc/#' ~/src/abe/config/sources.conf || exit 1 +while ! -e /tmp/benchsrc_lock; do inotifywait -e create /tmp; done + cd ~/work exec ~/src/abe/scripts/benchmark.sh "$@" diff --git a/invoke_session_debian b/invoke_session_debian index 180fc8a..dadf65f 100755 --- a/invoke_session_debian +++ b/invoke_session_debian @@ -19,6 +19,18 @@ hostname=$(cat /etc/hostname) # Set the PATH to use the LAVA api echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc
+if ! ssh -o StrictHostKeyChecking=no localhost true; then + echo "Failed to ssh to self" >&2 + echo "<LAVA_TEST_RUNNER>: exiting" + exit 1 +fi +if ! (mkdir /root/benchsrc && chmod 700 /root/benchsrc); then + echo "Failed to ssh to self" >&2 + echo "<LAVA_TEST_RUNNER>: exiting" + exit 1 +fi + + echo "" echo "" echo ""
commit 25d3f0ba023ca636ff841eb5c6b4c379605cf96f Author: Bernard Ogden bernie.ogden@linaro.org Date: Wed Jul 8 18:34:01 2015 +0200
Whitespace - delete trailing newlines
Change-Id: Ie10e1656968ff88af4667352a0abfd886637050c
diff --git a/benchmark.sh b/benchmark.sh index 2567c18..9488803 100644 --- a/benchmark.sh +++ b/benchmark.sh @@ -40,6 +40,3 @@ export LAVA_IN_LAB=1
cd ~/work exec ~/src/abe/scripts/benchmark.sh "$@" - - -
commit 7702657b32d12b5d8033d19fc45c1fccbbffd484 Author: Bernard Ogden bernie.ogden@linaro.org Date: Wed Jul 8 18:33:36 2015 +0200
exec final script
Change-Id: I357ac07b4ca1dadb124313ef5d41f1bf97b08c34
diff --git a/benchmark.sh b/benchmark.sh index 0690c7c..2567c18 100644 --- a/benchmark.sh +++ b/benchmark.sh @@ -39,7 +39,7 @@ export LAVA_SSH_KEYFILE=${HOME}/data/onetime export LAVA_IN_LAB=1
cd ~/work -~/src/abe/scripts/benchmark.sh "$@" +exec ~/src/abe/scripts/benchmark.sh "$@"
-----------------------------------------------------------------------
hooks/post-receive