Skip to content

Commit 0c3a5d9

Browse files
committed
store all integration test logs in a container-shared location
TODO: An upstream container script would not necessarily do that, can we move to upstream container creation entirely to always do upstream testing based on it and thus add the needed shared location?
1 parent b37608b commit 0c3a5d9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

selftests/integration/run.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ echo "Configure locally the current plugin source and prepare to run"
1212
#pip install -e .
1313
# change default avocado settings to our preferences for an integration run
1414
cat >/etc/avocado/avocado.conf <<EOF
15+
[datadir.paths]
16+
# You may override the specific job results directory with logs_dir
17+
logs_dir = /mnt/local/results/upstream
18+
1519
[runner.output]
1620
# Whether to display colored output in terminals that support it
1721
colored = True
@@ -30,6 +34,7 @@ slots = ['c101', 'c102', 'c103', 'c104', 'c105']
3034
[spawner.remote]
3135
slots = ['c101', 'c102', 'c103', 'c104', 'c105']
3236
EOF
37+
mkdir -p /mnt/local/results/upstream
3338
mkdir -p /etc/avocado/conf.d
3439
# TODO: use VT's approach to register the plugin config
3540
if [ ! -f /etc/avocado/conf.d/i2n.conf ]; then

0 commit comments

Comments
 (0)