Merge pull request #1069 from mikeee/validate-tutorials

fix: validate_tutorials
This commit is contained in:
Paul Yuknewicz 2024-07-25 14:13:15 -07:00 committed by GitHub
commit 68dc3d3531
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 19 additions and 6 deletions

View File

@ -33,10 +33,10 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 40 timeout-minutes: 40
env: env:
GOVER: 1.17 GOVER: 1.22
KUBERNETES_VERSION: v1.21.1 KUBERNETES_VERSION: v1.29.4
KIND_VERSION: v0.12.0 KIND_VERSION: v0.23.0
KIND_IMAGE_SHA: sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 KIND_IMAGE_SHA: sha256:3abb816a5b1061fb15c6e9e60856ec40d56b7b52bcea5f5f1350bc6e2320b6f8
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]

View File

@ -272,7 +272,7 @@ To call the service that you set up port forwarding to, from a command prompt ru
<!-- STEP <!-- STEP
name: Curl Test name: Curl Test
expected_stdout_lines: expected_stdout_lines:
- '{"DAPR_HTTP_PORT":"3500","DAPR_GRPC_PORT":"50001"}' - '{"DAPR_HTTP_ENDPOINT":"http://localhost:3500","DAPR_GRPC_ENDPOINT":"http://localhost:50001"}'
tags: tags:
- normal-run - normal-run
--> -->

View File

@ -1,4 +1,6 @@
version: 1 version: 1
common:
resourcesPath: ./resources
apps: apps:
- appDirPath: ./node - appDirPath: ./node
appID: nodeapp appID: nodeapp
@ -7,4 +9,4 @@ apps:
createService: true createService: true
- appDirPath: ./python - appDirPath: ./python
appID: pythonapp appID: pythonapp
containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest

View File

@ -0,0 +1,8 @@
spec:
policies:
retries:
# Global Retry Policy
DefaultRetryPolicy:
policy: constant
duration: 1s
maxRetries: -1

View File

@ -389,6 +389,8 @@ expected_stdout_lines:
- '"total":"54"' - '"total":"54"'
output_match_mode: substring output_match_mode: substring
name: "Curl test" name: "Curl test"
background: false
sleep: 5
--> -->
```bash ```bash
@ -476,6 +478,7 @@ output_match_mode: substring
expected_stderr_lines: expected_stderr_lines:
name: Curl validate name: Curl validate
background: false
--> -->
```bash ```bash