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
4
.gitreview
Normal file
4
.gitreview
Normal file
@ -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
|
||||
force: no
|
||||
|
||||
- name: run nethsmstatus to confirm connection
|
||||
- name: run nethsmstatus to confirm connection # noqa 301
|
||||
command: nethsmstatus
|
||||
|
1
test-requirements.txt
Normal file
1
test-requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
ansible-lint
|
10
tox.ini
Normal file
10
tox.ini
Normal 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
11
zuul.d/layout.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
- project:
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
post:
|
||||
jobs:
|
||||
- publish-openstack-python-branch-tarball
|
Loading…
x
Reference in New Issue
Block a user