Skip to content

Commit

Permalink
Avoid passenv=* with tox (#2784)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Aug 20, 2020
1 parent 5aee207 commit 9f3ea84
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Used for testing to avoid using one from outside repository
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,16 @@ isolated_build = True
install_command =
python -c 'import subprocess, sys; pip_inst_cmd = sys.executable, "-m", "pip", "install"; subprocess.check_call(pip_inst_cmd + ("pip<19.1", )); subprocess.check_call(pip_inst_cmd + tuple(sys.argv[1:]))' {opts} {packages}
usedevelop = True
passenv = *
# do not put * in passenv as it may break builds do to reduced isolation
passenv =
CI
DOCKER_*
GITHUB_*
HOME
PODMAN_*
TERM
setenv =
ANSIBLE_CONFIG={toxinidir}/dev/null
ANSIBLE_CALLABLE_WHITELIST={env:ANSIBLE_CALLABLE_WHITELIST:timer,profile_roles}
ANSIBLE_DISPLAY_FAILED_STDERR=1
ANSIBLE_VERBOSITY=1
Expand Down

0 comments on commit 9f3ea84

Please sign in to comment.