Skip to content

Commit 68dc3d3

Browse files
authored
Merge pull request #1069 from mikeee/validate-tutorials
fix: validate_tutorials
2 parents fbd8716 + 4d9be49 commit 68dc3d3

File tree

5 files changed

+19
-6
lines changed

5 files changed

+19
-6
lines changed

.github/workflows/validate.yaml renamed to .github/workflows/validate_tutorials.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
runs-on: ${{ matrix.os }}
3434
timeout-minutes: 40
3535
env:
36-
GOVER: 1.17
37-
KUBERNETES_VERSION: v1.21.1
38-
KIND_VERSION: v0.12.0
39-
KIND_IMAGE_SHA: sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6
36+
GOVER: 1.22
37+
KUBERNETES_VERSION: v1.29.4
38+
KIND_VERSION: v0.23.0
39+
KIND_IMAGE_SHA: sha256:3abb816a5b1061fb15c6e9e60856ec40d56b7b52bcea5f5f1350bc6e2320b6f8
4040
strategy:
4141
matrix:
4242
os: [ubuntu-latest]

tutorials/hello-kubernetes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ To call the service that you set up port forwarding to, from a command prompt ru
272272
<!-- STEP
273273
name: Curl Test
274274
expected_stdout_lines:
275-
- '{"DAPR_HTTP_PORT":"3500","DAPR_GRPC_PORT":"50001"}'
275+
- '{"DAPR_HTTP_ENDPOINT":"http://localhost:3500","DAPR_GRPC_ENDPOINT":"http://localhost:50001"}'
276276
tags:
277277
- normal-run
278278
-->
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
version: 1
2+
common:
3+
resourcesPath: ./resources
24
apps:
35
- appDirPath: ./node
46
appID: nodeapp
@@ -7,4 +9,4 @@ apps:
79
createService: true
810
- appDirPath: ./python
911
appID: pythonapp
10-
containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest
12+
containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
spec:
2+
policies:
3+
retries:
4+
# Global Retry Policy
5+
DefaultRetryPolicy:
6+
policy: constant
7+
duration: 1s
8+
maxRetries: -1

tutorials/observability/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,8 @@ expected_stdout_lines:
389389
- '"total":"54"'
390390
output_match_mode: substring
391391
name: "Curl test"
392+
background: false
393+
sleep: 5
392394
-->
393395

394396
```bash
@@ -476,6 +478,7 @@ output_match_mode: substring
476478
expected_stderr_lines:
477479

478480
name: Curl validate
481+
background: false
479482
-->
480483

481484
```bash

0 commit comments

Comments
 (0)