Carmen Rata d413fe29ea Update audit container image tag in charts
Update the docker image tag in values.yaml as part of helm charts
configuration.
Also updated Dockerfile and added yamllint configuration.

Story: 2008849
Task: 42619

Signed-off-by: Carmen Rata <carmen.rata@windriver.com>
Change-Id: I257c8715258498020c518d795e21fd3f862c676a
2021-06-17 15:52:28 -04:00

51 lines
1.3 KiB
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]
basepython=python3
commands =
{[testenv:bashate]commands}
{[testenv:yamllint]commands}
[testenv:yamllint]
basepython=python3
commands =
bash -c "find {toxinidir} \
-name .tox -prune \
-o -type f -name '*.yaml' \
-print0 | xargs -0 yamllint -d relaxed -f parsable"
[testenv:flake8]
basepython = python3
description = Dummy environment to allow flake8 to be run in subdir tox