From 34597ae0f18946c6bdff6f3aa949bb45f2d22b9c Mon Sep 17 00:00:00 2001 From: "anthony.bellino" Date: Mon, 13 Sep 2021 10:29:33 -0700 Subject: [PATCH] (zuul) Drydock Post Gate Fixes Change-Id: I293f83385af97943232dac1bf381442e401e6a07 --- tools/gate/playbooks/docker-image-build.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/gate/playbooks/docker-image-build.yaml b/tools/gate/playbooks/docker-image-build.yaml index 5e674ab5..c3dcc4f2 100644 --- a/tools/gate/playbooks/docker-image-build.yaml +++ b/tools/gate/playbooks/docker-image-build.yaml @@ -28,7 +28,7 @@ msg: "{{ tags | to_json }}" - name: Determine tags - shell: echo '{{ tags | to_json }}' | python {{ zuul.project.src_dir }}/tools/image_tags.py + shell: echo '{{ tags | to_json }}' | python3 {{ zuul.project.src_dir }}/tools/image_tags.py environment: BRANCH: "{{ zuul.branch | default('') }}" CHANGE: "{{ zuul.change | default('') }}" @@ -46,14 +46,13 @@ name: "{{ item }}" with_items: - docker.io - - python-pip - - python-setuptools + - python3-pip - python3-setuptools when: ansible_os_family == 'Debian' - pip: name: docker version: 2.7.0 - executable: pip + executable: pip3 become: True - name: Make images @@ -77,6 +76,9 @@ - name: Publish images block: + - pip: + name: requests + executable: pip3 - docker_login: username: "{{ airship_drydock_quay_creds.username }}" password: "{{ airship_drydock_quay_creds.password }}"