Skip to content

Commit

Permalink
Use release markers in e2e config to fetch lastest releases
Browse files Browse the repository at this point in the history
Signed-off-by: Gong Zhang <gongz@vmware.com>
  • Loading branch information
zhanggbj committed Apr 12, 2024
1 parent 2316d76 commit 4fc9563
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions test/e2e/config/vsphere.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ providers:
- name: cluster-api
type: CoreProvider
versions:
- name: v1.7.0
- name: v1.7.0 # latest published release in the v1beta1 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.7.0-rc.0/core-components.yaml"
type: "url"
Expand All @@ -44,19 +44,19 @@ providers:
replacements:
- old: "imagePullPolicy: Always"
new: "imagePullPolicy: IfNotPresent"
- name: v1.6.1
- name: "{go://sigs.k8s.io/cluster-api@v1.6}" # supported release in the v1beta1 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.6.1/core-components.yaml"
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/{go://sigs.k8s.io/cluster-api@v1.6}/core-components.yaml"
type: "url"
contract: v1beta1
files:
- sourcePath: "../data/shared/capi/v1.6/metadata.yaml"
replacements:
- old: "imagePullPolicy: Always"
new: "imagePullPolicy: IfNotPresent"
- name: v1.5.4
- name: "{go://sigs.k8s.io/cluster-api@v1.5}" # supported release in the v1beta1 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.4/core-components.yaml"
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/{go://sigs.k8s.io/cluster-api@v1.5}/core-components.yaml"
type: "url"
contract: v1beta1
files:
Expand All @@ -68,29 +68,29 @@ providers:
- name: kubeadm
type: BootstrapProvider
versions:
- name: v1.7.0
- name: "{go://sigs.k8s.io/cluster-api@latest-v1.7}" # latest published release in the v1beta1 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.7.0-rc.0/bootstrap-components.yaml"
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/{go://sigs.k8s.io/cluster-api@latest-v1.7}/bootstrap-components.yaml"
type: "url"
contract: v1beta1
files:
- sourcePath: "../data/shared/capi/v1.7/metadata.yaml"
replacements:
- old: "imagePullPolicy: Always"
new: "imagePullPolicy: IfNotPresent"
- name: v1.6.1
- name: "{go://sigs.k8s.io/cluster-api@v1.6}" # supported release in the v1beta1 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.6.1/bootstrap-components.yaml"
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/{go://sigs.k8s.io/cluster-api@v1.6}/bootstrap-components.yaml"
type: "url"
contract: v1beta1
files:
- sourcePath: "../data/shared/capi/v1.6/metadata.yaml"
replacements:
- old: "imagePullPolicy: Always"
new: "imagePullPolicy: IfNotPresent"
- name: v1.5.4
- name: "{go://sigs.k8s.io/cluster-api@v1.5}" # supported release in the v1beta1 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.4/bootstrap-components.yaml"
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/{go://sigs.k8s.io/cluster-api@v1.5}/bootstrap-components.yaml"
type: "url"
contract: v1beta1
files:
Expand All @@ -102,29 +102,29 @@ providers:
- name: kubeadm
type: ControlPlaneProvider
versions:
- name: v1.7.0
- name: "{go://sigs.k8s.io/cluster-api@latest-v1.7}" # latest published release in the v1beta1 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.7.0-rc.0/control-plane-components.yaml"
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/{go://sigs.k8s.io/cluster-api@latest-v1.7}/control-plane-components.yaml"
type: "url"
contract: v1beta1
files:
- sourcePath: "../data/shared/capi/v1.7/metadata.yaml"
replacements:
- old: "imagePullPolicy: Always"
new: "imagePullPolicy: IfNotPresent"
- name: v1.6.1
- name: "{go://sigs.k8s.io/cluster-api@v1.6}" # supported release in the v1beta1 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.6.1/control-plane-components.yaml"
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/{go://sigs.k8s.io/cluster-api@v1.6}/control-plane-components.yaml"
type: "url"
contract: v1beta1
files:
- sourcePath: "../data/shared/capi/v1.6/metadata.yaml"
replacements:
- old: "imagePullPolicy: Always"
new: "imagePullPolicy: IfNotPresent"
- name: v1.5.4
- name: "{go://sigs.k8s.io/cluster-api@v1.5}" # supported release in the v1beta1 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.4/control-plane-components.yaml"
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/{go://sigs.k8s.io/cluster-api@v1.5}/control-plane-components.yaml"
type: "url"
contract: v1beta1
files:
Expand All @@ -136,9 +136,9 @@ providers:
- name: in-cluster
type: IPAMProvider
versions:
- name: v0.1.0
- name: "{go://sigs.k8s.io/cluster-api-ipam-provider-in-cluster@v0.1}" # supported release in the v1alpha2 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api-ipam-provider-in-cluster/releases/download/v0.1.0/ipam-components.yaml"
value: "https://github.com/kubernetes-sigs/cluster-api-ipam-provider-in-cluster/releases/download/{go://sigs.k8s.io/cluster-api-ipam-provider-in-cluster@v0.1}/ipam-components.yaml"
type: "url"
contract: v1beta1
files:
Expand All @@ -150,7 +150,7 @@ providers:
- name: vsphere
type: InfrastructureProvider
versions:
- name: v1.10.99
- name: v1.10.99 # next release
# Use manifest from source files
value: ../../../../cluster-api-provider-vsphere/config/default
contract: v1beta1
Expand All @@ -176,19 +176,19 @@ providers:
- sourcePath: "../../../test/e2e/data/infrastructure-vsphere-supervisor/main/cluster-template-supervisor.yaml"
- sourcePath: "../../../test/e2e/data/infrastructure-vsphere-supervisor/main/clusterclass-quick-start-supervisor.yaml"
- sourcePath: "../data/shared/capv/main/metadata.yaml"
- name: v1.9.0
- name: "{go://sigs.k8s.io/cluster-api-provider-vsphere@v1.9}" # supported release in the v1beta1 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/v1.9.0/infrastructure-components.yaml"
value: "https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/{go://sigs.k8s.io/cluster-api-provider-vsphere@v1.9}/infrastructure-components.yaml"
type: "url"
contract: v1beta1
files:
# Add a cluster template
- sourcePath: "../../../test/e2e/data/infrastructure-vsphere-govmomi/v1.9/cluster-template-workload.yaml"
- sourcePath: "../../../test/e2e/data/infrastructure-vsphere-govmomi/v1.9/clusterclass-quick-start.yaml"
- sourcePath: "../data/shared/capv/v1.9/metadata.yaml"
- name: v1.8.4
- name: "{go://sigs.k8s.io/cluster-api-provider-vsphere@v1.8}" # supported release in the v1beta1 series
# Use manifest from source files
value: "https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/v1.8.4/infrastructure-components.yaml"
value: "https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/{go://sigs.k8s.io/cluster-api-provider-vsphere@v1.8}/infrastructure-components.yaml"
type: "url"
contract: v1beta1
files:
Expand Down

0 comments on commit 4fc9563

Please sign in to comment.