Commit Graph

19 Commits

Author SHA1 Message Date
Ryan Schroder 161528365d Spyglass Docs Update
Changed paths for all examples, removed references to Tugboat
and Formation

Change-Id: Ibeb80a1c239169bd4f4ecb124e86671891bef99a
2019-12-16 17:01:00 +00:00
Ian H Pittwood cf673e7d80 Fix OpenSUSE image build
Change-Id: I17e72e8239a5f4c0875e6ff736ca74393e86284c
2019-08-16 20:02:57 +00:00
Ian H. Pittwood 61ecee4624 Use py36 job for safety checks
When using pipenv, the targeted version must be used when attempting to
do pipenv check. This change updates the safety dependency check to use
openstack-tox-py36  so the correct python version will be used.

Change-Id: I4b9f71cfaaa74724ecee7b40ea6e9362e836d261
2019-08-14 19:14:25 +00:00
Ian H Pittwood 166483d6ad Fix Spyglass gates
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
2019-08-14 14:13:47 -05:00
Ian H Pittwood 8349197be8 Move safety checks to new Zuul job
The pyup.io database that is used to check dependencies for
vulnerabilities in Spyglass is currently down. When first implemented,
this check was placed in the tox pep8 job. This change moves the
vulnerability check into its own Zuul job so it can be disabled in
instances such as this where the database is down.

Specifies basepython to python3 for safety and bandit jobs.

Change-Id: I4e13c5341a9e62095587ec1820be79a621380f09
2019-07-23 08:40:51 -05:00
HUGHES, ALEXANDER (ah8742) ec827aa4d5 Add voting to OpenSuse jobs
Voting was previously turned off due to instability with OpenSUSE
mirrors.  This appears to have been resolved over the last week so
this patch re-adds voting.

Change-Id: I293d298996468fee43db410ea54911aef7852a9a
2019-07-02 07:54:31 -05:00
Ian H. Pittwood f9226d2f4a Disable voting on openSUSE
There's been issues in the past week with openSUSE image builds timing
out. This may be due to issues with openSUSE's infrastructure [0]. For
the time being, we should disable the openSUSE docker build until we are
able to consistently build without failures.

[0] https://status.opensuse.org/

Change-Id: I6f3cb9867898a3371cedc58835633ac6eb9ad99b
2019-06-20 13:44:29 +00:00
Ian Pittwood b8f4cbc3af Add tests into Zuul config and Makefile
Spyglass recently had a change merged ([0]) that included tests. Now
that there are tests in Spyglass, gates can be enabled in Zuul and for
the Makefile.

Change-Id: I2da39f3601d4263aa674019205721d5f0ac5f227
2019-06-17 16:09:25 +00:00
Alexander Hughes 1a2adc55d3 Spyglass opensuse image support
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
2019-06-07 20:46:08 +00:00
Hughes, Alexander (ah8742) c6d8256038 Add Ubuntu Bionic support to Spyglass
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
2019-06-07 19:48:25 +00: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
Kaspars Skels 10ce8ea2c6 Encrypt git mirroring ssh_key to specific project
Change-Id: I1557466308a8c7124a005cac9291cac3b0264874
2019-05-23 13:11:12 -05:00
Kaspars Skels 0f4da22c47 Add Zuul job for mirroring to GitHub
Change-Id: Iec6e54cc6bb7e063d2692b3bef4f4ba895045e01
2019-05-22 16:30:03 -05:00
Alexander Hughes 785d292ceb Add Spyglass webhook and projectname to RTD
There are multiple "spyglass" projects on RTD.  These changes add the
correct webhook and project name to use in docs-on-readthedocs Zuul
job.

Change-Id: Ifb2c49dad7321846de12f819d20481eee06b248d
2019-05-17 13:33:40 +00:00
Alexander Hughes 2fe2bf5e26 Add readthedocs job for Spyglass
Change-Id: I7973d8e36c2aa9e173522a01076ce73228ba96a9
2019-05-16 14:39:46 +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
Aaron Sheffield 7f2613bfb6 Adds quay.io Credentials
- Encrypted the username and password with zuul's encrypt_secret.py.

Change-Id: I06e41beadc33bf40ff20a573c69225b2ec5a6722
2019-05-07 18:45:16 -04:00
Tin Lam 89dfec7b4c Add gate
This patch set puts in a rudimentary gate.

Change-Id: I3a2466bd7be5352b46273b385d215913eb8079ba
Signed-off-by: Tin Lam <tin@irrational.io>
2019-04-04 19:25:58 -05:00
Hemanth Nakkina 0c8ecf3751 Add default zuul job
Updated zuul yaml and gitreview files

Change-Id: Id8b6a2c2c795164813bb8683d5df06b184bbee59
2018-12-01 11:03:57 +05:30