|
|
1 ヶ月 前 | |
|---|---|---|
| .. | ||
| Dockerfile | 1 ヶ月 前 | |
| README.md | 1 ヶ月 前 | |
| build.sh | 1 ヶ月 前 | |
| go.mod | 1 ヶ月 前 | |
| go.sum | 1 ヶ月 前 | |
| run | 1 ヶ月 前 | |
| run.sh | 1 ヶ月 前 | |
| worker.go | 1 ヶ月 前 | |
A worker implementation in Golang. This runs ALL Shuffle workflows onprem. In general receives jobs from Orborus.
go run worker.go standalone <executionid> <authorization> <optional:url>
The ideal way to test the Worker is with a single workflow execution, standalone. Here are some environment variables you can use:
# Control what to run
export ENVIRONMENT_NAME=""
export SHUFFLE_CLOUDRUN_URL="https://shuffler.io"
export AUTHORIZATION=""
export EXECUTIONID=""
# Control debugging and shutdown mechanisms
export DEBUG="true"
export SHUFFLE_WORKER_SHUTDOWN_DISABLED="true"