Commit Graph

31 Commits

Author SHA1 Message Date
Matt McEuen 425e7adcda Add deployment gate
This adds airshipctl as a testing, and calls its deployment
scripts to launch a VM-based test.  This will be used to validate
treasuremap deployment manifests.

Change-Id: If4fa60f896211d2f6b63271b58b96541c399694c
2020-08-06 08:16:57 -05:00
Matt McEuen e1cd035938 Add skeleton of airship-core type
This adds a basic airship-core type and test-site definition, which initially
will point back to airshipctl for everything but site-specific configuration.

Gating is added under a dependent changeset:
https://review.opendev.org/#/c/741648

This removes the yaml-lint job / make target, since that chokes on CRs whose
definitions are not present.  YAML validation will be re-enabled by borrowing
the YAML validation from the airshipctl project, which leverages kustomize
and a live kubernetes API server.

Change-Id: I51c469f74be1270325f523343c02d36c2512e739
2020-07-29 11:59:04 -05:00
Dmitry Ukov 87d99ca508 Add YAML linting
Change-Id: If210e3d102b085505a550f514141a8fc9f0f809b
2019-10-31 13:46:13 +00:00
Dmitry Ukov d247bb6057 Clean up v1 structure
Change-Id: I12feb1db2ef4ffe58be00f0c290b37e7f184efd6
2019-10-02 09:57:45 +00:00
James Gu f3a4cebcb4 Add airskiff_suse site
Added airskiff_suse site that deploys the ucp and openstack containers on openSUSE
images. Also renamed the previous airskiff site repo to airskiff-ubuntu. Added new
gates for airskiff-suse lint and deployment.

Change-Id: I5672e8db556ef02c3d74a598d2772fbebccf6f77
2019-09-10 17:00:27 +00:00
Michael Beaver 22408cbeb5 Add new seaworthy-virt site
This site is created in order to utilize the multinode development
environment alongside the global and type manifests in Treasure map.

To accomplish this, the new seaworthy-virt site is a copy of the
airship-seaworthy site but with as many overrides and removed
pieces as necessary.

Change-Id: I6d19e1cf019c5d03f42343ab3c72971172879e4d
2019-07-30 17:16:14 +00:00
Drew Walters 598929e476 CI: Use Ubuntu Bionic for nodeset
Currently, treasuremap CI uses Ubuntu-Xenial. This change moves to
Ubuntu-Bionic in order to use the version of Docker requested by the
OpenStack-Helm minikube script.

Change-Id: Iba9bfda21c5a9995c775ff9bdc6bc9e0e2260d1b
2019-07-18 12:52:20 +00:00
Evgeny L 82467b9453 [aiab] Add a site linting gate to Zuul
Lint site manifests for Airship in a Bottle when publishing
and merging patches.

The patch adds a pre-run step that generates a new set of
certificates that is required for the validation.

Change-Id: Iebd23dacb424953b95527dd90938f6b6aba93c21
2019-06-17 23:49:16 +00:00
Evgeny L 37bfaa6dfe Remove pegleg clone from Zuul lint jobs
Linting scripts do not require a copy of pegleg
repository because they use airship command.

Change-Id: Idcb32eed6b338d63e7f76a33a7320e4be34e9f76
2019-06-13 17:47:30 +00:00
Kaspars Skels 3bc31be4b2 Move airship-seaworthy to seaworthy
Change-Id: Ide71456d1484b43ea434a23da858418adf51f23b
2019-06-10 17:41:33 -05:00
Kaspars Skels 94c0211e66 Update user and secret name for git mirror job
Change-Id: I5fddbe2a2684167b296debf8ed261b2aa9380193
2019-05-22 11:36:03 -05:00
Drew Walters 59a1fd8a1c airskiff: Use Ubuntu images
Since support for additional operating systems has been added to some
components, the image tag "latest" is no longer used by their Makefiles.
This commit changes the tags for the aforementioned components to use
the new default tag and updates the job name to reflect the use of
Ubuntu images.

Change-Id: Ia1adf156c4b3798b2400f9c821ac2ba685557591
2019-05-21 21:27:40 +00:00
Kaspars Skels 137b927fad Add Zuul job for mirroring to GitHub
Change-Id: Ieb617133433f513ef711366eb3ead81a56194841
2019-05-17 17:44:14 -05:00
Andreas Jaeger e1328ed98b Fix rtd publishing
The trigger URL is [0].

The tooling sets rtd_project_name to "airmada" but the project is
named "airship-xxxx" in RTD. Introduce rtd_project_name and set it to
correct value.

See also [1].

[0] https://readthedocs.org/api/v2/webhook/{{ rtd_project_name }}/{{ rtd_webhook_id }}
[1] https://zuul-ci.org/docs/zuul-jobs/general-roles.html#rolevar-trigger-readthedocs.rtd_project_name

Change-Id: Icc3377f5898a2b9905434a851e98bb84c74a8bfa
2019-05-17 16:04:43 +02:00
Drew Walters 9de5b62ce4 airskiff: Remove CI OSH-infra relative path
Since [0] updated the Airskiff CI jobs to clone dependent projects, the
relative OSH-infra path for the airskiff job no longer exists. This
change removes it so that the CI can use the cloned path as specified in
the airskiff deployment scripts.

[0] https://review.opendev.org/651628

