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 @@ ...@@ -12,7 +12,5 @@
time HGRCPATH= taskset -c 2,3 asv find --save_results $@ time HGRCPATH= taskset -c 2,3 asv find --save_results $@
# Publish results # Sync results over to deploy server
asv publish --no-pull "${ROOT}/sync_results.sh"
\ No newline at end of file
netlify deploy
...@@ -13,5 +13,4 @@ ...@@ -13,5 +13,4 @@
shift shift
fi fi
netlify deploy
"${ROOT}"/launch.py "$target" -s 10 "$@" "${ROOT}"/launch.py "$target" -s 10 "$@"
...@@ -17,1 +16,4 @@ ...@@ -17,1 +16,4 @@
"${ROOT}"/launch.py "$target" -s 10 "$@" "${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 @@ ...@@ -3,6 +3,6 @@
# Script used on the main performance benchmark machine to run tests. # Script used on the main performance benchmark machine to run tests.
set -eox pipefail set -eox pipefail
ROOT=`dirname $0` ROOT=$(dirname "$0")
source "${ROOT}"/../virtualenv/bin/activate source "${ROOT}"/../virtualenv/bin/activate
...@@ -7,4 +7,3 @@ ...@@ -7,4 +7,3 @@
source "${ROOT}"/../virtualenv/bin/activate source "${ROOT}"/../virtualenv/bin/activate
rm -rf "${ROOT}"/env/
...@@ -10,7 +9,7 @@ ...@@ -10,7 +9,7 @@
target="${1-1.9:: and tagged()}" cd "${ROOT}"
if [ "$#" -ge 1 ]; then hg pull
shift hg up default
fi pip install -Ur "${ROOT}"/requirements.txt
asv publish
netlify deploy netlify deploy
...@@ -16,2 +15,1 @@ ...@@ -16,2 +15,1 @@
netlify deploy netlify deploy
"${ROOT}"/launch.py "$target" -s 10 "$@"
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
# Script used on the main performance benchmark machine to run tests. # Script used on the main performance benchmark machine to run tests.
set -eox pipefail set -eox pipefail
ROOT=`dirname $0` ROOT=$(dirname "$0")
USER=scmperf
source "${ROOT}"/../virtualenv/bin/activate MAIN_SERVER=takobasu.octobus.net
rm -rf "${ROOT}"/env/ TARGET_RESULTS_PATH="/home/${USER}/scmperf/results/"
...@@ -10,8 +10,2 @@ ...@@ -10,8 +10,2 @@
target="${1-1.9:: and tagged()}" rsync -e ssh -r "${ROOT}/results/" "${USER}@${MAIN_SERVER}:${TARGET_RESULTS_PATH}"
if [ "$#" -ge 1 ]; then \ No newline at end of file
shift
fi
netlify deploy
"${ROOT}"/launch.py "$target" -s 10 "$@"
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