Add gate config
This patch adds gerrit configuration as well as an ansible-lint gate job. Change-Id: I13b5a6505195591f7d6471ebe151cc8ed03eae75
This commit is contained in:
parent
485a4bb8f7
commit
f6f9c3f3df
|
@ -0,0 +1,4 @@
|
||||||
|
[gerrit]
|
||||||
|
host=review.openstack.org
|
||||||
|
port=29418
|
||||||
|
project=openstack/ansible-role-atos-hsm.git
|
|
@ -66,5 +66,5 @@
|
||||||
dest: /etc/proteccio/server_cert.crt
|
dest: /etc/proteccio/server_cert.crt
|
||||||
force: no
|
force: no
|
||||||
|
|
||||||
- name: run nethsmstatus to confirm connection
|
- name: run nethsmstatus to confirm connection # noqa 301
|
||||||
command: nethsmstatus
|
command: nethsmstatus
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
ansible-lint
|
|
@ -0,0 +1,10 @@
|
||||||
|
[tox]
|
||||||
|
minversion = 2.0
|
||||||
|
envlist = linters
|
||||||
|
skipdist = true
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
|
[testenv:linters]
|
||||||
|
commands = ansible-lint {toxinidir}
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
- project:
|
||||||
|
check:
|
||||||
|
jobs:
|
||||||
|
- openstack-tox-linters
|
||||||
|
gate:
|
||||||
|
jobs:
|
||||||
|
- openstack-tox-linters
|
||||||
|
post:
|
||||||
|
jobs:
|
||||||
|
- publish-openstack-python-branch-tarball
|
Loading…
Reference in New Issue