Skip to content
Snippets Groups Projects
Commit 26b57c2943d5 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

Add script to sync results on takobasu.

From now on, takobasu will be the source of truth for running
`asv publish`, so all other machines that run `asv run` will need to
rsync their results over to takobasu, which will later deploy the changes
on a timer.
parent 9dff0103c6a6
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,5 @@
time HGRCPATH= taskset -c 2,3 asv find --save_results $@
# Publish results
asv publish --no-pull
netlify deploy
# Sync results over to deploy server
"${ROOT}/sync_results.sh"
\ No newline at end of file
......@@ -13,5 +13,4 @@
shift
fi
netlify deploy
"${ROOT}"/launch.py "$target" -s 10 "$@"
......@@ -17,1 +16,4 @@
"${ROOT}"/launch.py "$target" -s 10 "$@"
# Sync results over to deploy server
"${ROOT}/sync_results.sh"
\ No newline at end of file
......@@ -3,6 +3,6 @@
# Script used on the main performance benchmark machine to run tests.
set -eox pipefail
ROOT=`dirname $0`
ROOT=$(dirname "$0")
source "${ROOT}"/../virtualenv/bin/activate
......@@ -7,4 +7,3 @@
source "${ROOT}"/../virtualenv/bin/activate
rm -rf "${ROOT}"/env/
......@@ -10,7 +9,7 @@
target="${1-1.9:: and tagged()}"
if [ "$#" -ge 1 ]; then
shift
fi
cd "${ROOT}"
hg pull
hg up default
pip install -Ur "${ROOT}"/requirements.txt
asv publish
netlify deploy
......@@ -16,2 +15,1 @@
netlify deploy
"${ROOT}"/launch.py "$target" -s 10 "$@"
......@@ -3,8 +3,8 @@
# Script used on the main performance benchmark machine to run tests.
set -eox pipefail
ROOT=`dirname $0`
source "${ROOT}"/../virtualenv/bin/activate
rm -rf "${ROOT}"/env/
ROOT=$(dirname "$0")
USER=scmperf
MAIN_SERVER=takobasu.octobus.net
TARGET_RESULTS_PATH="/home/${USER}/scmperf/results/"
......@@ -10,8 +10,2 @@
target="${1-1.9:: and tagged()}"
if [ "$#" -ge 1 ]; then
shift
fi
netlify deploy
"${ROOT}"/launch.py "$target" -s 10 "$@"
rsync -e ssh -r "${ROOT}/results/" "${USER}@${MAIN_SERVER}:${TARGET_RESULTS_PATH}"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment