Fixed key duplication in neutron-server
Plus added the yamllint to pass gate test Change-Id: I55f40f5a138cb1f43117fa3ec07c34a68b5afea0
This commit is contained in:
parent
fea79988bd
commit
1c7e104ade
|
@ -21,8 +21,6 @@ service:
|
||||||
files:
|
files:
|
||||||
- neutron-server-bootstrap.sh
|
- neutron-server-bootstrap.sh
|
||||||
- name: neutron-db-sync
|
- name: neutron-db-sync
|
||||||
dependencies:
|
|
||||||
- neutron-bootstrap
|
|
||||||
type: single
|
type: single
|
||||||
command: neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
|
command: neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -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
|
7
tox.ini
7
tox.ini
|
@ -1,7 +1,12 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
|
envlist = linters,bashate
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
envlist = bashate
|
|
||||||
|
[testenv:linters]
|
||||||
|
deps = yamllint
|
||||||
|
commands =
|
||||||
|
{toxinidir}/tools/run-check-yaml-syntax.sh
|
||||||
|
|
||||||
[testenv:bashate]
|
[testenv:bashate]
|
||||||
deps = bashate>=0.2
|
deps = bashate>=0.2
|
||||||
|
|
Loading…
Reference in New Issue