Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix go jobs #1076

Closed
wants to merge 5 commits into from
Closed
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
13 changes: 8 additions & 5 deletions jobs/go/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,19 @@ This section shows how to run both applications at once using [multi-app run tem
Open a new terminal window and run the multi app run template:

<!-- STEP
name: Run multi app run template (disabled)
name: Run multi app run template
expected_stdout_lines:
- '== APP - job-service == Starting droid: R2-D2'
- '== APP - job-service == Executing maintenance job: Oil Change'
- '== APP - job-service == Starting droid: C-3PO'
- '== APP - job-service == Executing maintenance job: Memory Wipe'
expected_stderr_lines:
output_match_mode: substring
match_order: none
background: true
sleep: 15
timeout_seconds: 30
sleep: 120
timeout_seconds: 180
-->
<!-- END_STEP -->

```bash
dapr run -f .
Expand Down Expand Up @@ -81,7 +84,7 @@ After 10 seconds, the terminal output should present the `C3-PO` job being proce
dapr stop -f .
```


<!-- END_STEP -->

## Run the Jobs APIs individually

Expand Down
6 changes: 5 additions & 1 deletion jobs/go/sdk/dapr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
version: 1
common:
daprdLogDestination: console
logLevel: info
schedulerHostAddress: localhost:50006
apps:
- appDirPath: ./job-service/
appID: job-service
Expand All @@ -9,4 +13,4 @@ apps:
- appDirPath: ./job-scheduler/
appID: job-scheduler
appPort: 6500
command: ["go", "run", "."]
command: ["go", "run", "."]
Loading