[openstack-dev] [nova][neutron][cinder][infra] openstack-tox-py27 job is not executed when spec files are added or modified in nova-specs
opensrloo at gmail.com
Fri Nov 17 01:55:49 UTC 2017
On Thu, Nov 16, 2017 at 1:17 PM, Matt Riedemann <mriedemos at gmail.com> wrote:
> On 11/16/2017 12:15 PM, Matt Riedemann wrote:
>> On 11/16/2017 9:58 AM, Jeremy Stanley wrote:
>>> On 2017-11-16 15:17:58 +0900 (+0900), Takashi Natsume wrote:
>>>> In nova-specs project, there is an 'openstack-tox-py27' job (in
>>>> Zuul check or Zuul gate). The job checks whether spec files comply
>>>> with the template or not, line length, etc. But there are cases
>>>> that the job is not executed even if a spec file is added or
>>> Most projects want to have their unit test jobs skipped on changes
>>> which only alter documentation. The nova-specs repo is unusual in
>>> that it's attempting to leverage a unit testing job to validate
>>> documentation formatting rather than the sorts of docs linters other
>>> projects rely on.
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe: OpenStack-dev-request at lists.op
>> Yeah, in other words, the job definition skips the files that we care
>> about in nova-specs:
>> So we'll probably need to change the definition of the nova-specs py27
>> job to run these linter type tests in the pep8 run.
> By the way, it looks like neutron-specs and cinder-specs are going to have
> the same problem.
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
We had a similar problem with ironic-specs, and ended up going with
openstack-tox-linters because we do doc8 and some unit tests that do
fancy-schmancy (i.e. I don't remember what) checking :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev