Commit Graph

11 Commits

Author SHA1 Message Date
Dmitry Ukov d247bb6057 Clean up v1 structure
Change-Id: I12feb1db2ef4ffe58be00f0c290b37e7f184efd6
2019-10-02 09:57:45 +00:00
James Gu e28d0a1313 Add new airskiff type
Create a site type called skiff and point airskiff site to be based on
the new type. This will help to reduce the duplication when creating
airskiff-suse site in subsequent commit.

Change-Id: Ie9cd6d0e572a4556ee6ff5c3d37f20349c2d7de3
2019-08-21 16:20:01 +00:00
Steven Fitzpatrick def39706da Set permissions of kube config like airskiff.yaml
This script mounts ~/.kube/config to a volume in the armada container,
however this file is not readable by the armada user with its' default
permissions. This change sets the permissions on the file to 0644 before
mounting it, then sets the permissions back to the original values
afterwards.

Change-Id: I60ee02b7edfd763e826488e787f02cda7f73eb92
2019-08-12 12:26:32 -05:00
Daniel Pawlik 05e7672a84 Change permissions for generated airskiff.yaml file
Generated file has superuser owner and it is set with permissions
that other users are not able to read the file, so later it can't be used
by Armada.

Change-Id: I571a3af0fa8f3a482e0a8e9726f92cc39a670e91
2019-08-01 06:46:47 +00:00
Matt Carter 264f21976f 030-armada-boostrap.sh: make --target-manifest env var driven
Currently the manifest targeted by armada in the
030-armada-bootstrap.sh script is hard-coded to "ucp-bootstrap". This
patch set updates the 030 script to make drive the target manifest
off of a new environment variable "TARGET_MANIFEST". By default
"ucp-bootstrap" is still used, and existing functionality should not
be altered.
The motivation behind this, is it allows us to use the armada
bootstrap script to do more than just bootstrap the ucp components,
which may prove useful in zuul gate jobs that use treasuremap.

Change-Id: If3cf11f0d5701e273f5e626bff673a2b164284e3
2019-05-23 14:47:49 -05:00
Evgeny L 5343f76bc1 Use the Airship CLI for lint and Airskiff gates
Using Airship CLI script allows us to use pegleg
image configured in versions.yaml, which will be
updated during regular uplift procedure.

Change-Id: I68a6e5477fc72fb52dfc893b6eef69dd64320ded
2019-04-26 21:34:47 +00:00
Drew Walters 4e6a60ce1a airskiff: Use global Airship charts
Currently, Airskiff deploys a custom manifest defined in
tools/deployment/airskiff/manifests/airship.yaml to boostrap Airship
components. This exempts Airskiff from the daily version uplift process
and causes a divergence from the global UCP charts. This commit updates
the Airskiff bootstrap process to use the existing UCP charts at the
global layer.

Change-Id: I68dc405fda3cb1dbf5865104b657bdd75812e9bc
2019-04-26 15:33:44 +00:00
Steve Wilkerson 21adfe01c2 Airskiff: Unpin Armada
This unpins Armada to references that are compatible with helm
version 2.11.0.  This is no longer required, as the helm version
used in openstack-helm-infra has been updated to 2.12.1, which
addresses the issue requiring armada needing to be pinned in the
airskiff jobs.

Change-Id: Ibef17b8b0e225b1ec04b6aaebd6f1953dd47b31c
See: https://review.openstack.org/#/c/632794/
2019-02-08 23:45:56 +00:00
Drew Walters 6e7dc091a1 airskiff: Pin Armada to K8s v2.11.0
Currently, OpenStack-Helm-Infra uses version 2.11.0 of Kubernetes.
Because Airskiff uses OpenStack-Helm-Infra for deployment of K8s, newer
versions of Armada cause the Airskiff gate to fail, as Armada now uses
Tiller v2.12.1. This commit pins Armada to the latest version that
utilized Tiller v2.11.0. This pin should be removed as soon as
OpenStack-Helm-Infra moves to v2.12.1.

Change-Id: Iaa3a776ffda9678b7736c1b1aac72a1adbedf29b
2018-11-21 21:49:40 -06:00
Matt McEuen 1eaac93df2 Change airskiff manifest to deploy local airship
The airskiff 005-make-airship.sh deployment script clones
the armada, shipyard, deckhand, and OSH projects locally with
the intention of deploying them.  However, the Armada static
chart documents (airship.yaml) were configured to pull them
from git during a deployment.

This change modifies the Armada charts to use the local clones.
This is helpful in situations where a developer is making local
changes to one of the Airship projects -- they can just rerun
the 030-armada-bootstrap.sh script to deploy their local changes
to the running cluster. Same goes for testing changes OSH charts
like barbican, mariadb etc that run in the undercloud deployed
by airskiff.

Change-Id: Ice6a64922d13c8aca277b48d2d5266ab1d06c0f3
2018-11-26 16:56:36 -06:00
Drew Walters ba0d16dc52 site: Add Airskiff site
This change introduces Airskiff (see [0]), a development/learning environment
for the software delivery components of Airship, to the Airship-Treasuremap
repository. This change also adds a set of scripts accompanied by documentation
for easy deployment. During deployment, Armada, Deckhand, Pegleg, and Shipyard
are downloaded and built from source. Gate scripts from the OpenStack-Helm
project deploy a KubeADM-adminstered cluster. Armada deploys Armada, Deckhand,
and Shipyard into the cluster. The Airship components deploy OpenStack using
the documents provided by the Airskiff site. Airskiff is not safe for
production and should not be duplicated for production usage.

[0] https://github.com/mattmceuen/airskiff

Depends-On: https://review.openstack.org/#/c/613686/
Depends-On: https://review.openstack.org/#/c/614032/
Change-Id: Iae1efcca0812b98a9ad05aa8b869bdccfdb7e44b
2018-11-10 22:01:35 +00:00