Start running bashate on config (nonvoting)

Add bashate to test-requirements.txt, add a tox env for bashate,  and start
running it on config. Also convert devstack to run bashate via tox rather than
via run_tests.sh (the needed tox.ini changes to devstack have already merged).

Change-Id: I205d675ff231c0403dd135eacc8d57b45317859f
This commit is contained in:
K Jonathan Harker 2014-08-06 17:53:19 -07:00
parent 9b7b249fc9
commit 8ff2dbe1c3
6 changed files with 9 additions and 20 deletions

View File

@ -62,7 +62,8 @@
- builder:
name: bashate
builders:
- shell: "/usr/local/jenkins/slave_scripts/run-bashate.sh"
- tox:
envlist: bashate
- builder:
name: pep8

View File

@ -275,6 +275,7 @@
- gate-{name}-puppet-syntax
- gate-{name}-puppet-apply
- gate-{name}-pep8
- gate-{name}-bashate
- experimental-swift-logs-{name}-pep8
- project:

View File

@ -1,19 +0,0 @@
#!/bin/bash -xe
# Copyright 2013 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
set -o pipefail
./run_tests.sh
set +o pipefail

View File

@ -730,6 +730,8 @@ jobs:
branch: ^(?!stable/(havana|icehouse)).*$
- name: gate-nova-pip-missing-reqs
voting: false
- name: gate-config-bashate
voting: false
# The project list is grouped by type of project, and within each
# group, projects are sorted (mostly) alphabetically.
@ -2849,6 +2851,7 @@ projects:
- config-compare-xml
- gate-config-layout
- gate-config-pep8
- gate-config-bashate
- gate-config-puppet-syntax
- gate-config-puppet-apply-precise
- gate-config-puppet-apply-centos6

View File

@ -2,3 +2,4 @@ hacking>=0.5.6,<0.8
sphinx>=1.1.2,<1.2
docutils==0.9.1
oslosphinx
bashate>=0.2

View File

@ -54,3 +54,5 @@ commands =
{toxinidir}/tools/check_projects_yaml_alphabetized.sh
{toxinidir}/tools/run-layout.sh openstack-infra config
[testenv:bashate]
commands = bashate -v