This PS replaces old airskiff integration gate
with new kubeadm based airskiff integration gate.
The main goal of this gate is to test new Armada
image and chart together with other Airship
components.
Change-Id: I2351b55fa136453a0a6a27a2875208c5e18e579e
Update helm toolkit reference
Update helm toolkit ref so that ingress will be created with a pathType
of Prefix.
https: //review.opendev.org/c/openstack/openstack-helm-infra/+/905757
Change-Id: I64c6ec08c6f454bd09c200174d8709afd6cda416
Upgrading htk to version 0.2.55, which deprecates the ingress class
annotation (kubernetes.io/ingress.class) with .spec.ingressClassName
https://review.opendev.org/c/openstack/openstack-helm-infra/+/891720
Change-Id: I304b3239f6d9f1951de03bd821c8ba4c0a5b9a60
Signed-off-by: Anselme, Schubert (sa246v) <sa246v@att.com>
This PS updates python modules and code to match Airflow 2.6.2:
- bionic py36 gates were removed
- python code corrected to match new modules versions
- selection of python modules versions was perfoemed based on
airflow-2.6.2 constraints
- airskiff deploy pipeline was aligned with latest in treasuremap v1.9
Change-Id: If6f57325339995216d2553c7a5ff56e7673b5acc
This PS makes the following changes:
- makes sure the airskiff-deploy playbook is using 80Gb partition if
available
- adds available security updates to docker images
Change-Id: I405743f9ae69194407bcc49a736b63e9993655c3
Also this PS updates airskiff deployment playbook based on the latest
treasuremap changes and makes sure the airskiff deployment uses freshly
built armada image.
Change-Id: I913f93d695e4068199e193a5839bf27e257a535e
This PS improves armada image run test by enriching it with config
generator. Also this test was removed from make images section of
Makefile. Build images zuul gate has make run_images task to test
the freshly built image now.
Change-Id: I87e089e5d268d248cda1dad1cd417694d166fdfb
This PS restores image build for ubuntu_bionic and adds appropriate
gates to keep it tested by appropriate functional and integratinal
tests.
Also the latest osh-infra commit was used with kubernetes 1.27.1 or
integration tests.
Make images section of Makefile was enriched with run_armada step in
order to quicktest the freshly built images - this is vital for focal
and bionic images differences.
Change-Id: Ida43eebd4aa51fff6261ac9cf5f8259359bc99a9
This PS adds Paste module that was lost during py38/focal upgrade. Also airskiff gate has been altered to use focal image of armada as bionic to cover ubuntu releases change. Airskiff in treasuremap is still pointed to bionic while here we want to test focal in airskiff.
Change-Id: I3cb1eb6232a332707a1440d33d8908ae83603487
- armada-airskiff-deploy is voting gate again
- fixed falcon.API deprecation - -> falcon.App
- fixed collections.abc.defaultdict not found error
- fixed tox4 requirements
- implemented requirements-frozen.txt approach to make allike as other
Airship projects
- uplifted docker version in the image building and publishing gate
Change-Id: I337ec07cd6d082acabd9ad65dd9eefb728a43b12
Update kubernetes client to v26.1.0
Updating armada to focal base image
Remove xenial and opensuse dockerfiles
Update tox python from py35 to py38
Add apparmor for docker build
Uplift HTK chart version 0.2.52
Bumping up some python dependencies to get in sync with shipyard
Added clear-firewall role for airskiff-deploy playbook
Change-Id: If06a3f60466702d05a21c24a7cb8041bed41507a
For now we leave the tiller status enpdpoint, until
Shipyard has had a release to stop depending on it [0].
[0]: https://review.opendev.org/c/airship/shipyard/+/802718
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: If8a02d7118f6840fdbbe088b4086aee9a18ababb
This reverts commit c75898cd6a.
Airship 2 ended up using the Flux helm-controller instead:
https://github.com/fluxcd/helm-controller
So this is no longer needed. Removing it to get rid of tech
debt to ease introduction of Helm 3 support.
This retains the part of the commit which extracts the
chart download logic to its own handler as this is still useful.
Change-Id: Icb468be2d4916620fd78df250fd038ab58840182
- Fix helm CLI download URL, the previous URL is no longer available,
and is superceded by get.helm.sh
- Fix jsonschema dependency spec, 4.x alpha versions were causing the
unit tests to fail for python 3.5
- Remove oslo.db dependency as it was not used and one of its recursive
dependencies (tempita) was failing during setup
Change-Id: I03e8a738bb8aad620903119638210077d211770c
Update Helm chart for Armada to use Tiller version 2.16.9.
depends on: https://review.opendev.org/#/c/749497/
Change-Id: I16f7a5e8e571f067154e79a5f2ceb18be7d8db2d
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: I3a41426c2a4702f2efd4028c85f3680da275106f
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
Airship 2 is using Argo for workflow management, rather
than the builtin Armada workflow functionality. Hence, this
adds an apply_chart CLI command to apply a single chart at
a time, so that Argo can manage the higher level orchestration.
Airship 2 is also using kubernetes as opposed to Deckhand as the
document store. Hence this adds an ArmadaChart kubernetes CRD,
which can be consumed by the apply_chart CLI command. The chart
`dependencies` feature is intentionally not supported by the CRD,
as there are additional complexities to make that work, and ideally
this feature should be deprecated as charts should be building in
there dependencies before consumption by Armada.
Functional tests are included to excercise these features
against a minikube cluster.
Change-Id: I2bbed83d6d80091322a7e60b918a534188467239
Many of the supporting infrastructure used to run Armada jobs, adopted
form OpenStack-Helm infra, no longer supports Ubuntu Xenial. This change
changes the default job distribution to Bionic in order to consume new
infrastructure code changes.
Change-Id: I3a2f1f95eae98cacc08641dc64ba7afbee628284
Signed-off-by: Drew Walters <andrew.walters@att.com>
This leaves support in Armada for tiller 2.13+ as
we don't use any new features since then, so don't
need to require a newer version.
Change-Id: I6e5343fe942794987bec140e23208dd04fcbfd44
Allows to configure the probes via values.yaml in both
the armada charts, which includes armada and tiller
containers, and in the standalone tiller chart
Also bumps the osh sha in tools/helm_tk.sh to latest
22ef25ab295d6b7c6797cfffaa77cf181c673e9b
Change-Id: I0bb0acf00ecc0b61f8d324fe9b6a8507c361e9fc
The airskiff pipeline attempts to build the Armada Docker image before
Docker is installed. This change moves the order of the airskiff
pipeline tasks to build the Armada image AFTER Docker has been installed
by the OpenStack-Helm minikube script.
Change-Id: I3d531213c4787b7bbbc875a0257738a299359b1f
Signed-off-by: Drew Walters <andrew.walters@att.com>
Airskiff dependencies are installed from a script in the OpenStack-Helm
repository now, so the script was removed from treasuremap [0]. This
change removes a call to the deleted "000-install-packages.sh" script
that causes the Airskiff job to fail on changes submitted to the Armada
repository.
[0] https://review.opendev.org/672540
Change-Id: I21fb1370794b77435cdd53542ede339016b654e7
Signed-off-by: Drew Walters <andrew.walters@att.com>
The location of the Airskiff site recently changed [0], causing the
Airskiff job to fail. This change updates the "reduce site" playbook to
match the job in treasuremap, thereby avoiding the directory which no
longer exists.
[0] https://review.opendev.org/674963
Change-Id: I660a02f43aff8c346df5229397353951d49986e7
Signed-off-by: Drew Walters <andrew.walters@att.com>
This removes several of the the required-projects from the Airskiff
gate as the scripts for the gate can already clone down the necessary
repositories and the required-projects can overwrite and pins that may
have been included in the Airskiff scripts.
Change-Id: I065bdfd66a09c8515b6e55355d5282523699f9c4
There is a breaking change in helm 2.14.0 [0]. This is expected to be fixed in helm 2.14.1, reverting until we can update to that.
[0]: https://github.com/helm/helm/issues/5750
This reverts commit 89d98fb827.
Change-Id: Ica6d51b5c67a26c356804fd69d466e88ad5c216b
Added Dockerfile for opensuse so it builds leap15 image
Modified to support multiple distros for image building.
Change-Id: Iffa7d0dbe4bc301e78a0bba1adc927d8aa2cbdcc
On April 19, OpenStack completed the migration from openstack.org to
opendev.org [0]. During this migration, Airship projects moved from the
"openstack" namespace to the "airship" namespace. This change removes
the "armada-" prefix from all jobs to reflect the new repository name
and fixes the Airskiff check job to use the correct OSH-infra relative
path.
[0] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005011.html
Change-Id: I7f261bb36676be9b8039778d87758186bfc94c65