Files
shuffle-cracked/functions/onprem/worker
2026-05-14 18:26:49 +02:00
..
2023-10-23 00:00:40 +02:00
2026-05-07 17:35:28 +02:00
2026-05-07 17:35:28 +02:00
2026-02-08 18:01:36 +01:00
2023-07-06 17:19:52 +02:00
2021-11-01 15:05:56 +01:00
2026-05-14 18:26:49 +02:00

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"