Move tox_envlist into job variables for releasenote jobs

At the moment, the tox_envlist is defined inside the include_role
for tox as releasenotes.  This means that other roles which run
beforehand such as tox-siblings will use the default value of
venv instead which isn't always defined.

This patch makes the change to make that variable defined in
the job which means that all other roles will reference the correct
tox envlist in the entire job run.

Change-Id: I0323f8f1bccf720268d947b8e1dcb6c5f8b26dfa
This commit is contained in:
Mohammed Naser 2017-10-12 17:43:48 -04:00
parent ff7d83cc79
commit b56b184d18
No known key found for this signature in database
GPG Key ID: 481CBC90384AEC42
2 changed files with 2 additions and 2 deletions

View File

@ -117,5 +117,3 @@
- name: Build release notes
include_role:
name: tox
vars:
tox_envlist: releasenotes

View File

@ -404,6 +404,8 @@
- ^releasenotes/.*
- ^tox.ini
- ^.*requirements.txt$
vars:
tox_envlist: releasenotes
- job:
name: legacy-base