(zuul) Fix Shipyard Post Gates
Change-Id: I9f6f633399069f28c47c381faf4230e4f22276e2
This commit is contained in:
parent
88286bc690
commit
3a27007e8a
@ -26,7 +26,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('') }}"
|
||||||
@ -70,6 +70,11 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- docker-ce
|
- docker-ce
|
||||||
- python3-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
|
# NOTE(SamYaple): Allow all connections from containers to host so the
|
||||||
# containers can access the http server for git and wheels
|
# containers can access the http server for git and wheels
|
||||||
- iptables:
|
- iptables:
|
||||||
@ -100,8 +105,6 @@
|
|||||||
|
|
||||||
- name: Publish images
|
- name: Publish images
|
||||||
block:
|
block:
|
||||||
- pip:
|
|
||||||
name: docker-py
|
|
||||||
- docker_login:
|
- docker_login:
|
||||||
username: "{{ airship_shipyard_quay_creds.username }}"
|
username: "{{ airship_shipyard_quay_creds.username }}"
|
||||||
password: "{{ airship_shipyard_quay_creds.password }}"
|
password: "{{ airship_shipyard_quay_creds.password }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user