(zuul) Drydock Post Gate Fixes

Change-Id: I293f83385af97943232dac1bf381442e401e6a07
This commit is contained in:
anthony.bellino 2021-09-13 10:29:33 -07:00
parent 10469ed3e5
commit 34597ae0f1
1 changed files with 6 additions and 4 deletions

View File

@ -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 }}"