Fix to pass linters tests

Change-Id: Icd9f3c2f2a455cc69b3cc799dc60ceebfc10b351
This commit is contained in:
Artur Zarzycki 2016-07-06 16:46:37 +02:00
parent aa35542800
commit 1d5c197c4f
4 changed files with 16 additions and 4 deletions

View File

@ -1,4 +1,4 @@
[gerrit]
host=review.fuel-infra.org
host=review.openstack.org
port=29418
project=nextgen/ms-memcached.git
project=openstack/fuel-ccp-memcached.git

View File

@ -1,4 +1,4 @@
configs:
memcached_addr: 0.0.0.0
memcached_port: 11211
memcached_ram: 256
memcached_ram: 256

7
tools/run-check-yaml-syntax.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
### Temp yaml syntax checker script.
set -e
for file in $(find . -name '*.yaml'); do
yamllint -d relaxed $file
done

View File

@ -1,7 +1,12 @@
[tox]
minversion = 1.6
skipsdist = True
envlist = bashate
envlist = linters,bashate
[testenv:linters]
deps = yamllint
commands =
{toxinidir}/tools/run-check-yaml-syntax.sh
[testenv:bashate]
commands = bash -c "exit 0"