Commit Graph

70 Commits (master)

Author SHA1 Message Date
Zuul ebc1589537 Merge "Adding dead-link-linter gate" 2021-11-18 19:35:10 +00:00
Danny Massa f9ae26105b Adding dead-link-linter gate
Change-Id: I3b97e42abf5084a6dbd46616327e7bfe7b1a9791
2021-11-17 13:16:38 -06:00
James Gu be4d17a36e airship-core type and reference site manifest update for 2.1 release
Update the airshipctl version pin and fixes in the reference type and
site manifests to keep up to date with the airshipctl changes in version 2.1.

Change-Id: I19c1cf874f33eeccba5b0fbc74404dd5d462f55d
2021-11-11 22:07:55 +00:00
Siraj Yasin f819f6c510 update secrets for reference-airship-core
* This PS takes care of secret changes for reference-airship-core

Relates-To: #201
Change-Id: I1fca4323047bd844a1605490e42e3d9172cbac08
2021-10-05 15:27:27 +00:00
Siraj Yasin a06003c004 update secrets to align with airshipctl
* 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
2021-09-29 15:48:56 +00:00
Zuul a64524867e Merge "Fix validation doc gate" 2021-08-31 18:50:36 +00:00
Pallav Gupta fa3e113ced Fix validation doc gate
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
2021-08-30 15:04:35 +00:00
airship2ci 694fb2245a [auto-uplift]: Update airshipctl ref to latest
Change-Id: Id63fda5a49aa55d53ad743d52427686e0989b2f8
2021-08-09 19:31:11 +00:00
Sirajudeen 7e4710e9b3 update syntax for kustomize with recent uplift
* updated the syntax for enable plugins with recent uplift
  of kustomize version
* Had to uplift the airshipctl version as well

Change-Id: I0c637603013adc2594c39cbea7cc07f3937cf3ee
2021-08-02 21:23:45 +00:00
Sreejith Punnapuzha fd54957eab Rename virtual sites
This commit renames virtual-network-cloud to virtual-multi-tenant.

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I93008034f4f8bba8b2ab464d45854190b195b818
2021-07-28 11:31:32 -05:00
airship2ci c9f7286818 [auto-uplift]: Update airshipctl ref to latest
Change-Id: I3ba4b934c284b6b063cd7bfb1629c88121716a06
2021-07-27 17:14:04 +00:00
airship2ci 8b4ee407d8 [auto-uplift]: Update airshipctl ref to latest
Change-Id: I6b4c2939507c103a2328f304847ff0de9e5742b4
2021-07-19 14:19:03 +00:00
Zuul da6ea23ba3 Merge "Rename Virtual Sites in Treasuremap" 2021-07-14 17:47:26 +00:00
airship2ci 4b3565aca3 [auto-uplift]: Update airshipctl ref to latest
Change-Id: If230ec6732a8247f8ff533d73638c4a184efe5e8
2021-07-12 19:43:50 +00:00
Sirajudeen 0150d774d3 Rename Virtual Sites in Treasuremap
* Renamed test-site to virtual-airship-core

Relates-To: #154
Change-Id: I15905a5be8628b35f1cebcba95e3257f541d4e74
2021-07-12 19:01:49 +00:00
Zuul 0e15fe5aec Merge "[auto-uplift]: Update airshipctl ref to latest" 2021-07-12 17:20:35 +00:00
Drew Walters edd52c1620 Move virtual-network-cloud job to experimental
The virtual-network-cloud deployment job has been failing while not
performing any meaningful testing.  This change moves the job to
experimental until we can fix it so that it does not consume nodes from
the node pool.

Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: Ic69da703a2f72f56acfdb0d448a0d0659aa24e21
2021-07-09 18:56:06 +00:00
airship2ci 08db82e711 [auto-uplift]: Update airshipctl ref to latest
Change-Id: I7f18d1fa5a38d2e30eebd85ac87f4479fa1ecfa8
2021-07-08 17:25:09 +00:00
airship2ci cbe110e79b [auto-uplift]: Update airshipctl ref to latest
Change-Id: I4b3e7b0ede788e2fc906e389997fc476eb26ede6
2021-07-01 19:01:41 +00:00
Sirajudeen 0c63baf889 [Uplift] - Manual Uplift of airshipctl.
* Uplifting to a latest version of airshipctl.

Change-Id: I7732ad85793cb45f0d32d1376cfc0c5a34b509d4
2021-06-29 20:01:20 +00:00
Sirajudeen af84cc8c4e [uplift] - Uplift airshipctl to stable version
Airshipctl reference commits:

    => https://review.opendev.org/c/airship/airshipctl/+/792060
       Update metadata.yaml to kubernetes style

    => https://review.opendev.org/c/airship/airshipctl/+/793502
       Move CAPI resources to target-infra namespace

    => https://review.opendev.org/c/airship/airshipctl/+/789398
       Embed validation cfg into phase and plan definition

    => https://review.opendev.org/c/airship/airshipctl/+/794701
       Enable static validation for all available plans per site

    => https://review.opendev.org/c/airship/airshipctl/+/796574
       Decouple secret from other replacements in workers-capm3

    => https://review.opendev.org/c/airship/airshipctl/+/795167
       Added replacements for composite/infra

Change-Id: I2c107b3d2b94acda540b09792640dbafd55b23eb
2021-06-24 18:31:24 +00:00
Vladislav Kuzmin b6ce028dcc Add phase plan for airship-core gating
Uplift airshipctl to version with new phases.
Add phases from zuul job in deploy-airship-core-gating.

Relates-To: #166
Change-Id: I98b605d16940fab2a728e4646e52c7d1ad992c2d
2021-06-11 18:50:34 +04:00
Ian Howell ab02dee4e0 Add workload-config-target phase
Change-Id: I41f1e8e36321d2ac13a7947a635c41f81eded0b0
2021-06-09 08:27:51 -05:00
Ian Howell 12fc147cea Add type-specific deployment scripts
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
2021-06-03 18:23:33 +00:00
Sirajudeen 49f02e6be4 Align Treasuremap to recent changes of Airshipctl
* Changes from following PS are used to align treasuremap with airshipctl
   https://review.opendev.org/c/airship/airshipctl/+/790791
   https://review.opendev.org/c/airship/airshipctl/+/787290

Closes: #159

Change-Id: I43b633b06addaf65b6b5f945782df032cabf114c
2021-06-03 13:10:13 +00:00
Andrii Ostapenko 5259d2f660 Disable voting for virtual-network-cloud gate
With [0] merged, we actually started to use real virtual-network-cloud
manifests in virtual-network-cloud gate instead of default test-site.

[0] https://review.opendev.org/c/airship/airshipctl/+/792836

Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
Change-Id: Idb80769ce0a853662d1d2745452cb6409a71322f
2021-05-27 06:45:43 +00:00
siraj.yasin 0c092bbc6a Fix the regex with job trigger filter
Change-Id: I0489ea1485f95f46c6794578c8c47d41598ac3e7
2021-05-24 12:45:52 +00:00
Zuul db5442ce14 Merge "Update deployment job voting status" 2021-05-21 22:59:49 +00:00
Zuul e0d394588d Merge "Add filter rules to Job trigger" 2021-05-21 14:20:41 +00:00
Drew Walters 8ca990371d Update deployment job voting status
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
2021-05-21 13:56:39 +00:00
siraj.yasin 17a9ccfae7 Add filter rules to Job trigger
* Trigger deployment job only when relevant files are updated and
  ignore on any document updates

Change-Id: Icac40a35071950639ca04593662e9e6d460519a3
2021-05-20 20:57:28 +00:00
Alexey Odinokov 2946a13806 Adding a place for external secrets to be stored on site level
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
2021-05-20 05:34:19 +00:00
Drew Walters 1534abf6ad Remove multi-tenant type inheritance
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
2021-05-18 20:54:48 +00:00
Drew Walters e046a3d5f1 Update validate site docs job timeout
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
2021-05-11 20:46:55 +00:00
siraj.yasin 11bf0c983f Disable Verify HWCC gate script
* 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
2021-05-10 16:40:50 +00:00
siraj.yasin 25ad182f32 Disable update github issue job.
* BOT will be configured to listen for treasuremap repo changes and
  add/update comments and issues status ( close ) as applicable.

Change-Id: I2e2070461e60fc75dd2066432c4f5cd48023c5e3
2021-04-29 17:26:19 +00:00
Matthew Fuller 2af3485655 Fix versions-treasuremap base catalogue
Converts the base versions-treasuremap catalogue back to a
VersionsCatalogue CR and ensures it conforms to the defined
CRD schema. Updates the airshipctl reference to pull in schema
changes made in the airshipctl repo[0].

Also adds replacements for the following functions:
- dex-aio
- rook-operator

