7 Commits

Author SHA1 Message Date
Mohammed Naser
675386f254
Drop zuul_executor_dest from release notes job variables
This variable is set to the default of the role, it's probably
best we leave it out in case we make changes in the original
default value globally.

Change-Id: I3fb4e8b3ad93546debba726953acce18d33538f8
2017-10-04 22:51:02 -04:00
Mohammed Naser
fb89427426
Remove trailing slash from releasenote job sphinx_output_src
The extra trailing slash causes the jobs to copy the content of
the folder instead of the `html` itself.  This patch resolves this
by removing the trailing slash to copy the folder itself.

Change-Id: I7cd8286cc73bf463a7e6b704bd191e0572aef642
2017-10-04 22:49:27 -04:00
Mohammed Naser
b80e33039c
Avoid moving release notes after complete execution
Originally, we were moving the release notes to another folder
to make it work with the fetch-sphinx-output role.  However,
this did not always work as expected due to the fact that some
projects do not have a doc folder.

This fixes that issue and avoids the move and simply grabs the
data from the right folder.

Change-Id: If6ee519c33320db91f8a9553ed4abc099c284eec
2017-10-04 21:34:17 -04:00
Mohammed Naser
4843c2d6be
Move tox_envlist variable for releasenotes into job
The tox_envlist for the job that builds release note was
set in the post.yaml to fetch the tox output only.  However,
becasue it was not specified in the job, tox-siblings which
runs in the `pre` stage of `tox` would attempt to use `venv`
in the envlist field.

For jobs that do not have that venv (but do use release notes),
it would result in a failure.  This patch moves the variable out
into the job so that it's applied for the `tox-siblings` role.

Change-Id: If660822c763a973963be0c283dfdbebd97f06985
2017-10-02 22:12:22 -04:00
Monty Taylor
21c1d27074
Extract releasenotes build into a role
We need to use it in the publish job as well.

Change-Id: I0ba254501e9f913fd0aff8a03f1b4f127560c759
2017-10-01 10:52:44 -05:00
Monty Taylor
7118922e87
Use bash for releasenotes job shell
Normal /bin/sh can't handle it.

Change-Id: I050f5d3953f1f3b3466ac77700229e68a851e2dc
2017-09-28 15:39:55 -05:00
Monty Taylor
042d4e5ac8
Make new releasenotes job
It's used in a ton of places, let's make a new one that uses the
openstack-tox base job.

This runs run-tox.sh internally so that should be fixed.

Change-Id: Iee9d7a5c10ebd121497ff7c5bdc963d1e6721d4c
2017-09-28 11:34:42 -05:00