mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:51:43 +00:00
This is a mechanical move to get the executor out of the enterprise/cmd directory. Eventually, this directory should disappear, this is another step towards that. This does not change anything about how it's licensed. ## Test plan CI is still passing, local executor starts up.
37 lines
735 B
YAML
37 lines
735 B
YAML
schemaVersion: "2.0.0"
|
|
|
|
commandTests:
|
|
- name: "binary is runnable"
|
|
command: "/executor"
|
|
envVars:
|
|
- key: "SANITY_CHECK"
|
|
value: "true"
|
|
- name: "docker is runnable"
|
|
command: "docker"
|
|
- name: "git is runnable"
|
|
command: "git"
|
|
args:
|
|
- version
|
|
|
|
- name: "src-cli binary is runnable"
|
|
command: "/usr/local/bin/src"
|
|
args:
|
|
- -v
|
|
- name: "batcheshelper binary is runnable"
|
|
command: "/usr/local/bin/batcheshelper"
|
|
envVars:
|
|
- key: "SANITY_CHECK"
|
|
value: "true"
|
|
|
|
- name: "not running as root"
|
|
command: "/usr/bin/id"
|
|
args:
|
|
- -u
|
|
excludedOutput: ["^0"]
|
|
exitCode: 0
|
|
|
|
metadataTest:
|
|
envVars:
|
|
- key: EXECUTOR_USE_FIRECRACKER
|
|
value: false
|