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:
parent
ff7d83cc79
commit
b56b184d18
@ -117,5 +117,3 @@
|
||||
- name: Build release notes
|
||||
include_role:
|
||||
name: tox
|
||||
vars:
|
||||
tox_envlist: releasenotes
|
||||
|
@ -404,6 +404,8 @@
|
||||
- ^releasenotes/.*
|
||||
- ^tox.ini
|
||||
- ^.*requirements.txt$
|
||||
vars:
|
||||
tox_envlist: releasenotes
|
||||
|
||||
- job:
|
||||
name: legacy-base
|
||||
|
Loading…
Reference in New Issue
Block a user