paths: have one common parent dir /var/tmp/osmo-gsm-tester
In the example config and the jenkins scripts, use paths below common parent dir /var/tmp/osmo-gsm-tester. 1. example: put the state dir in /var/tmp/osmo-gsm-tester/state, instead of in the config dir like /etc/osmo-gsm-tester. 2. contrib scripts: place trials in /var/tmp/osmo-gsm-tester/trials, and to move into place atomically, use /var/tmp/osmo-gsm-tester/.prep-trials as temporary location. The OsmoGSMTester manual is currently also being updated to setup these paths, with /var/tmp/osmo-gsm-tester owned by a common group and having group-sticky as well has group-writable access rules. Change-Id: I2961e9d1d9b14859b886058b54ffcb36f4d88bc1
This commit is contained in:
parent
cceb0f56ab
commit
aca2624273
|
@ -8,8 +8,8 @@ fi
|
|||
|
||||
osmo_gsm_tester_host="$OSMO_GSM_TESTER_REMOTE_MAIN_UNIT"
|
||||
osmo_gsm_tester_src="${OSMO_GSM_TESTER_REMOTE_SRC:-/usr/local/src/osmo-gsm-tester}"
|
||||
osmo_gsm_tester_dir="/var/tmp/osmo-gsm-tester"
|
||||
tmp_dir="/var/tmp/prep-osmo-gsm-tester"
|
||||
osmo_gsm_tester_dir="/var/tmp/osmo-gsm-tester/trials"
|
||||
tmp_dir="/var/tmp/osmo-gsm-tester/.prep-trials"
|
||||
|
||||
#trial_name="$NODE_NAME-$BUILD_TAG"
|
||||
trial_name="trial-$BUILD_NUMBER"
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
trial_rx_dir="$1"
|
||||
trial_prep_dir="$2"
|
||||
if [ -z "$trial_rx_dir" ]; then
|
||||
trial_rx_dir="/var/tmp/osmo-gsm-tester"
|
||||
trial_rx_dir="/var/tmp/osmo-gsm-tester/trials"
|
||||
fi
|
||||
if [ -z "$trial_prep_dir" ]; then
|
||||
trial_prep_dir="/var/tmp/prep-osmo-gsm-tester"
|
||||
trial_prep_dir="/var/tmp/osmo-gsm-tester/.prep-trials"
|
||||
fi
|
||||
|
||||
mkdir -p "$trial_prep_dir"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
state_dir: './state'
|
||||
state_dir: '/var/tmp/osmo-gsm-tester/state'
|
||||
suites_dir: '../suites'
|
||||
scenarios_dir: './scenarios'
|
||||
|
|
Loading…
Reference in New Issue