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:
parent
4da8a54887
commit
a6856adca6
@ -0,0 +1,5 @@
|
|||||||
|
$patch: delete
|
||||||
|
apiVersion: airshipit.org/v1alpha1
|
||||||
|
kind: PhasePlan
|
||||||
|
metadata:
|
||||||
|
name: iso
|
@ -1,7 +1,9 @@
|
|||||||
resources:
|
resources:
|
||||||
- ../../../phases
|
- ../../../phases
|
||||||
- ../../../function/airshipctl-base-catalogues
|
- ../../../function/airshipctl-base-catalogues
|
||||||
- plan.yaml
|
patchesStrategicMerge:
|
||||||
|
- plan_patch.yaml
|
||||||
|
- delete_iso_plan_patch.yaml
|
||||||
patchesJson6902:
|
patchesJson6902:
|
||||||
- target:
|
- target:
|
||||||
group: airshipit.org
|
group: airshipit.org
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apiVersion: airshipit.org/v1alpha1
|
apiVersion: airshipit.org/v1alpha1
|
||||||
kind: PhasePlan
|
kind: PhasePlan
|
||||||
metadata:
|
metadata:
|
||||||
name: phasePlan
|
name: deploy-gating
|
||||||
phases:
|
phases:
|
||||||
- name: clusterctl-init-ephemeral
|
- name: clusterctl-init-ephemeral
|
||||||
- name: controlplane-ephemeral
|
- name: controlplane-ephemeral
|
||||||
@ -9,3 +9,10 @@ phases:
|
|||||||
- name: clusterctl-init-target
|
- name: clusterctl-init-target
|
||||||
- name: clusterctl-move
|
- name: clusterctl-move
|
||||||
- name: workers-target
|
- name: workers-target
|
||||||
|
validation:
|
||||||
|
kindsToSkip:
|
||||||
|
- Clusterctl
|
||||||
|
- VariableCatalogue
|
||||||
|
crdList:
|
||||||
|
- airshipctl/manifests/function/airshipctl-schemas
|
||||||
|
- airshipctl/manifests/function/cert-manager/v1.1.0/upstream
|
@ -66,7 +66,7 @@ for site_root in ${SITE_ROOTS}; do
|
|||||||
for site in $(ls ${MANIFEST_ROOT}/${site_root}); do
|
for site in $(ls ${MANIFEST_ROOT}/${site_root}); do
|
||||||
# TODO (raliev) remove this condition later
|
# TODO (raliev) remove this condition later
|
||||||
# Temporary solution to disable validation for outdated sites, this list will be removed eventually
|
# 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
|
if [[ " ${sites_to_skip[@]} " =~ " ${site} " ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user