No Description

tum 9de2549954 first commit 1 month ago
..
Dockerfile 9de2549954 first commit 1 month ago
README.md 9de2549954 first commit 1 month ago
build.sh 9de2549954 first commit 1 month ago
go.mod 9de2549954 first commit 1 month ago
go.sum 9de2549954 first commit 1 month ago
run 9de2549954 first commit 1 month ago
run.sh 9de2549954 first commit 1 month ago
worker.go 9de2549954 first commit 1 month ago

README.md

Worker

A worker implementation in Golang. This runs ALL Shuffle workflows onprem. In general receives jobs from Orborus.

Standalone run (testing)

go run worker.go standalone <executionid> <authorization> <optional:url>

Development

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"