Change-Id: Idc6970c3048f0e2bcf2fabcf79693973bde3f389
2019-04-26 10:38:50 +00:00
Jeffrey Williams 453f3dbe65 Updated OSH-Infra SHA for airskiff
Use the 005-clone-dependencies.sh in the airskiff deploy gate.

Change-Id: If418191d2af02b334f83f41e3b66a183ec32cacb
2019-04-25 23:26:55 +00:00
Zuul 71780888b0 Merge "airskiff: Make airskiff gate non-voting" 2019-04-24 16:23:11 +00:00
Kaspars Skels dca6a10bb3 Update Zuul refs for airship-treasuremap to treasuremap
Change-Id: I9d07ee14d645c2983c5736eb0f10740a93a7183f
2019-04-22 20:09:15 +00:00
Drew Walters 2ed2a37124 CI: Update repository references
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 commit makes
preliminary updates to gate and developer scripts to account for the
migration and fix broken integration gates.

[0] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005011.html

Change-Id: I88c4d96a756c59dd68ce8c3b801eba9ca8a6f8db
2019-04-21 11:24:23 -05:00
OpenDev Sysadmins 86e644a2fc OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:52:19 +00:00
Drew Walters 465662023a airskiff: Make airskiff gate non-voting
The Airskiff gate sometimes fails on irrelevant changes due to breaking
changes in other Airship projects. This stops safe changes from being
merged into treasuremap for extended periods of time. Several non-voting
checks have been proposed to other Airship components. Once they are
gating jobs, voting can be restored to the Airskiff job in treasuremap.

Change-Id: I79cbee671ee14e6712b5a2fefd236125a7e8107c
2019-04-18 14:43:35 +00:00
Drew Walters c3081eaec5 CI: Add airsloop site linting gate
This commit adds a site linting gate for the new airsloop site.
Additionally, this change aims to standardize the names of all gates and
creates a parent job for site linting gates.

Change-Id: Ia8fa428909adf09c584540cfe4e5803bd3ca2420
2019-04-17 16:19:31 +00:00
Drew Walters 8b83f50003 airskiff: Update OSH-infra pin
The version of Armada deployed by Airskiff was recently uplifted. The
gate erroneously uses the latest version of OSH-infra, so there was no
impact; however, users of the 005-make-airship script experience a
Tiller version mismatch due to an older version of K8s. This change
uplifts the OSH-infra pin to prevent errors.

Change-Id: If8f2c27396ce6c8548598492dfaf5e15174131a2
2019-02-13 14:25:27 -06: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
Drew Walters 826e6b7223 airship: Pin to known OSH-INFRA version
Currently, the latest version of OpenStack-Helm-Infra is used to
bootstrap a Kubernetes cluster and all required charts for the Armada
bootstrap process. Any breaking change in OSH-Infra can cause
inadvertent gate failures in the Airskiff gate even if the integration
itself is not broken. This commit pins all references during the
Airskiff setup process to known commit
f915a85f2ba8ad2f59044c5b8ad733d013a12e25 to prevent inadvertent gate
failures. The latest integration of OSH-infra and Airship remains tested
through regular uplift patches submitted by "Jenkins Uplifter
<jenkins.uplifter@gmail.com>.

Change-Id: If457d4f68b51aa0517c27997350f9986509df17f
2018-11-21 10:32:11 -06:00
Drew Walters c1a8aa7b38 zuul: Add Airskiff Zuul Gate
This change introduces a Zuul gate that deploys a limited number of
components from the Airskiff site (i.e. memcached) using the Airskiff
site documents.  The purpose of the job is to gate all patches against
an integration of several Airship components (i.e. Armada, Deckhand,
Pegleg, and Shipyard), and exercise their capabilities by deploying
software. This change also creates a framework to allow for future,
robust gates that include other projects (e.g. OpenStack-Helm).

Story: 2004351

Change-Id: I953e0c809d7fe112fd84458a4c6eec6ecadaf010
2018-12-04 21:49:22 +00:00
Drew Walters d0742e34d6 zuul: Update Zuul nodeset name
This commit seeks to standardize the Zuul nodeset name to match other
projects and the existing `ubuntu-xenial` label.

Change-Id: I199e47da2a3738388aea612e43c0f55ed8bf2366
2018-12-04 21:49:22 +00:00
Drew Walters ad01c813a0 zuul: Add site linting gates
With the integration of the airskiff site in Treasuremap, there is a
need for Zuul site linting gates to ensure that all sites are still
syntactically valid when changes are made to global documents. This
change introduces linting gates for both treasuremap sites, airskiff and
airship-seaworthy.

Story: 2004349
Change-Id: I69dc68bf49b02543f8a2def5841dae7cb5824bd6
2018-11-21 12:48:18 -06:00
Roman Gorshunov 6ca369f277 Set up publishing of docs
Set up publishing of docs to the readthedocs.

Change-Id: Id9ac3fecb30b28932471e7fedf1d520faefdc703
2018-09-28 18:49:54 +02:00
Felipe Monteiro 5cf799e5c7 Bootstrap CI by adding noop-jobs to .zuul.yaml
This patch set bootstraps Treasuremap w/ noop-jobs so that we can
start merging cookie-cutter code for the project. In the future,
we can revisit this and replace noop-jobs with other templates
once the project is ready for CI gating.

Change-Id: Ie582122ad6a74e6d200dc18569eeb53f7e9da1a9
2018-08-16 11:58:07 -04:00