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

Add checklist for updating all things asv

parent 76512c22
No related branches found
No related tags found
No related merge requests found
Where things are
================
Work-1: Reference for the static files, used to create said files, uses btrfs for easy snapshots.
Takobasu: serves the static files for bench runners
Bench-1 and Bench-2: runners of benchmarks
Updating
========
Work-1
------
Go to the current asv files reference folder:
$ cd /data/hdd/asv-static-current
$ # Update the files here if need be.
$ # If you need to add a new reference, partials or modify an existing one,
$ # check the README in repo-scripts.
Sync them with the static server (takobasu)
$ ./sync # For this to work, you need to forward your ssh key
Bench-1
-------
Stop running benchmarks
$ sudo systemctl stop asv.timer
$ sudo systemctl stop asv.service
Go to scmperf folder
$ sudo su - octobus
$ cd /bench-mnt/ssd-ext4/bench/bighgperf
Update the repo
$ hg pull
$ hg up default
Update the Python dependencies
$ . ../virtualenv/bin/activate
$ pip install -Ur requirements.txt # This will also pull our 'asv' fork
Run the results migrations (if any)
$ asv migrate
**If you need to update the repositories**
$ # Delete the metadata files, will trigger re-DL of the reference and
$ # any missing partial repos
$ rm repos/*.benchrepo
Restart asv
$ exit # To get back to your privileged user
$ sudo systemctl start asv.timer
Bench-2
-------
TODO reinstall bench-2, it's a mess
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