Fix artifact permissions on exit
Workaround for https://gitlab.com/testing-farm/oculus/-/issues/19
This commit is contained in:
parent
3913a6a99a
commit
4be23117f9
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ set -o pipefail
|
|||
WORKDIR="$(mktemp -d)"
|
||||
pushd "$WORKDIR"
|
||||
|
||||
# Workaround for https://gitlab.com/testing-farm/oculus/-/issues/19
|
||||
# shellcheck disable=SC2064
|
||||
trap "chmod -R o+rX $TMT_TEST_DATA" EXIT
|
||||
|
||||
# Switch SELinux to permissive, since the tests don't set proper contexts
|
||||
setenforce 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue