Skip to content

Include the skeleton worker as a default OSS command

Warren Gifford requested to merge flying-robot/build-worker-binary into main

Created by: flying-robot

When I tried to boot either the OSS or enterprise builds, I encountered the following error and the frontend would not start:

$ ./dev/start.sh
08:16:01 worker | /bin/sh: worker: command not found
08:16:01 worker | Terminating worker
...

$ file ./bin/worker
.bin/worker: cannot open `.bin/worker' (No such file or directory)

Adding the worker into the all_oss_commands allowed the binary to be built, and spinup proceeded as normal:

$ ./dev/start.sh
-- Starting all binaries...
08:39:15 postgres_exporter | Building pg_exporter docker image
...

$ file ./bin/worker
worker: Mach-O 64-bit executable x86_64

[0] https://github.com/sourcegraph/sourcegraph/pull/21768

Merge request reports

Loading