Skip to content

Commit

Permalink
Update config for breaking change in Tox 4.0.6 (ansible#150)
Browse files Browse the repository at this point in the history
tox-dev/tox#2676 for details.

Signed-off-by: Rick Elrod <rick@elrod.me>
  • Loading branch information
relrod committed Jan 17, 2023
1 parent 9f9d384 commit d9bc25f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt

[testenv:podman]
passenv =
HOME
passenv = HOME
allowlist_externals =
/bin/bash
commands =
Expand All @@ -18,17 +17,15 @@ commands =


[testenv:docker]
passenv =
HOME DOCKER_BUILDKIT
passenv = HOME,DOCKER_BUILDKIT
allowlist_externals =
/bin/bash
commands =
/bin/bash -c "docker rmi quay.io/ansible/awx-ee:latest || true"
ansible-builder build -v3 -c . -t quay.io/ansible/awx-ee {posargs} --container-runtime=docker

[testenv:check-diff]
passenv =
{[testenv:docker]passenv}
passenv = {[testenv:docker]passenv}
allowlist_externals =
/bin/bash
{toxinidir}/tools/check_ansible_builder_changed.sh
Expand Down

0 comments on commit d9bc25f

Please sign in to comment.