Skip to content

Commit

Permalink
test commit to verify custom upgrade to prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
mboukhalfa committed Oct 6, 2022
1 parent d732405 commit da12861
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e/clusterctl_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ var _ = Describe("When testing clusterctl upgrades (v0.4=>current)", func() {
SkipCleanup: skipCleanup,
InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.8/clusterctl-{OS}-{ARCH}",
InitWithProvidersContract: "v1alpha4",
CoreProvider: "capi-system/cluster-api:v1.2.2",
BootstrapProviders: []string{"capi-kubeadm-bootstrap-system/kubeadm:v1.2.2"},
ControlPlaneProviders: []string{"capi-kubeadm-control-plane-system/kubeadm:v1.2.2"},
InfrastructureProviders: []string{"capd-system/docker:v1.2.0-rc.0"},
InitWithKubernetesVersion: "v1.25.0",
}
})
Expand Down
12 changes: 12 additions & 0 deletions test/e2e/config/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,18 @@ providers:
files:
- sourcePath: "../data/shared/v1alpha4/metadata.yaml"
- sourcePath: "../data/infrastructure-docker/v1alpha4/cluster-template.yaml"
- name: v1.2.0-rc.0 # prerelease in the v1beta1 series; this is used for v1alpha4 --> prerelease clusterctl upgrades test only.
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.0-rc.0/infrastructure-components-development.yaml"
type: "url"
contract: v1beta1
replacements:
- old: --metrics-addr=127.0.0.1:8080
new: --metrics-addr=:8080
files:
- sourcePath: "../data/shared/v1beta1/v1.2/metadata.yaml"
- sourcePath: "../data/infrastructure-docker/v1beta1/v1.2/cluster-template.yaml"
- sourcePath: "../data/infrastructure-docker/v1beta1/v1.2/cluster-template-topology.yaml"
- sourcePath: "../data/infrastructure-docker/v1beta1/v1.2/clusterclass-quick-start.yaml"
- name: v1.2.2 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.2/infrastructure-components-development.yaml"
type: "url"
Expand Down

0 comments on commit da12861

Please sign in to comment.