Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit d2a8049

Browse files
author
Corneil du Plessis
committed
Update snapshot controller.
1 parent 420a498 commit d2a8049

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

.github/workflows/build-snapshot-controller.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
"workflow_dispatch": {
3030
"owner": "spring-cloud",
3131
"repo": "spring-cloud-dataflow-build",
32-
"ref": "main",
32+
"ref": "2.10.x",
3333
"workflow": "build-snapshot-worker.yml"
3434
}
3535
},
@@ -39,7 +39,7 @@ jobs:
3939
"workflow_dispatch": {
4040
"owner": "spring-cloud",
4141
"repo": "spring-cloud-dataflow-common",
42-
"ref": "main",
42+
"ref": "2.10.x",
4343
"workflow": "build-snapshot-worker.yml"
4444
}
4545
},
@@ -49,7 +49,7 @@ jobs:
4949
"workflow_dispatch": {
5050
"owner": "spring-cloud",
5151
"repo": "spring-cloud-deployer",
52-
"ref": "main",
52+
"ref": "2.8.x",
5353
"workflow": "build-snapshot-worker.yml"
5454
}
5555
},
@@ -59,7 +59,7 @@ jobs:
5959
"workflow_dispatch": {
6060
"owner": "spring-cloud",
6161
"repo": "spring-cloud-deployer-local",
62-
"ref": "main",
62+
"ref": "2.8.x",
6363
"workflow": "build-snapshot-worker.yml"
6464
}
6565
},
@@ -69,7 +69,7 @@ jobs:
6969
"workflow_dispatch": {
7070
"owner": "spring-cloud",
7171
"repo": "spring-cloud-deployer-cloudfoundry",
72-
"ref": "main",
72+
"ref": "2.8.x",
7373
"workflow": "build-snapshot-worker.yml"
7474
}
7575
},
@@ -79,7 +79,7 @@ jobs:
7979
"workflow_dispatch": {
8080
"owner": "spring-cloud",
8181
"repo": "spring-cloud-deployer-kubernetes",
82-
"ref": "main",
82+
"ref": "2.8.x",
8383
"workflow": "build-snapshot-worker.yml"
8484
}
8585
},
@@ -119,7 +119,7 @@ jobs:
119119
"workflow_dispatch": {
120120
"owner": "spring-cloud",
121121
"repo": "spring-cloud-dataflow",
122-
"ref": "main",
122+
"ref": "2.10.x",
123123
"workflow": "build-snapshot-worker.yml"
124124
}
125125
},
@@ -129,7 +129,7 @@ jobs:
129129
"workflow_dispatch": {
130130
"owner": "spring-cloud",
131131
"repo": "spring-cloud-dataflow",
132-
"ref": "main",
132+
"ref": "2.10.x",
133133
"workflow": "carvel-worker.yml"
134134
}
135135
},

src/local/k8s/configure-k8s.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ set -e
1515
if [ "$K8S_DRIVER" = "" ]; then
1616
K8S_DRIVER=kind
1717
fi
18-
K8S_VERSION=1.24.10
18+
if [ "$1" != "" ]; then
19+
export K8S_VERSION="$1"
20+
else
21+
export K8S_VERSION="1.24.12"
22+
fi
1923
case "$K8S_DRIVER" in
2024
"kind")
21-
echo "Creating kind cluster"
25+
echo "Creating kind cluster: $K8S_VERSION"
2226
kind create cluster --image "kindest/node:v$K8S_VERSION"
2327
;;
2428
"gke")
@@ -38,7 +42,7 @@ case "$K8S_DRIVER" in
3842
fi
3943
;;
4044
*)
41-
echo "Creating Minikube cluster with $K8S_DRIVER and k8s=$K8S_K8S_VERSION"
45+
echo "Creating Minikube cluster with $K8S_DRIVER and k8s=$K8S_VERSION"
4246
# K8S_DRIVER=kvm2, docker, vmware, virtualbox, podman, vmwarefusion or hyperkit
4347
minikube start --cpus=8 --memory=16g "--driver=$K8S_DRIVER" "--kubernetes-version=$K8S_VERSION"
4448
echo -e "Please run ${bold}'minikube tunnel'${end} in a separate shell to ensure a LoadBalancer is active."

0 commit comments

Comments
 (0)