oidc-auth-armada-app/tox.ini
Jerry Sun 56984b2f30 Add Dex as a platform managed application
Add an application to deploy dex as a container for Kubernetes
authentication. This application will be packaged into an RPM and
automatically uploaded on controller-0 unlock.

Story: 2006711
Task: 37856

Change-Id: I75aeeb2f73e2119994205f54361fee939c7aca25
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
2020-01-07 14:13:34 -05:00

36 lines
876 B
INI

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