diff --git a/tox-ansible.ini b/tox-ansible.ini deleted file mode 100644 index 81efe96b..00000000 --- a/tox-ansible.ini +++ /dev/null @@ -1,45 +0,0 @@ -[testenv:sanity-*] -description = Run ansible-test sanity (generic) -type = VirtualEnvRunner -runner = virtualenv -base = testenv -skip_install = True -package = skip - -# Generic env directories -envdir = {toxworkdir}/{envname} -set_env = - ANSIBLE_COLLECTIONS_PATH={envtmpdir}/collections - PIP_DISABLE_PIP_VERSION_CHECK=1 - PYTHONIOENCODING=utf-8 - -pass_env = - CC - CFLAGS - CPPFLAGS - HOME - LANG - LANGUAGE - PIP_* - http_proxy - https_proxy - no_proxy - -allowlist_externals = - bash - rsync - mkdir - cd - git - -commands_pre = - mkdir -p {envtmpdir}/collection_build - rsync -r --cvs-exclude --filter=":- .gitignore" . {envtmpdir}/collection_build - bash -c 'cd {envtmpdir}/collection_build && ansible-galaxy collection build && ansible-galaxy collection install *.tar.gz -p {envtmpdir}/collections' - bash -c 'cd {envtmpdir}/collections/ansible_collections/*/* && git config --global init.defaultBranch main && git init .' - -commands = - bash -c 'cd {envtmpdir}/collections/ansible_collections/*/* && ansible-test sanity --local --requirements' - -deps = - https://github.com/ansible/ansible/archive/devel.tar.gz diff --git a/tox-ansible.ini.bak b/tox-ansible.ini.bak deleted file mode 100644 index fd1e5f9f..00000000 --- a/tox-ansible.ini.bak +++ /dev/null @@ -1,20 +0,0 @@ -[tox] -skipsdist = true - -[testenv] -deps = - ansible-core - ansible-dev-environment - -allowlist_externals = - mkdir - ln - -commands_pre = - mkdir -p {envtmpdir}/ansible_collections/vyos - ln -s {toxinidir} {envtmpdir}/ansible_collections/vyos/vyos - -change_dir = {envtmpdir}/ansible_collections/vyos/vyos - -commands = - ansible-test sanity