Verified Commit c1ad15b2 authored by Jim Newsome's avatar Jim Newsome
Browse files

Simulate a full hour

parent cac9d2f7
......@@ -205,6 +205,8 @@ tornettools-generate:
- jobs/tornet
run-sim:
VARIABLES:
SIM_TIME: '1h'
stage: simulate
needs:
- build-oniontrace
......@@ -228,8 +230,8 @@ run-sim:
# Resulting log file is huge; (20+ GB for a 10m sim). Need to increase storage limits
# and/or shrink.
# - echo "Log [sim]debug file $CI_PROJECT_DIR/jobs/tornet/tor-combined-logs.txt" >> jobs/tornet/conf/tor.common.torrc
# Use a shorter sim for now
- 'sed -i ''s/stop_time:.*/stop_time: 10m/'' jobs/tornet/shadow.config.yaml'
- 'sed -i ''s/stop_time:.*/stop_time: ''"$SIM_TIME/" jobs/tornet/shadow.config.yaml'
- ulimit -c unlimited
- $CI_PROJECT_DIR/monitor.sh $CI_PROJECT_DIR/jobs/tornet &
- disown
......
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