Select Git revision
-
nimrod authored
Don't ship a requirements.txt file with locked versions of packages just for the Docker image. The test don't include the dependencies anyway so there's no point and without hashes there's no security benefits. Instead use bump-version to update the version in the Docker image and remove hashin package and the update-reqs pipenv script.
nimrod authoredDon't ship a requirements.txt file with locked versions of packages just for the Docker image. The test don't include the dependencies anyway so there's no point and without hashes there's no security benefits. Instead use bump-version to update the version in the Docker image and remove hashin package and the update-reqs pipenv script.
tox.ini 659 B
[tox]
skip_install = True
skipsdist = True
envlist = molecule
[testenv:pre-commit]
envdir = {toxinidir}/.tox
deps = -rtests/requirements.txt
passenv = HOME VBOX* ANSIBLE_*
whitelist_externals =
sh
commands =
sh -c "ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles"
molecule dependency
pre-commit run --all-files
[testenv:molecule]
envdir = {toxinidir}/.tox
deps = -rtests/requirements.txt
passenv = HOME VBOX* ANSIBLE_*
whitelist_externals =
sh
commands =
sh -c "ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles"
molecule test {posargs}