Verified Commit 057fda69 authored by Jim Newsome's avatar Jim Newsome
Browse files

Show cache in staging step

parent 9345263e
......@@ -164,6 +164,8 @@ tornettools-stage:
- export DATA_DAYS=$(cal -d $DATA_MONTH | awk 'NF {DAYS = $NF}; END {print DAYS}')
- mkdir -p jobs/cache/metrics
- cd jobs/cache/metrics
# See what we got in cache, for debugging
- find .
- 'if ! compgen -G ''consensuses*'' > /dev/null ; then wget -O - https://collector.torproject.org/archive/relay-descriptors/consensuses/consensuses-$DATA_MONTH.tar.xz | tar xJ; fi'
- 'if ! compgen -G ''server-descriptors*'' > /dev/null ; then wget -O - https://collector.torproject.org/archive/relay-descriptors/server-descriptors/server-descriptors-$DATA_MONTH.tar.xz | tar xJ; fi'
- 'if [ ! -f userstats-relay-country.csv ]; then wget https://metrics.torproject.org/userstats-relay-country.csv; fi'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment