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:
parent
2ef636d1ff
commit
2775881cb1
@ -9,7 +9,7 @@
|
|||||||
cmd: |
|
cmd: |
|
||||||
set -x
|
set -x
|
||||||
# NAME will either be the branch name or the tag name
|
# 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
|
mkdir -p _out/$NAME
|
||||||
for FN in * ; do
|
for FN in * ; do
|
||||||
if [ "_out" != "$FN" ] ; then
|
if [ "_out" != "$FN" ] ; then
|
||||||
|
@ -496,6 +496,8 @@
|
|||||||
post-run:
|
post-run:
|
||||||
- playbooks/publish/publications-index.yaml
|
- playbooks/publish/publications-index.yaml
|
||||||
- playbooks/publish/openstack-afs.yaml
|
- playbooks/publish/openstack-afs.yaml
|
||||||
|
# Index is always published from master
|
||||||
|
override-branch: master
|
||||||
allowed-projects:
|
allowed-projects:
|
||||||
- openstack-infra/publications
|
- openstack-infra/publications
|
||||||
roles:
|
roles:
|
||||||
|
Loading…
Reference in New Issue
Block a user