src validate

EXPERIMENTAL: Instance validation provides a quick way to check that a Sourcegraph instance functions properly after a fresh install or an update

Options

NameDescription
-contextComma-separated list of key=value pairs to add to the script execution context
-dump-requestsLog GraphQL requests and responses to stdout
-get-curlPrint the curl command for executing this query and exit (WARNING: includes printing your access token!)
-insecure-skip-verifySkip validation of TLS certificates against trusted chains
-secretsPath to a file containing key=value lines. The key value pairs will be added to the script context
-traceLog the trace ID for requests
-user-agent-telemetryInclude the operating system and architecture in the User-Agent sent with requests to Sourcegraph