forked from sourcegraph/sourcegraph-public-snapshot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sg.doctor.yaml
47 lines (47 loc) · 1.25 KB
/
sg.doctor.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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