sourcegraph/cmd/executor/image_test.yaml
Erik Seliger 4608be4136
Move executor to cmd/executor (#55700)
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.
2023-08-10 02:06:12 +02:00

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