aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--requirements.txt1
-rw-r--r--test-requirements.txt1
-rw-r--r--tests/playbooks/pre.yml4
3 files changed, 5 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt
index e949f8f5a..f471843cf 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,5 +1,4 @@
pbr!=2.1.0,>=2.0.0 # Apache-2.0
-docker>=3.0.0 # Apache-2.0
Jinja2>=3.0.1 # BSD License (3 clause)
GitPython>=1.0.1 # BSD License (3 clause)
oslo.config>=5.1.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index e1185df8b..d37daf377 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -2,6 +2,7 @@ bandit!=1.6.0,>=1.1.0 # Apache-2.0
bashate>=0.5.1 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
ddt>=1.0.1 # MIT
+docker>=3.0.0 # Apache-2.0
hacking>=3.0.1,<3.1.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
stestr>=2.2.0 # Apache-2.0
diff --git a/tests/playbooks/pre.yml b/tests/playbooks/pre.yml
index 01ded11b0..2e0e91bc6 100644
--- a/tests/playbooks/pre.yml
+++ b/tests/playbooks/pre.yml
@@ -42,6 +42,10 @@
- name: Install kolla
command: "{{ virtualenv_path }}/bin/python -m pip install {{ zuul.project.src_dir }}"
+ - name: Install docker python library
+ command: "{{ virtualenv_path }}/bin/python -m pip install docker"
+ when: container_engine == "docker"
+
- name: Install podman python library
command: "{{ virtualenv_path }}/bin/python -m pip install podman"
when: container_engine == "podman"