Skip to content

Commit 410b3dc

Browse files
author
Tim Middleton
committed
Correct tls test
1 parent 6f25d5e commit 410b3dc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/build-dapr-tls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
shell: bash
7575
run: |
7676
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1
77-
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 PROFILES=,jakarta,-javax COHERENCE_VERSION=$COH_VERSION make certs clean generate-proto generate-proto-v1 build-test-images test-cluster-startup
77+
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 PROFILES=,secure,jakarta,-javax COHERENCE_VERSION=$COH_VERSION make certs clean generate-proto generate-proto-v1 build-test-images test-cluster-startup
7878
make test-dapr
7979
make test-cluster-shutdown
8080

scripts/run-test-dapr.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515

1616
TLS=false
1717

18-
if [ $# -eq 3 && "$3" == "tls" ]; then
18+
if [ $# -eq 3 && "$3" == "true" ]; then
1919
TLS=true
2020
fi
2121

@@ -115,15 +115,18 @@ cd $DAPR_TEST_DIR
115115
cd my-dapr-app
116116
go mod tidy
117117

118+
118119
COMPONENTS=./components/
119120
if [ "$TLS" == "true" ]; then
120121
COMPONENTS=./components-tls/
121122
fi
122123

124+
echo "Running DAPR with component $COMPONENTS"
125+
123126
dapr run --app-id myapp --resources-path $COMPONENTS --log-level debug -- go run main.go
124127

125128
# Verify the caches
126-
cohctl get cache -o wide
129+
cohctl get caches -o wide
127130

128131

129132

0 commit comments

Comments
 (0)