[0] https://review.opendev.org/c/airship/airshipctl/+/784620

Closes: #112
Change-Id: Ia755f07f6dc8a9344f0ed640a0f758af9d5368e8
2021-04-27 00:26:02 +00:00
Alexey Odinokov e3caf14b0d Switching to the approach with cleanup by selector
Changes to reflect [1] in treasuremap
Fixed issue in /tools/deployment/35_deploy_worker_node.sh
Aligned the tag of replacement pluging everywhere

[1]
https://review.opendev.org/c/airship/airshipctl/+/779829

Relates-To: #125
Change-Id: I24e3228e73714a14d42f28743b20f89d860f950e
2021-04-21 16:38:23 +00:00
Sreejith Punnapuzha 40f7f38f7e Fix deployment scripts
* fixes labeling issue with deployment scripts
 * allign scripts with airshipctl and treasuremap
 * update playbook and zuul job with script changes

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I43221565ab29fc78a60fbd4978c058eec5c88640
2021-04-16 15:48:37 -05:00
Battina, Sai (sb464f) eb76ab4afc Update replacements for hcc and airship-host-config
Change-Id: I61b02f416b7300ed1afcb2e021bc45bd1398a2d4
2021-04-16 08:25:50 -05:00
Matt McEuen 51e713f6f5 Update Airshipctl pin, kustomize install condition
Updates the airshipctl pin to include a fix which enables deployment
of sites other than test-site:
https://review.opendev.org/c/airship/airshipctl/+/784436

Change-Id: Ia4f8d9048dc0fd0e3b7eb1e3734f37350a3d7110
(cherry picked from commit a13eb1f12b)
2021-04-05 15:38:30 +00:00
Sean Eagan 7694862102 Trigger Github mirroring on tag push
Currently tags aren't mirrored until the next patchset is merged,
which delays the Github release workflow.

Change-Id: I173980a686baef862de73cdb338ed1e1df06246e
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
2021-04-01 13:50:41 -05:00
Matt McEuen af91caff6c Bump airshipctl pin
This bumps the airshipctl pin to the latest merged commit as of 4/1 a.m.,
which includes the kustomize install script[1]  needed by the corresponding
treasuremap change[2], as well as the helm-chart-collator fix here[3].

It also reverts the treasuremap versions catalogue to a VariableCatalogue
kind, since it doesn't currently adhere to the VersionsCatalogue schema.
That will need to be trued up post-2.0-release.

1: https://review.opendev.org/c/airship/airshipctl/+/783907
2: https://review.opendev.org/c/airship/treasuremap/+/783911
3: https://review.opendev.org/c/airship/airshipctl/+/784122

Change-Id: I40d81c6bbe20a9a24af26cbb50791d6afef50149
2021-04-01 08:15:58 -05:00
Zuul 3b97b8e849 Merge "Revert "Temporarily disable non-voting gates"" into v2 2021-03-31 08:21:42 +00:00
Matt McEuen 2748d21929 Revert "Temporarily disable non-voting gates"
This reverts commit 4389422ecb.

Reason for revert: We've merged the majority of patches

Change-Id: I9351fc4f4130585b373bb22e3589d35d30d5b64c
2021-03-31 02:43:19 +00:00
siraj.yasin 1a78b09e17 [Uplift] - update airshipctl version in treasuremap
* airshipctl uplift in treasuremap
* On a daily or weekly basis this pinned version of airshipctl
  need to be updated based on the treasuremap (test-site)
  deployment validation from third party gating.

Change-Id: Ie8a6bf4e3399fae8950c9989804d3cc8a47f3bc7
2021-03-30 21:26:18 +00:00
Matt McEuen 4389422ecb Temporarily disable non-voting gates
As we prepare for the v2.0 release, we're trying to merge a large number
of patches, which seems to be stressing out our infrastructure, resulting
in less merging instead of more.

This change changes the (non-voting) integration checks that are running
in citycloud nodepool to experimental checks, with the intent of
reverting this change in a day or two after the mergestorm subsides.

Change-Id: If2e95cb800b6aeac84fe1399687027b2143c5d07
2021-03-30 14:58:50 -05:00
Zuul 4295bc0678 Merge "Update deployment job timeout" into v2 2021-03-26 00:08:07 +00:00
Zuul 35e3df96df Merge "Update deployment job node" into v2 2021-03-26 00:08:04 +00:00
Drew Walters c471c6ca63 Update deployment job timeout
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
2021-03-19 13:32:23 +00:00