* Align treasuremap virtual-airship-core site to recent changes of
airshipctl
* This PS takes care of only the "airship-core" type and all other
sites will fail validate docs untill the secrets are aligned.
* So the validate_docs is invoked with parameter "virtual-airship-core"
to run document validation just for virtual-airship-core
reference airshipctl commit: e2c56108eef38dd83df52fcfd1fa6844e5376a56
Change-Id: I2e6149951beca570a3cadeecbc05366325c80286
Currently validation doc gate is doing nothing and it skips
all sites present in treasuremap. This PS fixes validation doc
gate.
Closes #198
Change-Id: I48b35248636a22a8971757687a6325a365db96ad
Uplift airshipctl to version with new phases.
Add phases from zuul job in deploy-airship-core-gating.
Relates-To: #166
Change-Id: I98b605d16940fab2a728e4646e52c7d1ad992c2d
This change restructures the deployment script directory to support
type-specific deployment scripts. As sub-clusters are added, those
scripts will only be relevant to the multi-tenant type. The distinction
between which scripts should be used for each type will prevent
unexpected deployment errors.
Co-authored-by: Drew Walters <andrew.walters@att.com>
Change-Id: Ic14d4536bc9e593ab81c94b5c1dcec063a93ed18
Now that the site deployment jobs are green and reliable, make them
voting so that breaking changes are not introduced.
Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: I69cede69807f3d018f87cd3a52d7ef03291232af
1. Reflecting changes done in [1] to treasuremap.
2. Changing airshipctl ref to [1]
3. Making static validation work, since it was merged before [1]
4. Adding dex.ldap.bind_password to imported secrets
5. Adding dex.oidc.clientSecret to generated secrets
6. Due to the added new site - increasing the validation timeout
7. Adding replacement for [2]
[1]
https://review.opendev.org/c/airship/airshipctl/+/786286
[2]
https://review.opendev.org/c/airship/treasuremap/+/788991
Relates-To: #128
Change-Id: I473ace3d7aae85ebe76b73253108c6f1b6ca6e95
This commit removes the relationship between the multi-tenant and
airship-core types. Since the airship-core type deploys LMA, adding an
LMA sub-cluster to the multi-tenant type would result in deployment of
the LMA stack twice if the inheritance is not removed.
Closes: #116
Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: Ie7dd236af3836d904e41df866e0c2351b7cb0558
Additional sites in Treasuremap mean that the runtime of this job is
longer. This change updates the timeout to accommodate additional sites.
Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: I05a8ca5200cc5e987f0c15884434f5c5d01dfcd8
* HWCC was removed in this PS
https://review.opendev.org/c/airship/treasuremap/+/787003
* Currently Zuul gate is passing all the stages except the last
verify hwcc step.
* Zuul gate for treasuremap deploy test site should be green with this PS
Change-Id: I753a59d58c5ed605d418a1c695a5cd960e5135fa
* BOT will be configured to listen for treasuremap repo changes and
add/update comments and issues status ( close ) as applicable.
Change-Id: I2e2070461e60fc75dd2066432c4f5cd48023c5e3
The Treasuremap deployment jobs sometimes timeout prior to the desired,
script-defined timeout of the worker node deployment script. This change
increases the timeout of the deployment jobs to account for the
difference in time that the deployment script specifies.
This will make the jobs more reliable; however, there is still another
deployment error that occurs that will prevent us from making the jobs
voting in the meantime.
Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: I7b1bae7bb4445516ebef11cd7a92730e95512462
Currently, the document validation job uses the master branch of
airshipctl rather than the reference used by the deployment jobs. This
change updates the job to use the same reference for consistent
validation results.
Closes #110
Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: I243ce1cf0bea7ed9d8014005da6055725f91810d
The Treasuremap deployment jobs currently run on 16GB nodes and cannot
support the workloads we are deploying in Treasuremap. Often times, this
results in timeouts and frequent rechecks. This change ups the capacity
for our jobs to match airshipctl's gating job, using the 32 GB node
label.
Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: I5126a41acbe670651eed99e8be3fe0e69d3bd8fc
* Treasuremap is dependant on airshipctl repo. So pinning the last
good tested version of airshipctl in treasuremap
Change-Id: I6923da9871b946134fbdc285c38bcb8f967aa804
Relates-To: #100
This trues up treasuremap to the airshipctl change below, which changes
configuration (and naming conventions) to match the new image-builder
that can be used for both iso and qcow generation.
https://review.opendev.org/c/airship/airshipctl/+/758782
Change-Id: I821fda77da899af667a22033281f44dd2dd82a31
Closes: 72
This change adds a job to deploy the virtual-network-cloud test site by
extending the test-site job.
Depends-On: https://review.opendev.org/748517
Change-Id: Ia4b8da334979fa1de70d3619b3e6ed85b8e591dc
Signed-off-by: Drew Walters <andrew.walters@att.com>
This change introduces airshipctl's document pull functionality to the
Treasuremap gate runner job. This enables Treasuremap maintainers to pin
to a version of airshipctl deployment scripts and manifests that are
known to be compatible with Treasuremap's v2 branch.
In order to ensure that the deployment scripts and manifests come from
the same version of airshipctl, this change introduces a playbook that
checks out the referenced version of airhsipctl after it is cloned by
Zuul. It also checks out the known version a second time in the
deployment scripts for operators invoking the scripts in a non-Zuul
environment.
To update the pinned version of Treasuremap using Zuul, change the Zuul
variable airshipctl_ref. To update the pinned version in a non-Zuul
environment, use the environment variable AIRSHIPCTL_REF.
Change-Id: I300f545efcdd024b689a96ee99e502de7fdd1b83
Signed-off-by: Drew Walters <andrew.walters@att.com>
This change disables worker node deployment in the
continuous-integration job. Worker node deployment is not essential to
Treasuremap CI, and it is blocking workload tests. We can address this
later.
Change-Id: Iaaaabcc0ea113f8104db9370ae820389bf96c284
Signed-off-by: Drew Walters <andrew.walters@att.com>
New deployment scripts have been added to airshipctl but are missing
from Treasuremap. This change updates the series of deployment scripts
to include those recently added to airshipctl.
Change-Id: Ieb827d079709a3962b35b43b1d5534ba9de20ad5
The timeout value for the deployment job in Treasuremap is half the
value of the timeout in airshipctl, yet, the Treasuremap job should take
longer due to the workload it deploys. This change updates it to match
airshipctl.
Change-Id: Ib1e069bc5324e88679b92bba98f4a96d40831ba4
Signed-off-by: Drew Walters <andrew.walters@att.com>
This change adds a script to the deployment job in order to test
deployment of the workload phase.
Change-Id: I9e17290d53017483ddbe5fdab70af584a2822aed
Signed-off-by: Drew Walters <andrew.walters@att.com>
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