skylab
/
skylab-ansible
Archived
2
0
Fork 0

Update with latest practices

This commit is contained in:
Ethan Paul 2023-03-19 01:35:30 -04:00
parent 0163d5ab18
commit 614fca41c0
Signed by: enpaul
GPG Key ID: 9B6D99E4CFA31867
3 changed files with 722 additions and 344 deletions

1029
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -7,22 +7,21 @@ license = "MIT"
[tool.poetry.dependencies]
python = "^3.10"
ansible-core = "^2.12.1"
docker = "^4.2.0"
docker-compose = "^1.25.4"
ansible-core = "^2.14.3"
docker = "^6.0.1"
paramiko = "^2.7.1"
jsondiff = "^1.2.0"
jsondiff = "^2.0.0"
netaddr = "^0.8.0"
[tool.poetry.dev-dependencies]
ansible-lint = "^4.2.0"
ipython = "^7.28.0"
mdformat = "^0.7.9"
mdformat-gfm = "^0.3.3"
poetry = "^1.1.0"
pre-commit = "^2.9.2"
pre-commit-hooks = "^3.3.0"
safety = "^1.9.0"
ansible-lint = {version = "^6.14.0", markers = "platform_system != 'Windows'"}
ipython = "^8.11.0"
mdformat = "^0.7.16"
mdformat-gfm = "^0.3.5"
poetry = "^1.3.0"
pre-commit = "^3.2.0"
pre-commit-hooks = "^4.4.0"
safety = "^2.3.5"
tox = "^3.20.1"
tox-poetry-installer = {extras = ["poetry"], version = "^0.8.3"}
yamllint = "^1.20.0"
tox-poetry-installer = {extras = ["poetry"], version = "^0.10.0"}
yamllint = "^1.29.0"

10
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
envlist = ansible, python, security
envlist = ansible, security
skipsdist = true
[testenv]
@ -36,7 +36,9 @@ locked_deps =
poetry
safety
commands =
poetry export --format requirements.txt --without-hashes --dev --output {envtmpdir}/req.txt
safety check --json --file {envtmpdir}/req.txt \
poetry export --format requirements.txt --without-hashes --with dev --output {envtmpdir}/req.txt
safety check --output text --file {envtmpdir}/req.txt \
# Ignore unfixed CVE-2021-3532 from ansible \
--ignore 42923
--ignore 42923 \
# https://github.com/pytest-dev/py/issues/287#issuecomment-1283567565
--ignore 51457