Do not use shebang in rally legacy jobs

Now they are exucted by ansible so we should set explictly
executable and run set -e and set -x inside the script

Change-Id: I504d49e469271b91394491333331a07ea365e52b
This commit is contained in:
Boris Pavlovic 2017-09-29 14:30:25 -07:00
parent 05327069ab
commit 90e922f4d6
6 changed files with 18 additions and 6 deletions

View File

@ -25,8 +25,10 @@
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
executable: /bin/bash
cmd: |
#/bin/bash -xe
set -e
set -x
if [ $ZUUL_PROJECT == "openstack/rally" ] && [ $ZUUL_BRANCH != "master" ]; then
export DEVSTACK_GATE_FEATURE_MATRIX="/opt/stack/new/rally/devstack/features.yaml"

View File

@ -38,8 +38,10 @@
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
executable: /bin/bash
cmd: |
#/bin/bash -xe
set -e
set -x
if [ $ZUUL_PROJECT == "openstack/rally" ] && [ $ZUUL_BRANCH != "master" ]; then
export DEVSTACK_GATE_FEATURE_MATRIX="/opt/stack/new/rally/devstack/features.yaml"

View File

@ -25,8 +25,10 @@
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
executable: /bin/bash
cmd: |
#/bin/bash -xe
set -e
set -x
if [ $ZUUL_PROJECT == "openstack/rally" ] && [ $ZUUL_BRANCH != "master" ]; then
export DEVSTACK_GATE_FEATURE_MATRIX="/opt/stack/new/rally/devstack/features.yaml"

View File

@ -25,8 +25,10 @@
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
executable: /bin/bash
cmd: |
#/bin/bash -xe
set -e
set -x
if [ $ZUUL_PROJECT == "openstack/rally" ] && [ $ZUUL_BRANCH != "master" ]; then
export DEVSTACK_GATE_FEATURE_MATRIX="/opt/stack/new/rally/devstack/features.yaml"

View File

@ -25,8 +25,10 @@
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
executable: /bin/bash
cmd: |
#/bin/bash -xe
set -e
set -x
if [ $ZUUL_PROJECT == "openstack/rally" ] && [ $ZUUL_BRANCH != "master" ]; then
export DEVSTACK_GATE_FEATURE_MATRIX="/opt/stack/new/rally/devstack/features.yaml"

View File

@ -25,8 +25,10 @@
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
executable: /bin/bash
cmd: |
#/bin/bash -xe
set -e
set -x
if [ $ZUUL_PROJECT == "openstack/rally" ] && [ $ZUUL_BRANCH != "master" ]; then
export DEVSTACK_GATE_FEATURE_MATRIX="/opt/stack/new/rally/devstack/features.yaml"