sourcegraph/cmd/bundled-executor
Noah S-C b9c4e2aae9
Revert "Revert "refactor: upgrade to rules_oci 2.0 (2nd attempt)"" (#64354)
Reverts sourcegraph/sourcegraph#64351

## Test plan

Need to test on main due to main-only CI steps (even with main dry-run)
2024-08-08 09:00:08 +00:00
..
BUILD.bazel Revert "Revert "refactor: upgrade to rules_oci 2.0 (2nd attempt)"" (#64354) 2024-08-08 09:00:08 +00:00
image_test.yaml Move bundled executor out of enterprise/cmd (#55699) 2023-08-10 00:58:59 +02:00
README.md Move bundled executor out of enterprise/cmd (#55699) 2023-08-10 00:58:59 +02:00

Bundled Executor

The bundled executor is a simple executor that runs commands on the container instead of delegating to spawned containers.

The runtime of this executor is shell.

Configuration

Since the bundled executor does not spawn Docker Containers to run Jobs, src cannot be used for Batch Changes. To run Batch Changes, Native Execution must be enabled.

Native Execution

See Documentation on how to enable Native Execution.

Clean Workspace

To ensure a clean workspace, the executor will exit with code 0 once a Job is complete. It depends on the Platform to create a new instance when it exits.

Available Commands

  • batcheshelper
  • xmlstarlet
  • Python 3
  • pip
  • Java 11 (OpenJDK)
  • Maven 3.6.3
  • yq