deploy-sourcegraph
deploy-sourcegraph copied to clipboard
IGNORE ME
NOT TO MERGE ONLY TO SHOW
Full instructions to reproduce:
- Move
base/executorsdirectory out of clone momentarily. Runkubectl apply --prune -l deploy=sourcegraph -f base --recursiveto start a stack without executors at first - Forward a port to the frontend via
kubectl port-forward sourcegraph-frontend-{one of your frontend pods} :3080 - Visit
localhost:{the port output from the previous step}in a browser and ensure the instance is healthy before adding executors - Go to site settings and fill out
externalURL(documented asEXECUTOR_FRONTEND_URLhere until the next release), add executor access tokens, and turn on auto-indexing - Add repositories
- Run
kubectl apply -l deploy=sourcegraph -f base/executor/to launch an executor instance, which should connect to the frontend - Infer an auto-index job for a Go repository
- Ensure we have precise intel for HEAD on that repo
cc @malomarrec