From c2d924aed0da37354c2983b988014c3c9bca8931 Mon Sep 17 00:00:00 2001 From: Alexander Hughes Date: Wed, 17 Jun 2020 08:39:35 -0400 Subject: [PATCH] Fix image build checks missing setuptools Use apt to install python3-pip, and use pip3 in event system has both pip2 and pip3 installed. Use apt to install setuptools for Ansible's consumption. Change-Id: I3a41426c2a4702f2efd4028c85f3680da275106f Signed-off-by: Alexander Hughes --- tools/gate/playbooks/docker-image-build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/gate/playbooks/docker-image-build.yaml b/tools/gate/playbooks/docker-image-build.yaml index 0dca4578..35ebb148 100644 --- a/tools/gate/playbooks/docker-image-build.yaml +++ b/tools/gate/playbooks/docker-image-build.yaml @@ -73,10 +73,12 @@ allow_unauthenticated: True with_items: - docker-ce - - python-pip + - python3-pip + - python3-setuptools - pip: name: docker version: 2.7.0 + executable: pip3 # NOTE(SamYaple): Allow all connections from containers to host so the # containers can access the http server for git and wheels - iptables: