Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 50 additions & 9 deletions hack/allocate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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
Expand All @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion hack/install-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/pipelines/tekton/gitlab_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading