(zuul) Drydock Post Gate Fixes
Change-Id: I293f83385af97943232dac1bf381442e401e6a07
This commit is contained in:
parent
10469ed3e5
commit
34597ae0f1
|
@ -28,7 +28,7 @@
|
||||||
msg: "{{ tags | to_json }}"
|
msg: "{{ tags | to_json }}"
|
||||||
|
|
||||||
- name: Determine tags
|
- 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:
|
environment:
|
||||||
BRANCH: "{{ zuul.branch | default('') }}"
|
BRANCH: "{{ zuul.branch | default('') }}"
|
||||||
CHANGE: "{{ zuul.change | default('') }}"
|
CHANGE: "{{ zuul.change | default('') }}"
|
||||||
|
@ -46,14 +46,13 @@
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
with_items:
|
with_items:
|
||||||
- docker.io
|
- docker.io
|
||||||
- python-pip
|
- python3-pip
|
||||||
- python-setuptools
|
|
||||||
- python3-setuptools
|
- python3-setuptools
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
- pip:
|
- pip:
|
||||||
name: docker
|
name: docker
|
||||||
version: 2.7.0
|
version: 2.7.0
|
||||||
executable: pip
|
executable: pip3
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
- name: Make images
|
- name: Make images
|
||||||
|
@ -77,6 +76,9 @@
|
||||||
|
|
||||||
- name: Publish images
|
- name: Publish images
|
||||||
block:
|
block:
|
||||||
|
- pip:
|
||||||
|
name: requests
|
||||||
|
executable: pip3
|
||||||
- docker_login:
|
- docker_login:
|
||||||
username: "{{ airship_drydock_quay_creds.username }}"
|
username: "{{ airship_drydock_quay_creds.username }}"
|
||||||
password: "{{ airship_drydock_quay_creds.password }}"
|
password: "{{ airship_drydock_quay_creds.password }}"
|
||||||
|
|
Loading…
Reference in New Issue