From a786f2ed0eba29ab1abb21669328769a0e42633d Mon Sep 17 00:00:00 2001 From: Luke Kingland Date: Tue, 30 Sep 2025 15:01:53 +0900 Subject: [PATCH 1/2] dapr install upgrade --- hack/allocate.sh | 59 ++++++++++++++++++++++++++++++++++------ hack/install-binaries.sh | 2 +- 2 files changed, 51 insertions(+), 10 deletions(-) diff --git a/hack/allocate.sh b/hack/allocate.sh index c2dcae3ac1..bfc4dd40e9 100755 --- a/hack/allocate.sh +++ b/hack/allocate.sh @@ -351,9 +351,54 @@ dapr_runtime() { # to only start a single instance rather than four. # helm repo add bitnami https://charts.bitnami.com/bitnami echo "${blue}- Redis ${reset}" - $HELM repo add bitnami https://charts.bitnami.com/bitnami - $HELM install redis bitnami/redis --set image.tag=6.2 - $HELM repo update + # Deploy Redis using simple manifest with official Redis image + # (Bitnami images have migration issues as of Sept 2025) + $KUBECTL apply -f - << EOF +apiVersion: v1 +kind: Service +metadata: + name: redis-master + namespace: default +spec: + ports: + - port: 6379 + targetPort: 6379 + selector: + app: redis +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: redis-master + namespace: default +spec: + serviceName: redis-master + replicas: 1 + selector: + matchLabels: + app: redis + template: + metadata: + labels: + app: redis + spec: + containers: + - name: redis + image: redis:7-alpine + ports: + - containerPort: 6379 + volumeMounts: + - name: redis-storage + mountPath: /data + volumeClaimTemplates: + - metadata: + name: redis-storage + spec: + accessModes: [ "ReadWriteOnce" ] + resources: + requests: + storage: 1Gi +EOF # 2) Expose a Redis-backed Dapr State Storage component echo "${blue}- State Storage Component${reset}" @@ -370,9 +415,7 @@ spec: - name: redisHost value: redis-master.default.svc.cluster.local:6379 - name: redisPassword - secretKeyRef: - name: redis - key: redis-password + value: "" EOF # 3) Expose A Redis-backed Dapr Pub/Sub Component @@ -390,9 +433,7 @@ spec: - name: redisHost value: redis-master.default.svc.cluster.local:6379 - name: redisPassword - secretKeyRef: - name: redis - key: redis-password + value: "" EOF echo "${green}✅ Dapr Runtime${reset}" diff --git a/hack/install-binaries.sh b/hack/install-binaries.sh index 1395f1c829..dc7f328d58 100755 --- a/hack/install-binaries.sh +++ b/hack/install-binaries.sh @@ -28,7 +28,7 @@ install_binaries() { local kubectl_version=1.33.1 local kind_version=0.29.0 - local dapr_version=1.14.1 + local dapr_version=1.16.0 local helm_version=3.18.0 local stern_version=1.32.0 local kn_version=1.18.0 From 9f364105d03e23ad454a8b62b9b8b94ff7e6ca38 Mon Sep 17 00:00:00 2001 From: David Fridrich Date: Thu, 2 Oct 2025 21:19:18 +0200 Subject: [PATCH 2/2] fix gitlab test Signed-off-by: David Fridrich --- pkg/pipelines/tekton/gitlab_int_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pipelines/tekton/gitlab_int_test.go b/pkg/pipelines/tekton/gitlab_int_test.go index 2f6bd4776b..cf321e59d0 100644 --- a/pkg/pipelines/tekton/gitlab_int_test.go +++ b/pkg/pipelines/tekton/gitlab_int_test.go @@ -503,7 +503,7 @@ func getAPIToken(baseURL, username, password string) (string, error) { } data := struct { - NewToken string `json:"new_token,omitempty"` + NewToken string `json:"token,omitempty"` }{} e := json.NewDecoder(resp.Body) err = e.Decode(&data)