Update gcp-test-site for site validation

This PS updates the gcp-test-site to work with phasePlan
kubeval validation configuration.
Includes the gcp-test-site in the site validation.

Relates-To: #528
Change-Id: I0b0d8aafa39730d0cb21e3d0a837a4a4b5909645
This commit is contained in:
Ratnopam Chakrabarti 2021-05-04 21:42:09 +00:00
parent 4da8a54887
commit a6856adca6
4 changed files with 17 additions and 3 deletions

View File

@ -0,0 +1,5 @@
$patch: delete
apiVersion: airshipit.org/v1alpha1
kind: PhasePlan
metadata:
name: iso

View File

@ -1,7 +1,9 @@
resources:
- ../../../phases
- ../../../function/airshipctl-base-catalogues
- plan.yaml
patchesStrategicMerge:
- plan_patch.yaml
- delete_iso_plan_patch.yaml
patchesJson6902:
- target:
group: airshipit.org

View File

@ -1,7 +1,7 @@
apiVersion: airshipit.org/v1alpha1
kind: PhasePlan
metadata:
name: phasePlan
name: deploy-gating
phases:
- name: clusterctl-init-ephemeral
- name: controlplane-ephemeral
@ -9,3 +9,10 @@ phases:
- name: clusterctl-init-target
- name: clusterctl-move
- name: workers-target
validation:
kindsToSkip:
- Clusterctl
- VariableCatalogue
crdList:
- airshipctl/manifests/function/airshipctl-schemas
- airshipctl/manifests/function/cert-manager/v1.1.0/upstream

View File

@ -66,7 +66,7 @@ for site_root in ${SITE_ROOTS}; do
for site in $(ls ${MANIFEST_ROOT}/${site_root}); do
# TODO (raliev) remove this condition later
# Temporary solution to disable validation for outdated sites, this list will be removed eventually
sites_to_skip=(az-test-site docker-test-site gcp-test-site openstack-test-site)
sites_to_skip=(az-test-site docker-test-site openstack-test-site)
if [[ " ${sites_to_skip[@]} " =~ " ${site} " ]]; then
continue
fi