forked from ansible/awx-ee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
26 lines (23 loc) · 635 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[tox]
minversion = 1.6
skipsdist = True
[testenv]
basepython = python3
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
[testenv:podman]
passenv = HOME
allowlist_externals =
/bin/bash
podman
commands =
/bin/bash -c "podman rmi quay.io/ansible/awx-ee:latest || true"
ansible-builder build -v3 -t quay.io/ansible/awx-ee {posargs}
[testenv:docker]
passenv = HOME,DOCKER_BUILDKIT
allowlist_externals =
/bin/bash
docker
commands =
/bin/bash -c "docker rmi quay.io/ansible/awx-ee:latest || true"
ansible-builder build -v3 -t quay.io/ansible/awx-ee {posargs} --container-runtime=docker