Skip to content

Commit

Permalink
ci: test with newer capi+capo
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaser committed Sep 22, 2023
1 parent 03d3baf commit 5bd701b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions hack/stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
# License for the specific language governing permissions and limitations
# under the License.

# Versions to test
CAPI_VERSION=${CAPI_VERSION:-v1.5.1}
CAPO_VERSION=${CAPO_VERSION:-v0.8.0}

# Setup folders for DevStack
sudo mkdir -p /opt/stack
sudo chown -R ${USER}. /opt/stack
Expand Down Expand Up @@ -122,16 +126,16 @@ EOF
kubectl label node kind-control-plane openstack-control-plane=enabled

# Install the `clusterctl` CLI
sudo curl -Lo /usr/local/bin/clusterctl https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.4.4/clusterctl-linux-amd64
sudo curl -Lo /usr/local/bin/clusterctl https://github.com/kubernetes-sigs/cluster-api/releases/download/${CAPI_VERSION}/clusterctl-linux-amd64
sudo chmod +x /usr/local/bin/clusterctl

# Initialize the `clusterctl` CLI
export EXP_CLUSTER_RESOURCE_SET=true
export CLUSTER_TOPOLOGY=true
clusterctl init \
--core cluster-api:v1.4.4 \
--bootstrap kubeadm:v1.4.4 \
--control-plane kubeadm:v1.4.4 \
--core cluster-api:${CAPI_VERSION} \
--bootstrap kubeadm:${CAPI_VERSION} \
--control-plane kubeadm:${CAPI_VERSION} \
--infrastructure openstack:v0.7.1

# Vendor the chart
Expand Down

0 comments on commit 5bd701b

Please sign in to comment.