From 13a44fbc66704be0ac63f572fa707a664003f17b Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 1 Dec 2017 17:40:25 +0100 Subject: [PATCH] Fix install-guide publishing The ocata and earlier guides have been publishing to the service-type, not the project-name. The Zuul v3 conversion broke this, restore this. Note that this still results in some different names since we use the services-type-authority now and formerly had hand-written assignments. Change-Id: Ib03cc560868db725e151e0e8c9107846137f5d27 --- playbooks/publish/install-guide.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playbooks/publish/install-guide.yaml b/playbooks/publish/install-guide.yaml index 69cfddc3e8..7a92a17f3c 100644 --- a/playbooks/publish/install-guide.yaml +++ b/playbooks/publish/install-guide.yaml @@ -14,10 +14,12 @@ - hosts: localhost roles: + - role: set-service-type-data-fact + when: zuul_success | bool - role: create-afs-token when: zuul_success | bool - role: upload-afs - afs_target: "{{ afs.path }}/project-install-guide/{{ zuul.project.short_name }}" + afs_target: "{{ afs.path }}/project-install-guide/{{ service_type_data.service_type }}" when: zuul_success | bool - role: destroy-afs-token when: zuul_success | bool