11---
22# E2E test scenario using local dev images and manifests built from the source tree for following providers:
33# - cluster-api
4- # - bootstrap kubeadm
5- # - control-plane kubeadm
6- # - aws
4+ # - infrastructure aws
75
86# To run tests, run the following from the root of this repository.
97# `AWS_REGION=eu-west-1 make e2e GINKGO_ARGS=-stream E2E_ARGS=-skip-cloudformation-deletion`
8+ # The -stream flag will make Ginkgo print results to the screen in real-time.
109# -skip-cloudformation-deletion reduces the time taken to set up AWS CloudFormation prior to cluster start.
1110
1211# AWS credentials must be present for running tests
@@ -42,7 +41,7 @@ providers:
4241 type : " url"
4342 contract : v1beta1
4443 files :
45- - sourcePath : " ./shared/v1beta1 /metadata.yaml"
44+ - sourcePath : " ./shared/capi/v1.2 /metadata.yaml"
4645 replacements :
4746 - old : " imagePullPolicy: Always"
4847 new : " imagePullPolicy: IfNotPresent"
@@ -53,7 +52,7 @@ providers:
5352 type : " url"
5453 contract : v1beta2
5554 files :
56- - sourcePath : " ./shared/v1beta1 /metadata.yaml"
55+ - sourcePath : " ./shared/capi/v1.11 /metadata.yaml"
5756 replacements :
5857 - old : " imagePullPolicy: Always"
5958 new : " imagePullPolicy: IfNotPresent"
@@ -62,14 +61,14 @@ providers:
6261 - name : kubeadm
6362 type : BootstrapProvider
6463 files :
65- - sourcePath : " ./shared/v1beta1 /metadata.yaml"
64+ - sourcePath : " ./shared/capi/v1.2 /metadata.yaml"
6665 versions :
6766 - name : v1.2.0 # earliest published release in the v1beta1 series; this is used for v1beta1 old --> v1beta1 latest clusterctl upgrades test only.
6867 value : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.0/bootstrap-components.yaml"
6968 type : " url"
7069 contract : v1beta1
7170 files :
72- - sourcePath : " ./shared/v1beta1 /metadata.yaml"
71+ - sourcePath : " ./shared/capi/v1.2 /metadata.yaml"
7372 replacements :
7473 - old : " imagePullPolicy: Always"
7574 new : " imagePullPolicy: IfNotPresent"
@@ -80,7 +79,7 @@ providers:
8079 type : " url"
8180 contract : v1beta2
8281 files :
83- - sourcePath : " ./shared/v1beta1 /metadata.yaml"
82+ - sourcePath : " ./shared/capi/v1.11 /metadata.yaml"
8483 replacements :
8584 - old : " imagePullPolicy: Always"
8685 new : " imagePullPolicy: IfNotPresent"
@@ -89,14 +88,14 @@ providers:
8988 - name : kubeadm
9089 type : ControlPlaneProvider
9190 files :
92- - sourcePath : " ./shared/v1beta1 /metadata.yaml"
91+ - sourcePath : " ./shared/capi/v1.2 /metadata.yaml"
9392 versions :
9493 - name : v1.2.0 # earliest published release in the v1beta1 series; this is used for v1beta1 old --> main clusterctl upgrades test only.
9594 value : " https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.0/control-plane-components.yaml"
9695 type : " url"
9796 contract : v1beta1
9897 files :
99- - sourcePath : " ./shared/v1beta1 /metadata.yaml"
98+ - sourcePath : " ./shared/capi/v1.2 /metadata.yaml"
10099 replacements :
101100 - old : " imagePullPolicy: Always"
102101 new : " imagePullPolicy: IfNotPresent"
@@ -107,7 +106,7 @@ providers:
107106 type : " url"
108107 contract : v1beta2
109108 files :
110- - sourcePath : " ./shared/v1beta1 /metadata.yaml"
109+ - sourcePath : " ./shared/capi/v1.11 /metadata.yaml"
111110 replacements :
112111 - old : " imagePullPolicy: Always"
113112 new : " imagePullPolicy: IfNotPresent"
@@ -136,7 +135,7 @@ providers:
136135 - name : v9.9.99
137136 # Use manifest from source files
138137 value : ../../../config/default
139- contract : v1beta2
138+ contract : v1beta1
140139 files :
141140 - sourcePath : " ./infrastructure-aws/withoutclusterclass/generated/cluster-template-efs-support.yaml"
142141 - sourcePath : " ./infrastructure-aws/withoutclusterclass/generated/cluster-template-external-csi.yaml"
0 commit comments