Skip to content

Commit

Permalink
fix: fix mechanical markdown steps
Browse files Browse the repository at this point in the history
Signed-off-by: mikeee <[email protected]>
  • Loading branch information
mikeee committed Jul 26, 2024
1 parent 8a13e63 commit 6e89fad
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 9 deletions.
11 changes: 9 additions & 2 deletions jobs/go/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
background: true
background: false
sleep: 60
timeout_seconds: 120
-->
Expand Down Expand Up @@ -61,8 +61,15 @@ After 30 seconds, the terminal output should present the `C-3PO` job being proce
== APP - job-service == Executing maintenance job: Limb Calibration
```

<!-- END_STEP -->

2. Stop and clean up application processes

<!-- STEP
name: Stop multi-app run
sleep: 5
-->

```bash
dapr stop -f .
```
Expand Down Expand Up @@ -149,4 +156,4 @@ Back at the `job-service` app terminal window, the output should be:

```text
ERRO[0249] Error getting job c-3po due to: rpc error: code = Unknown desc = job not found: app||default||job-service||c-3po instance=diagrid.local scope=dapr.api type=log ver=1.14.0-rc.2
```
```
8 changes: 7 additions & 1 deletion jobs/go/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Open a new terminal window and run the multi app run template:
expected_stderr_lines:
output_match_mode: substring
match_order: none
background: true
background: false
sleep: 120
timeout_seconds: 180
-->
Expand Down Expand Up @@ -78,7 +78,13 @@ After 10 seconds, the terminal output should present the `C3-PO` job being proce
== APP - job-service == Executing maintenance job: Memory Wipe
```

<!-- END_STEP -->

2. Stop and clean up application processes
<!-- STEP
name: Stop multi-app run
sleep: 5
-->

```bash
dapr stop -f .
Expand Down
8 changes: 7 additions & 1 deletion pub_sub/go/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
background: true
background: false
sleep: 30
timeout_seconds: 60
-->
Expand Down Expand Up @@ -59,9 +59,15 @@ The terminal console output should look similar to this:
== APP - checkout-http == Published data: {"orderId":10}
== APP - order-processor-http == Subscriber received: {"orderId":10}
```
<!-- END_STEP -->

2. Stop and clean up application processes

<!-- STEP
name: Stop multi-app run
sleep: 5
-->

```bash
dapr stop -f .
```
Expand Down
8 changes: 7 additions & 1 deletion pub_sub/go/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
background: true
background: false
sleep: 30
timeout_seconds: 60
-->
Expand Down Expand Up @@ -59,8 +59,14 @@ The terminal console output should look similar to this:
== APP - checkout-sdk == Published data: {"orderId":10}
== APP - order-processor == Subscriber received: map[orderId:10]
```
<!-- END_STEP -->

2. Stop and clean up application processes
<!-- STEP
name: Stop multi-app run
sleep: 5
-->


```bash
dapr stop -f .
Expand Down
8 changes: 7 additions & 1 deletion service_invocation/go/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
background: true
background: false
sleep: 30
timeout_seconds: 60
-->
Expand Down Expand Up @@ -56,9 +56,15 @@ The terminal console output should look similar to this:
== APP - checkout-http == Published data: {"orderId":10}
== APP - order-processor == Subscriber received: {"orderId":10}
```
<!-- END_STEP -->

3. Stop and clean up application processes

<!-- STEP
name: Stop multi-app run
sleep: 5
-->

```bash
dapr stop -f .
```
Expand Down
8 changes: 7 additions & 1 deletion state_management/go/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,21 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
background: true
background: false
sleep: 15
-->

```bash
dapr run -f .
```

<!-- END_STEP -->

2. Stop and cleanup application process
<!-- STEP
name: Stop multi-app run
sleep: 5
-->

```bash
dapr stop -f .
Expand Down
9 changes: 8 additions & 1 deletion state_management/go/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,23 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
background: true
background: false
sleep: 15
-->

```bash
dapr run -f .
```

<!-- END_STEP -->

2. Stop and cleanup application process

<!-- STEP
name: Stop multi-app run
sleep: 5
-->

```bash
dapr stop -f .
```
Expand Down
9 changes: 8 additions & 1 deletion workflows/go/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ expected_stdout_lines:
- "There are now 90 cars left in stock"
- "Workflow completed - result: COMPLETED"
output_match_mode: substring
background: true
background: false
timeout_seconds: 120
sleep: 30
-->
Expand Down Expand Up @@ -70,10 +70,17 @@ dapr run -f .
4. Stop Dapr workflow with CTRL-C or:
<!-- END_STEP -->

<!-- STEP
name: Stop multi-app run
sleep: 5
-->

```sh
dapr stop -f .
```

<!-- END_STEP -->



### View workflow output with Zipkin
Expand Down

0 comments on commit 6e89fad

Please sign in to comment.