summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArx Cruz <arxcruz@gmail.com>2018-04-26 11:23:41 +0200
committerArx Cruz <arxcruz@gmail.com>2018-04-26 12:14:42 +0200
commite60a6bc2b010f68ace891991e872803ced7d742d (patch)
tree2fb0ae5bc0289e79f2df5eb3d5d876b1af7c85be
parent11f888e0e1910d2164b60094995fca2e9fbefe4c (diff)
Properly export zuul variables
The JOB_NAME variable is being exported as 'workspace' and LOT_PATH isn't being exported at all, and these variables are required for tempest-sendmail tool work properly Change-Id: Iaa5a85e8d15e0ea9ff9d53dd60bbd08a400d71b5
Notes
Notes (review): Verified+1: RDO Third Party CI <dmsimard+rdothirdparty@redhat.com> Code-Review+1: Quique Llorente <ellorent@redhat.com> Code-Review+2: Sagi Shnaidman <sshnaidm@redhat.com> Code-Review+2: Gabriele Cerami <gcerami@redhat.com> Workflow+1: Gabriele Cerami <gcerami@redhat.com> Code-Review+2: Ronelle Landy <rlandy@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 28 Apr 2018 01:25:35 +0000 Reviewed-on: https://review.openstack.org/564429 Project: openstack-infra/tripleo-ci Branch: refs/heads/master
-rw-r--r--playbooks/tripleo-ci/run.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/tripleo-ci/run.yaml b/playbooks/tripleo-ci/run.yaml
index a80a826..8b30bb4 100644
--- a/playbooks/tripleo-ci/run.yaml
+++ b/playbooks/tripleo-ci/run.yaml
@@ -35,6 +35,10 @@
35 export ZUUL_BRANCH=${ZUUL_BRANCH:-master} 35 export ZUUL_BRANCH=${ZUUL_BRANCH:-master}
36 export ZUUL_REF=${ZUUL_REF:-None} 36 export ZUUL_REF=${ZUUL_REF:-None}
37 37
38 # Compatibility with zuul v3 variables
39 export JOB_NAME={{ zuul.job }}
40 export LOG_PATH={{ zuul.change[-2:] }}/{{ zuul.change }}/{{ zuul.patchset }}/{{ zuul.pipeline }}/{{ zuul.job }}/{{ zuul.build[:7] }}
41
38 export BRANCH_OVERRIDE="{{ branch_override | default('default') }}" 42 export BRANCH_OVERRIDE="{{ branch_override | default('default') }}"
39 if [ "$BRANCH_OVERRIDE" != "default" ] ; then 43 if [ "$BRANCH_OVERRIDE" != "default" ] ; then
40 export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE 44 export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE