sourcegraph/dev/sg/sg.doctor.yaml
2024-03-08 20:00:04 +02:00

48 lines
1.3 KiB
YAML

diagnostics:
general:
- name: show current env
cmd: env
- name: show current path
cmd: pwd
- name: show current branch
cmd: git rev-parse --abbrev-ref HEAD
- name: show current commit
cmd: git rev-parse HEAD
- name: show os kernel
cmd: uname -a
disk:
- name: disk usage of ~/.sourcegraph/
cmd: du -sh ~/.sourcegraph/
- name: disk usage of client/web/dist
cmd: du -sh client/web/dist
- name: repos in ~/.sourcegraph/
cmd: |
find ~/.sourcegraph/repos -type d -maxdepth 2 -type d
find ~/.sourcegraph/repos_1 -type d -maxdepth 2 -type d
find ~/.sourcegraph/repos_2 -type d -maxdepth 2 -type d
bazel:
- name: architecture
cmd: file -L $(which bazel)
- name: where is bazel
cmd: which bazel
- name: bazel info
cmd: bazel info
go:
- name: architecture
cmd: file -L $(which go)
- name: where is go
cmd: which go
- name: version of go
cmd: go version
node:
- name: architecture
cmd: file -L $(which node)
- name: where is node
cmd: which node
- name: version of node
cmd: node --version
- name: version of pnpm
cmd: pnpm --version
- name: where is pnpm
cmd: which pnpm