17 Commits

Author SHA1 Message Date
Phil Sphicas
ce50da79e7 Uplift promenade to support non-tar urls
Uplifts promenade to a version that supports specifying a direct url as
the source for a file in the HostSystem and Genesis schema.

Complete list of promenade changes since the last uplift:
* c9862e5 Allow url as source of file to be deployed to host
* d161528 Avoid calico-etcd crashloop
* 77c7624 Fix ubuntu_xenial build (use pip <21.0)
* 630e504 Update to container image repo k8s.gcr.io
* 5e70957 Merge "Makefile; clean should include .tox"
* 946a28d Use HostToContainer mountPropagation
* f29d6df Ignore upstream chart repos when installing Helm
* 2f2a872 Makefile; clean should include .tox
* 922e3b2 Uplift HTK for etcd backup/restore delete archive capability
* de9f841 kube-apiserver: disable http2

Change-Id: Ia054136956d0a6c3ac24ae1658085a62157427ea
2021-02-15 04:33:54 +00:00
Rick Bartra
0b2ac8f953 Update pip package versions in preparation of pip 20.3
When pip is upgraded to 20.3, the pip dependency resolver is much more
strict and will no longer install a combination of packages that is mutually
inconsistent[0].

These changes account for the fact that Pegleg imports Shipyard, Promenade,
and Deckhand. Having said that, with pip 20.3, the pip packages amongst
those projects cannot conflict. A follow-up change may be needed if more
conflicts are found.

[0] https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-2-2020

Change-Id: Iedf7227c468d678430a5525a2d71d22ce210c557
2020-10-19 12:24:38 -04:00
Phil Sphicas
2600b16694 Uplift promenade to support non-hyperkube images
Uplift promenade to include templates without /hyperkube references,
allowing the use of standalone apiserver, controller, proxy, and
scheduler images.

Changes in promenade since previous uplift:
* d603386 Remove additional /hyperkube reference
* 8513b46 Update pip package versions in preparation of pip 20.3
* fb36579 kube-apiserver: use HTTP probes instead of exec
* be7b82e kube-apiserver: Allow probe customization
* 8c52be3 Remove /hyperkube prefix
* 9402535 Change helm-toolkit dependency version to ">= 0.1.0"
* b41c315 Accelerate YAML operations with LibYAML
* 14a95e6 Upgrade LibYAML version in container builds
* 6d7df80 Fix bug with block_literal_representer
* 9853fcf fix - pep8 and image build gates
* 9742790 Upgrade etcd to 3.4.3

Change-Id: I48628259f8db26a925f92ef859f82e7928ab786a
2020-09-30 03:24:26 +00:00
Phil Sphicas
0524e01779 Accelerate YAML operations with LibYAML
Patch PyYAML (via the pylibyaml library) to automatically enable the
LibYAML parser and emitter, which are faster than the Python versions.

https://pypi.org/project/pylibyaml/

Change-Id: Ic48d2234ca3107404d9f883ca6038a12ca06a408
2020-09-25 01:01:20 +00:00
Nishant Kumar
04ff9b514c Promenade uplift
This PS updates promenade till the below commit:
https://review.opendev.org/#/c/745971/

Change-Id: Ic79d3609ce0b60a1d1e01cf7f1a593cba8693de8
2020-09-23 14:14:19 +00:00
Alexander Hughes
c8c419bf90 Uplift Promenade version in Pegleg requirements
Gates are currently failing due to some python requirement conflicts
in Deckhand and Promenade.  Promenade was updated in [0] to address
these.  Uplifting Pegleg's version of Promenade to resolve gate
errors.

Additional minor fixes:
- Some formatting addressed in Pipfile to remove duplicated entries
  ex: oslo.utils and oslo-utils
- Update the commits of Deckhand Promenade and Shipyard used in
  building the Docker image

[0] https://review.opendev.org/#/c/734122/

Change-Id: I370e89f9bdd23eaf2ecddec25ace5cc82f2046d7
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
2020-06-10 12:46:22 +00:00
Ahmad Mahmoudi
def3afff05 Bionic pegleg airship clients
This patchset updates pegleg airship clients for shipyard and
deckhand to use the new clients, which support bionic base image.

