zuul-migrate: run / post-run playbooks need .yaml extensions

Zuul now requires playbooks to have .yaml extensions in the job
stanza.

Change-Id: I71af1cc421b2a0c3560f133244663b7fe3c7c481
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-06-04 12:14:32 -04:00
parent a889ea33c1
commit 175bb50380
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 2 additions and 2 deletions

View File

@ -928,9 +928,9 @@ class Job:
output['parent'] = 'legacy-publish-openstack-artifacts'
elif has_draft:
output['success-url'] = 'html/'
output['run'] = os.path.join(self.job_path, 'run')
output['run'] = os.path.join(self.job_path, 'run.yaml')
if has_post:
output['post-run'] = os.path.join(self.job_path, 'post')
output['post-run'] = os.path.join(self.job_path, 'post.yaml')
if self.vars:
output['vars'] = self.vars.copy()