Fix branch path for promote job

We publish for branch stable/stein to stein and not to stable/stein.
Fix this.

Change-Id: Ic900d12f1db52db5de1317b15552d2a54f5b300d
This commit is contained in:
Andreas Jaeger 2019-08-20 21:22:41 +02:00
parent 9d57dfea65
commit 87e1f9bd60

View File

@ -57,7 +57,7 @@
# TODO(pabelanger): Update AFS credentials to say zuul-executor.
service_name: service/zuul-launcher@OPENSTACK.ORG
docs_master_path: "/afs/.openstack.org/docs/{{ zuul.project.short_name }}/latest"
docs_branch_path: "/afs/.openstack.org/docs/{{ zuul.project.short_name }}/{{ zuul.branch | default('_error') }}"
docs_branch_path: "/afs/.openstack.org/docs/{{ zuul.project.short_name }}/{{ zuul.branch | default('_error') | regex_replace('^stable/', '') }}"
docs_tag_path: "/afs/.openstack.org/docs/{{ zuul.project.short_name }}/{{ zuul.tag | default('_error') }}"
- secret: