3 Commits

Author SHA1 Message Date
Alexander Hughes
d460e0aaa0 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: I31f40936648ebd9cf6612af2564ae959f9d3232e
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
2020-06-17 14:16:35 -04:00
Hughes, Alexander (ah8742)
6cfe98e0c3 Multi multi distro support images
This patch:
1. Resolves an issue where the base image was overrided with python:3.6
2. Adds framework for creating new images of other distributions and
   gating against them.

Change-Id: Iaa8ec86f947189bf24d40e5594e015554f7abddb
2019-06-07 19:15:31 +00:00
Alexander Hughes
b9f2ce32b3 Add docker build gate
There is a future requirement for Spyglass to have helm charts. These
charts will need docker images published in a source countrolled
manner.

This change depends on https://review.opendev.org/#/c/657614/ which
adds the airship_spyglass_quay_creds parameters. This patch:
1. Adds the docker-image-build playbook for Spyglass.
2. Uses the playbook in zuul jobs: check, gate and post.
3. Adds the spyglass-single-node nodeset.
4. Adds the vars.yaml file required by docker-image-build playbook.
5. Adds the image_tags.py script required by docker-image-build
   playbook.
6. Adds the docker-systemd.conf file required by docker-image-build
   playbook.

Change-Id: I76981e719a7e42984089fec08e1161a6923c5c52
2019-05-07 18:45:16 -04:00