Skip to content

Commit

Permalink
Merge pull request #5982 from alexander-demichev/metadata
Browse files Browse the repository at this point in the history
🌱 Bump versions for v1.2
  • Loading branch information
k8s-ci-robot authored Feb 3, 2022
2 parents 5975895 + 4d7ec52 commit 57d76ff
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 17 deletions.
8 changes: 4 additions & 4 deletions cmd/clusterctl/hack/create-local-repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,24 +53,24 @@
providers = {
'cluster-api': {
'componentsFile': 'core-components.yaml',
'nextVersion': 'v1.1.99',
'nextVersion': 'v1.2.99',
'type': 'CoreProvider',
},
'bootstrap-kubeadm': {
'componentsFile': 'bootstrap-components.yaml',
'nextVersion': 'v1.1.99',
'nextVersion': 'v1.2.99',
'type': 'BootstrapProvider',
'configFolder': 'bootstrap/kubeadm/config/default',
},
'control-plane-kubeadm': {
'componentsFile': 'control-plane-components.yaml',
'nextVersion': 'v1.1.99',
'nextVersion': 'v1.2.99',
'type': 'ControlPlaneProvider',
'configFolder': 'controlplane/kubeadm/config/default',
},
'infrastructure-docker': {
'componentsFile': 'infrastructure-components.yaml',
'nextVersion': 'v1.1.99',
'nextVersion': 'v1.2.99',
'type': 'InfrastructureProvider',
'configFolder': 'test/infrastructure/docker/config/default',
},
Expand Down
2 changes: 1 addition & 1 deletion hack/tools/tilt-prepare/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ func getProviderObj(prefix string, objs []unstructured.Unstructured) (*unstructu
},
ProviderName: providerName,
Type: providerType,
Version: "v1.1.99",
Version: "v1.2.99",
}

providerObj := &unstructured.Unstructured{}
Expand Down
3 changes: 3 additions & 0 deletions metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
apiVersion: clusterctl.cluster.x-k8s.io/v1alpha3
kind: Metadata
releaseSeries:
- major: 1
minor: 2
contract: v1beta1
- major: 1
minor: 1
contract: v1beta1
Expand Down
24 changes: 12 additions & 12 deletions test/e2e/config/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ providers:
new: --metrics-addr=:8080
files:
- sourcePath: "../data/shared/v1alpha4/metadata.yaml"
- name: v1.0.1 # 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.0.1/core-components.yaml"
- name: v1.1.0 # 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.1.0/core-components.yaml"
type: "url"
contract: v1beta1
replacements:
- old: --metrics-addr=127.0.0.1:8080
new: --metrics-addr=:8080
files:
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
- name: v1.1.99 # next; use manifest from source files
- name: v1.2.99 # next; use manifest from source files
value: ../../../config/default
replacements:
- old: --metrics-bind-addr=localhost:8080
Expand Down Expand Up @@ -85,16 +85,16 @@ providers:
new: --metrics-addr=:8080
files:
- sourcePath: "../data/shared/v1alpha4/metadata.yaml"
- name: v1.0.1 # 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.0.1/bootstrap-components.yaml"
- name: v1.1.0 # 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.1.0/bootstrap-components.yaml"
type: "url"
contract: v1beta1
replacements:
- old: --metrics-addr=127.0.0.1:8080
new: --metrics-addr=:8080
files:
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
- name: v1.1.99 # next; use manifest from source files
- name: v1.2.99 # next; use manifest from source files
value: ../../../bootstrap/kubeadm/config/default
replacements:
- old: --metrics-bind-addr=localhost:8080
Expand Down Expand Up @@ -123,16 +123,16 @@ providers:
new: --metrics-addr=:8080
files:
- sourcePath: "../data/shared/v1alpha4/metadata.yaml"
- name: v1.0.1 # 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.0.1/control-plane-components.yaml"
- name: v1.1.0 # 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.1.0/control-plane-components.yaml"
type: "url"
contract: v1beta1
replacements:
- old: --metrics-addr=127.0.0.1:8080
new: --metrics-addr=:8080
files:
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
- name: v1.1.99 # next; use manifest from source files
- name: v1.2.99 # next; use manifest from source files
value: ../../../controlplane/kubeadm/config/default
replacements:
- old: --metrics-bind-addr=localhost:8080
Expand Down Expand Up @@ -163,8 +163,8 @@ providers:
files:
- sourcePath: "../data/shared/v1alpha4/metadata.yaml"
- sourcePath: "../data/infrastructure-docker/v1alpha4/cluster-template.yaml"
- name: v1.0.1 # 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.0.1/infrastructure-components-development.yaml"
- name: v1.1.0 # 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.1.0/infrastructure-components-development.yaml"
type: "url"
contract: v1beta1
replacements:
Expand All @@ -173,7 +173,7 @@ providers:
files:
- sourcePath: "../data/shared/v1beta1/metadata.yaml"
- sourcePath: "../data/infrastructure-docker/v1beta1/cluster-template.yaml"
- name: v1.1.99 # next; use manifest from source files
- name: v1.2.99 # next; use manifest from source files
value: ../../../test/infrastructure/docker/config/default
replacements:
- old: --metrics-bind-addr=localhost:8080
Expand Down
3 changes: 3 additions & 0 deletions test/e2e/data/shared/v1beta1/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
apiVersion: clusterctl.cluster.x-k8s.io/v1alpha3
kind: Metadata
releaseSeries:
- major: 1
minor: 2
contract: v1beta1
- major: 1
minor: 1
contract: v1beta1
Expand Down

0 comments on commit 57d76ff

Please sign in to comment.