Add gate config

This patch adds gerrit configuration as well as an
ansible-lint gate job.

Change-Id: I13b5a6505195591f7d6471ebe151cc8ed03eae75
This commit is contained in:
Douglas Mendizábal 2019-03-05 11:29:11 -06:00
parent 485a4bb8f7
commit f6f9c3f3df
5 changed files with 35 additions and 9 deletions

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=openstack/ansible-role-atos-hsm.git

View File

@ -66,5 +66,5 @@
dest: /etc/proteccio/server_cert.crt
force: no
- name: run nethsmstatus to confirm connection
- name: run nethsmstatus to confirm connection # noqa 301
command: nethsmstatus

1
test-requirements.txt Normal file
View File

@ -0,0 +1 @@
ansible-lint

10
tox.ini Normal file
View File

@ -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}

11
zuul.d/layout.yaml Normal file
View File

@ -0,0 +1,11 @@
---
- project:
check:
jobs:
- openstack-tox-linters
gate:
jobs:
- openstack-tox-linters
post:
jobs:
- publish-openstack-python-branch-tarball