Нема описа

tum 9de2549954 first commit пре 1 месец
..
Dockerfile 9de2549954 first commit пре 1 месец
README.md 9de2549954 first commit пре 1 месец
build.sh 9de2549954 first commit пре 1 месец
go.mod 9de2549954 first commit пре 1 месец
go.sum 9de2549954 first commit пре 1 месец
run 9de2549954 first commit пре 1 месец
run.sh 9de2549954 first commit пре 1 месец
worker.go 9de2549954 first commit пре 1 месец

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"