Skip to content

Commit 1ed3766

Browse files
committed
move from 0.3.1 to PR in the CI test
1 parent d6a1684 commit 1ed3766

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -316,16 +316,16 @@ create-cluster: $(KUSTOMIZE) $(ENVSUBST) ## Create a development Kubernetes clus
316316
mkdir ~/.cluster-api
317317
chmod +x $(CLUSTERCTL)
318318
# Create clusterctl.yaml to use local OpenStack provider
319-
mkdir -p ./out/infrastructure-openstack/v0.3.1
319+
mkdir -p ./out/infrastructure-openstack/pr
320320
echo "providers:" > ./out/clusterctl.yaml
321321
echo "- name: openstack" >> ./out/clusterctl.yaml
322-
echo " url: $(PWD)/out/infrastructure-openstack/v0.3.1/infrastructure-components.yaml" >> ./out/clusterctl.yaml
322+
echo " url: $(PWD)/out/infrastructure-openstack/pr/infrastructure-components.yaml" >> ./out/clusterctl.yaml
323323
echo " type: InfrastructureProvider" >> ./out/clusterctl.yaml
324324

325-
echo "releaseSeries:" > ./out/infrastructure-openstack/v0.3.1/metadata.yaml
326-
echo "- major: 0" >> ./out/infrastructure-openstack/v0.3.1/metadata.yaml
327-
echo " minor: 3" >> ./out/infrastructure-openstack/v0.3.1/metadata.yaml
328-
echo " contract: v1alpha3" >> ./out/infrastructure-openstack/v0.3.1/metadata.yaml
325+
echo "releaseSeries:" > ./out/infrastructure-openstack/pr/metadata.yaml
326+
echo "- major: 0" >> ./out/infrastructure-openstack/pr/metadata.yaml
327+
echo " minor: 3" >> ./out/infrastructure-openstack/pr/metadata.yaml
328+
echo " contract: v1alpha3" >> ./out/infrastructure-openstack/pr/metadata.yaml
329329

330330
@if [ -z `kind get clusters | grep clusterapi` ]; then \
331331
kind create cluster --name=clusterapi; \
@@ -340,7 +340,7 @@ create-cluster: $(KUSTOMIZE) $(ENVSUBST) ## Create a development Kubernetes clus
340340

341341
# (Re-)deploy CAPO provider
342342
MANIFEST_IMG=$(CONTROLLER_IMG)-$(ARCH) MANIFEST_TAG=$(TAG) $(MAKE) set-manifest-image
343-
$(KUSTOMIZE) build config > ./out/infrastructure-openstack/v0.3.1/infrastructure-components.yaml
343+
$(KUSTOMIZE) build config > ./out/infrastructure-openstack/pr/infrastructure-components.yaml
344344
$(CLUSTERCTL) delete --infrastructure openstack --include-namespace --namespace capo-system || true
345345
kubectl wait --for=delete ns/capo-system || true
346346
$(CLUSTERCTL) init --config ./out/clusterctl.yaml --infrastructure openstack --core cluster-api:v${CAPI_VERSION} --bootstrap kubeadm:v${CAPI_VERSION} --control-plane kubeadm:v${CAPI_VERSION}

0 commit comments

Comments
 (0)