Fix publishing infra/publications

The two publishing jobs failed, fix them:
* ZUUL_REFNAME in playbooks/publications/run.yaml#n12 is not set, use
  the proper variable.
* index publishing is done from master, always check out master for
  this like it was done for version 2.

Change-Id: I494c69e51282418bbc7cac45454abe8c52e6920f
This commit is contained in:
Andreas Jaeger 2018-04-04 09:53:34 +02:00
parent 2ef636d1ff
commit 2775881cb1
2 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@
cmd: |
set -x
# NAME will either be the branch name or the tag name
NAME=`echo $ZUUL_REFNAME | sed 's/refs.tags.//'`
NAME=`echo {{ zuul.ref }} | sed 's/refs.tags.//'`
mkdir -p _out/$NAME
for FN in * ; do
if [ "_out" != "$FN" ] ; then

View File

@ -496,6 +496,8 @@
post-run:
- playbooks/publish/publications-index.yaml
- playbooks/publish/openstack-afs.yaml
# Index is always published from master
override-branch: master
allowed-projects:
- openstack-infra/publications
roles: