snmp-armada-app repo setup
- .zuul.yaml: add config about mirroring and secret github key - requirements.txt: empty file for futures requirements - test-requirements.txt: file with requirements for testing - tox.ini: file to setup the test environment Story: 2008132 Task: 41107 Change-Id: I7e5ce441e783963017f578ee0647f224ea3773ee Signed-off-by: Nicolas Alvarez <nicolas.alvarez@windriver.com>
This commit is contained in:
parent
be277c83a9
commit
2b8c8588d8
103
.zuul.yaml
Normal file
103
.zuul.yaml
Normal file
@ -0,0 +1,103 @@
|
||||
---
|
||||
- project:
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
post:
|
||||
jobs:
|
||||
- stx-snmp-armada-app-upload-git-mirror
|
||||
|
||||
- job:
|
||||
name: stx-snmp-armada-app-upload-git-mirror
|
||||
parent: upload-git-mirror
|
||||
description: >
|
||||
Mirrors opendev.org/starlingx/snmp-armada-app to
|
||||
github.com/starlingx-github/snmp-armada-app
|
||||
vars:
|
||||
git_mirror_repository: starlingx-github/snmp-armada-app
|
||||
secrets:
|
||||
- name: git_mirror_credentials
|
||||
secret: stx-snmp-armada-app-github-secret
|
||||
pass-to-parent: true
|
||||
|
||||
- secret:
|
||||
name: stx-snmp-armada-app-github-secret
|
||||
data:
|
||||
user: git
|
||||
host: github.com
|
||||
# yamllint disable-line rule:line-length
|
||||
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE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dT8xQRQEBC0EQ78EB0SmLitEjPs
|
||||
9VwdAA6CH7+1mD+23I2rTcIhNfnZepZL7yvhNidSOViibWDxJlgqQTUc3OK//9ZNBWUTN
|
||||
1CSKom/EZPijx2JExFb82QFjX047eYoiBulcFHwF7Fr2XMsegXcHXn2gupDBFw=
|
||||
- fgghUlxgz06nSwAgy37aN0EcRzRXf19iF0gd5jgXOzVONu/rCq+QECrSWyO2Grfzwsx1g
|
||||
oInsqSHyivDdspFpa7AUsVdAMaX/OwakZUi9XUHtWbaigXvi6Xvg0jqTYx19lnbCNnzWH
|
||||
8jjQW2jPZbOcc+ZdWmviTmtCvQrX1c543kGDHum9gQek50GNizCBZcoy8wSwc25xjodxH
|
||||
gkJvs6gaxCbOz9572vjmjoycALV+4AipB33TzMAWH4gd2o499QhgcuD9LDXQ70cum5wkT
|
||||
mx//aVW4XC4QYdZ9BltyYP48NSfBrNh4L2B/sN9lUIjcBjuPeg/4BmyhkXo42FBJ8Svt0
|
||||
jf+UNyEa+nyPAA+X0kTxwyOTdC5n607EoBX9V+GAZ/N+Xd8IHhonR3gZCA9yOu3ci3fG6
|
||||
0XueLkIudQyEd1D67KSTjEYvs/Pg/XTc2BUgIXgW6Y2jl887lBrWkB10H/hRMVJMN+NJY
|
||||
bztG66pxKKUhxSNmGWtgPS/36AFjRhEKbFNXxTkgCVxVLThRUP8toTR9rvRDgQFrCkZ2S
|
||||
+qBLBb9n3BjaIYjDOvo6ZDREyBsiNHxZnaAgmATNOyIbNIa3HpiRJja1vErD75COqDeji
|
||||
u7qDxqk7RtFu5sypv4XqHcBoOoBlIrD5K9yHWKT4viOFb8J8tJUy5Gp/elJYEM=
|
||||
- dqMappfSmtRiTQ0w58LMI16UZ/LEe9u/eOwWuYS09WPae9OdNV5pcaOTtWy3X1GYZRDA7
|
||||
6hsZopkrE09HvHMh+qrljR0SLw9HatKWra0y7bjXTELFQw3TcICDySGgmh79da/Py/w+u
|
||||
uC0LfFZXY5ZJEmuQfLZzMk+Ki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qWc+getG+Fd33aLRMetFlPpb
|
||||
y5h0QdT8OBKfoIuMVf60Q3zE9fC/ciTnKM3NqGQZ7tJIdeSv8fIwKG45usuDud30CDAXq
|
||||
YeKZBK1muZpAdl7dGHuFd9N60GrvVnssTMwJ1+mQbo4kkTkfMHCC41nvvdNPgWPR5siLW
|
||||
vTH/nnePX/9CVV8hUNeMC1iIY6jeY9j2KxagbQn1O9Ip28pycGB3A3ScQ30Czg=
|
||||
- Wuui28oyByBrZTCVUr4sARFsUFdofHbNHuydvWExpFmTj/kjCtIA30NAnP8jDpBjXCrH5
|
||||
Ira1CuzS/jDfCfFrx/RTAYQt99iMqkO65aFgTECbb7iCcFCSRPlNn6IxZc5Pq5C/I6Fjd
|
||||
al2SlAnzHBT+jtT5k3slDQs0aeUbA1zNVTd86uScpx8NKTM9z9S0C9uQaqU6K8jUg71w9
|
||||
Ijz9eyWELsTI3LNXSQAa4p7JJ6X82n3XsCOfpATf5j7ZYNLDkO6S9iOGxyI00RsCYqQIS
|
||||
s50gH6Qx3kbNV1+8Q3XSMhfP2OAVoXLKdmQSlPMESB3QXqsp9qKA0jDzy/sDFi/2rgZ9D
|
||||
DEDfe1qAuf3Gl+GwnofxTz6W7hWbHLoSO9P1hPtFe2NxfraMs/RznqLW4CJYe5u13ntiC
|
||||
Zbi+hbm/Cfzd8/hCnIQbG7LSi0kAiNSgM9pcU2J3qcivIL7ArpjOrYR+qTa4BraGcqumM
|
||||
oCrQPmkGGbtEjqD1r7GUHUaUUU2EnCv+qfXF2+GqV3VruRP0X/WWbLmfKYjLgDn3tY5nM
|
||||
PFo3bmC7D9aU2vHRefTIu0XPpg7VqGTaPIPngkpp71rwlc8s+Kskt/it3o6ZtQNsSna5+
|
||||
YrbCChy6nCnzWhPeNtAGlRzfSkMYJig98fgEC6wgOexmN6cUYGR7Q0pt/o0Ct0=
|
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
# Nothing
|
3
test-requirements.txt
Normal file
3
test-requirements.txt
Normal file
@ -0,0 +1,3 @@
|
||||
# hacking pulls in flake8
|
||||
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
||||
bashate >= 0.2
|
35
tox.ini
Normal file
35
tox.ini
Normal file
@ -0,0 +1,35 @@
|
||||
[tox]
|
||||
envlist = linters
|
||||
minversion = 2.3
|
||||
skipsdist = True
|
||||
sitepackages=False
|
||||
|
||||
[testenv]
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
OS_STDOUT_CAPTURE=1
|
||||
OS_STDERR_CAPTURE=1
|
||||
OS_DEBUG=1
|
||||
OS_LOG_CAPTURE=1
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
whitelist_externals =
|
||||
bash
|
||||
|
||||
[testenv:bashate]
|
||||
# Treat all E* codes as Errors rather than warnings using: -e 'E*'
|
||||
commands =
|
||||
bash -c "find {toxinidir} \
|
||||
-not \( -type d -name .?\* -prune \) \
|
||||
-type f \
|
||||
-not -name \*~ \
|
||||
-not -name \*.md \
|
||||
-name \*.sh \
|
||||
-print0 | xargs -r -n 1 -0 bashate -v \
|
||||
-e 'E*'"
|
||||
|
||||
[testenv:linters]
|
||||
commands =
|
||||
{[testenv:bashate]commands}
|
Loading…
Reference in New Issue
Block a user