Change-Id: I266747b84c39984b941afd6454647fe0d5510ca3
2020-03-13 15:12:52 +00:00
Chris Wedgwood
254275af25 Uplift Promenade
Changes:
    Prevent creation of kubernetes service endpoint by bootstrap apiserver

Change-Id: Ib0a82e96932183e5909ccca71d770df9d4b13e1c
2020-01-28 15:13:40 -06:00
Phil Sphicas
5635dd9e1b Uplift Promenade
Changes to Promenade since last uplift:
  1a1c69c Fix: genesis.sh and join.sh rendering fix
  04ddbcd promenade/HostSystem/v1 schema cleanup
  3674a86 Merge "Ubuntu 18.04, configure chrony"
  f5ad002 Ubuntu 18.04, configure chrony
  6480741 Probes: Ensure newline between key and cert in probe concat

Change-Id: Ic0b4413e57813a499536a7c97cbf3eb40be27b5a
2019-12-18 09:25:50 -08:00
Egorov, Stas (se6518)
9991414f9b Uplift promenade for using containerd
Change-Id: If8e12be8f9b28baca3b9d500c9df34bad37eb30c
2019-12-13 17:32:10 +00:00
Alexander Hughes
980de8fd30 Uplift pegleg dependencies
Periodic uplift of Pegleg dependencies, notably:
1. deckhand, shipyard, promenade now on latest
2. uplift of other packages in attempt to resolve security scans
   identified on quay.io [0]

[0] https://quay.io/repository/airshipit/pegleg?tab=tags

Change-Id: Id4a2a61fe1748b865e6eca55ea7ce13686855497
2019-11-13 15:49:38 +00:00
Alexander Hughes
0d4b3bf049 Uplift promenade and deckhand
This patch uplifts promenade and deckhand versions Pegleg consumes.
Also included are minor package updates.

Change-Id: I1921ae8e215031e36b024ed3badafa67a1f43beb
2019-10-07 15:58:32 +00:00
Ian H. Pittwood
ee2b822a6d Uplift promenade and deckhand
Change-Id: I96ed8eb9edf4247b74527f36edacd43a2963ee62
2019-09-20 18:15:30 +00:00
Ian H Pittwood
33d650c614 Fix OpenSUSE image build
Upgrades Deckhand to revision supporting six 1.12.0
https://review.opendev.org/#/c/677272/

Installs python3 and overrides python3-six version in OpenSUSE image

Reenables OpenSUSE image build gate

Change-Id: Id72dad8e3668d77b06aa8af4278fcdff0cb678eb
2019-08-22 19:46:05 +00:00
Svetlana Shturm
f85d83a946 Update revision for shipyard client
Change-Id: I10cbf5b2c431467c0e2da901e5af90b80a5e9804
2019-08-16 20:47:38 +00:00
Ian H Pittwood
36b8e9fe60 Resolves installation problems in Docker
A recent change to implement Pipenv caused VCS dependencies (Promenade,
Deckhand, and Shipyard) to not be fully installed in Docker images. This
change removes the "editable" tags from the VCS dependencies to ensure a
full install as having "editable" enabled will only install dependencies
in development mode.

Unfortunately, the "editable" tag is required to install the
requirements.txt for a VCS dependency. To get the lower-level
dependencies installed from VCS dependencies, I implemented a few
commands in the Dockerfiles to retrieve the appropriate requirements.txt
and install them before fully installing Pegleg. An upcoming release of
Pipenv will fix the existing problems with VCS dependency resolution at
which point this temporary solution may be removed.

Adds manual installation of VCS dependency requirements.txt in Docker

Removes "editable" tags from VCS dependencies

Moves docker package to deployment packages from dev packages

Adds .env file to track VCS refs used by Docker for requirements.txt

Change-Id: Ifdb1fe960b32280dcb3c5308e56b2d608f848975
2019-08-16 12:24:57 -05:00
Ian H. Pittwood
0e46d134c1 Implement Pipenv dependency management
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
- Adds `-e` flag on VCS dependencies to resolve good versions on all
packages
- Unpins or loosens pins on "dev"-type packages

Pipenv Docs: https://docs.pipenv.org/en/latest/

Helpful Pipenv Guide: https://realpython.com/pipenv-guide/

Change-Id: I47e7e7b440d76103b4984499e6ffce4482a59353
2019-08-12 09:10:42 -05:00