Commit Graph

8 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
Ian H. Pittwood 60da55cd18 Schema validation
Adds JSON schema validation to Spyglass.

Change-Id: Ib29bbf9fa02cd6623c75db37a4c8d6f510b52831
2019-06-06 12:56:43 +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
Alexander Hughes 56e37ed5c9 Update Spyglass make images command
Bring files used in make images in line with other airship projects

Change-Id: Idb1858e3bc8fa64cfbeb768d999066cbd832e698
2019-04-24 12:03:32 -05:00
Alexander Hughes 03a058bfcf Various fixes to Spyglass to resolve tox errors
The tox configuration needs to be updated in order for it to be helpful
for Zuul. This change makes some minor modifications to the tox config
to improve its usability and uniformity with other Open Stack configs.

Makes bare minimum changes for pep8 tests compliance.

Adds gate scripts for white space linting.

In the future, additional changes will need to be made to add tests to
Spyglass. These changes will need to enable the 'py36' and 'cover' tox
env and set coverage levels. Additional linting should also be
performed to improve Spyglass code readability and organization.

Change-Id: I73f946619786e661d02c69bd8e197453f049e0c7
2019-04-16 12:22:53 -05:00
Hemanth Nakkina 303fce156b Fix: remove references to previous repo
Remove references to att-comdev/spyglass repo

Change-Id: Ie07a5ae6062e61c2705a056713a9fb50ad2361fe
2018-12-04 18:51:57 +05:30
Hemanth Nakkina 296705a0a5 Base code for spyglass
- Spyglass skelton with engine, site processor
- Spyglass data extractor with formation plugin
- Docker files and scripts to run spyglass
2018-11-28 15:19:43 +05:30