Skip to content

Commit 7aaf561

Browse files
authored
Merge pull request #110 from vexxhost/fix/ci_pipeline
ci: bump CAPI and CAPO
2 parents 04c6da9 + 7d684b9 commit 7aaf561

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,19 @@ jobs:
104104
105105
- name: Install "clusterctl"
106106
run: |
107-
curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.10.4/clusterctl-linux-amd64 -o clusterctl
107+
curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.12.1/clusterctl-linux-amd64 -o clusterctl
108108
sudo install -o root -g root -m 0755 clusterctl /usr/local/bin/clusterctl
109109
clusterctl version
110110
111111
- name: Install Cluster API provider for OpenStack
112-
run: clusterctl init --infrastructure openstack
112+
run: clusterctl init --infrastructure openstack:v0.14.0
113113
env:
114114
CLUSTER_TOPOLOGY: "true"
115115
EXP_CLUSTER_RESOURCE_SET: "true"
116116

117+
- name: Wait for Cluster API provider for OpenStack to initialize
118+
run: kubectl wait --for=condition=available --timeout=120s deployment/capo-controller-manager -n capo-system
119+
117120
- name: Install OpenStack Resource Controller
118121
run: kubectl apply --server-side -f https://github.com/k-orc/openstack-resource-controller/releases/latest/download/install.yaml
119122

@@ -141,7 +144,7 @@ jobs:
141144
export OPENSTACK_EXTERNAL_NETWORK_ID=$(openstack network show public -c ID -f value)
142145
export KUBERNETES_VERSION=${{ matrix.version }}
143146
echo "Using KUBERNETES_VERSION=${KUBERNETES_VERSION}"
144-
clusterctl generate cluster --from https://github.com/kubernetes-sigs/cluster-api-provider-openstack/releases/download/v0.12.4/cluster-template-without-lb.yaml --worker-machine-count 1 test | kubectl apply -f -
147+
clusterctl generate cluster --from https://github.com/kubernetes-sigs/cluster-api-provider-openstack/releases/download/v0.14.0/cluster-template-without-lb.yaml --worker-machine-count 1 test | kubectl apply -f -
145148
env:
146149
OS_CLOUD: "devstack"
147150
OPENSTACK_CLOUD_CACERT_B64: ""

renovate.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,27 @@
5555
"depNameTemplate": "kubernetes/kubernetes",
5656
"datasourceTemplate": "github-releases",
5757
"extractVersionTemplate": "^v(?<version>.*)$"
58+
},
59+
{
60+
"customType": "regex",
61+
"fileMatch": ["^\\.github/workflows/ci\\.yaml$"],
62+
"matchStrings": [
63+
"kubernetes-sigs/cluster-api/releases/download/v(?<currentValue>[0-9.]+)/clusterctl"
64+
],
65+
"depNameTemplate": "kubernetes-sigs/cluster-api",
66+
"datasourceTemplate": "github-releases",
67+
"extractVersionTemplate": "^v(?<version>.*)$"
68+
},
69+
{
70+
"customType": "regex",
71+
"fileMatch": ["^\\.github/workflows/ci\\.yaml$"],
72+
"matchStrings": [
73+
"--infrastructure openstack:v(?<currentValue>[0-9.]+)",
74+
"cluster-api-provider-openstack/releases/download/v(?<currentValue>[0-9.]+)/"
75+
],
76+
"depNameTemplate": "kubernetes-sigs/cluster-api-provider-openstack",
77+
"datasourceTemplate": "github-releases",
78+
"extractVersionTemplate": "^v(?<version>.*)$"
5879
}
5980
]
6081
}

0 commit comments

Comments
 (0)