Zuul gates broke for Spyglass due to an update made to either Zuul or
Openstack's Zuul jobs (I wasn't able to pin it down). The update caused
Zuul to attempt to install Spyglass's requirements.txt file instead of
referring to the method given in the tox configuration that utilizes
Pipenv. To bypass this issue, the requirements.txt will be removed and
Spyglass will be fully moved over to using Pipenv.
Removes requirements.txt
Updates Pipfile and Pipfile.lock for new package releases
Updates Dockerfile to install requirements from Pipfile.lock
Change-Id: I347ef6db18a44e1b88c811aa071ba8c60bccbd53
This change took place in Pegleg, adding to Spyglass for project
consistency.
Pegleg change: https://review.opendev.org/#/c/670421/
Change-Id: I1c3610ce6041393c94252629194295cc28eb129e
Pipenv is a tool that brings better package dependency management to
python. It can automatically create and manage virtualenv as well as
managing package dependencies using Pipfile and Pipfile.lock. Adding
this dependency manager into Airship projects will decrease package
version conflicts between projects and help increase security through
hash validation of packages and vulnerability scans.
Changes:
- Imports requirements.txt type files into Pipfile
- Pipenv dependency management in tox
- Switches Safety package for "pipenv check", an implementation of
Safety
- Unpins or loosens pins on all development packages
- Soft pins package dependencies to encourage adoption of bug fixes and
prevent small version mismatches
Pipenv Docs: https://docs.pipenv.org/en/latest/
Helpful Pipenv Guide: https://realpython.com/pipenv-guide/
Change-Id: I2c9cec8acf6b6c6157f807b010def873c349d3ae
This patch:
1. Adds an OpenSUSE Dockerfile, as the other Airship projects have done
2. Adds OpenSUSE checks, gate, and publish jobs to .zuul.yaml
Change-Id: I210f0233387c28b607fe86d8589a095e892d7fef
From community meeting on 04-June-2019 Ubuntu Xenial is the default
image for Airship projects, but a desire was voiced to also add support
for Ubuntu Bionic at the convenience of the contributors for each
project.
This patch:
1. Adds a new dockerfile specific to ubuntu:18.04 (bionic).
2. Add to .zuul.yaml checks/gates/post jobs for bionic.
Change-Id: I131c894a749cc6d5f19274389a07a9edcc1a0099
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
Per community discussion updating default image to ubuntu:16.04 in
place of python:3.6 for two reasons:
1. Reduce number of vulnerabilities in the built image
2. Standardize across Airship the default image used as ubuntu:16.04
Change-Id: I598989ae15a86520850dbf6693feab659a135fff