Add back $WORKSPACE/logs directory creation
This is required to exist by the following line where we write the fake subunit file. This works in CI because the directory is created already, but fails in a reproducer environment. It seems fine to just ensure this exists here. Closes-Bug: #1778974 Change-Id: I8f03c14f1636a33162c8ea904714f6154ec3623a
This commit is contained in:
parent
67826ec816
commit
c605fd193f
@ -36,6 +36,9 @@ fi
|
|||||||
export NODEPOOL_PROVIDER=${NODEPOOL_PROVIDER:-""}
|
export NODEPOOL_PROVIDER=${NODEPOOL_PROVIDER:-""}
|
||||||
|
|
||||||
|
|
||||||
|
# create logs dir (check if collect-logs doesn't already do this)
|
||||||
|
mkdir -p $WORKSPACE/logs
|
||||||
|
|
||||||
# Set job as failed until it's overwritten by pingtest/tempest real test subunit
|
# Set job as failed until it's overwritten by pingtest/tempest real test subunit
|
||||||
cat $TRIPLEO_ROOT/tripleo-ci/scripts/fake_fail_subunit | gzip - > $WORKSPACE/logs/testrepository.subunit.gz
|
cat $TRIPLEO_ROOT/tripleo-ci/scripts/fake_fail_subunit | gzip - > $WORKSPACE/logs/testrepository.subunit.gz
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user