Fix gate_hook and post_test_hook perms

Files weren't executable, hence the gate failures we've been seeing.

Change-Id: I34b6c3eeb253f2bf0f317b2533734c40f5e3aa6a
This commit is contained in:
Flavio Percoco 2015-05-07 17:48:21 +02:00
parent 2988f738b1
commit 9e0735444c
2 changed files with 2 additions and 4 deletions

2
devstack/gate/gate_hook.sh Normal file → Executable file
View File

@ -19,7 +19,7 @@ ENABLED_SERVICES="mysql,key,tempest,zaqar-server,"
export DEVSTACK_GATE_ZAQAR=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_NO_SERVICES=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_TIMEOUT=90
export KEEP_LOCALRC=1

4
devstack/gate/post_test_hook.sh Normal file → Executable file
View File

@ -14,7 +14,7 @@
# This script is executed inside post_test_hook function in devstack gate.
source $BASE/new/devstack/openrc admin admin
# source $BASE/new/devstack/openrc admin admin
function generate_test_results {
if [ -f .testrepository/0 ]; then
@ -26,8 +26,6 @@ function generate_test_results {
sudo chown jenkins:jenkins $BASE/logs/testrepository.subunit.gz $BASE/logs/testr_results.html.gz
sudo chmod a+r $BASE/logs/testrepository.subunit.gz $BASE/logs/testr_results.html.gz
fi
gzip -9 -c /var/log/zaqar/queues.log > $WORKSPACE/logs/queues.log.txt.gz
}
set -x