sg: add a cody-gateway-bazel commandset (#60957)

* sg: add a cody-gateway-bazel commandset

* fixup
This commit is contained in:
Jean-Hadrien Chabran 2024-03-08 15:43:36 +01:00 committed by GitHub
parent 207b712f0a
commit 5c9c42ed13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -987,6 +987,18 @@ commands:
bazelCommands:
blobstore:
target: //cmd/blobstore
cody-gateway:
target: //cmd/cody-gateway
env:
CODY_GATEWAY_ANTHROPIC_ACCESS_TOKEN: foobar
# Set in override if you want to test local Cody Gateway: https://sourcegraph.com/docs/dev/how-to/cody_gateway
CODY_GATEWAY_DOTCOM_ACCESS_TOKEN: ''
CODY_GATEWAY_DOTCOM_API_URL: https://sourcegraph.test:3443/.api/graphql
CODY_GATEWAY_ALLOW_ANONYMOUS: true
CODY_GATEWAY_DIAGNOSTICS_SECRET: sekret
SRC_LOG_LEVEL: info
# Enables metrics in dev via debugserver
SRC_PROF_HTTP: '127.0.0.1:6098'
docsite:
runTarget: //doc:serve
searcher:
@ -1176,9 +1188,10 @@ commandsets:
- zoekt-web-0
- zoekt-web-1
- blobstore
- cody-gateway
- embeddings
- telemetry-gateway
bazelCommands:
- cody-gateway
env:
SOURCEGRAPHDOTCOM_MODE: true
@ -1547,6 +1560,12 @@ commandsets:
commands:
- cody-gateway
cody-gateway-bazel:
checks:
- redis
bazelCommands:
- cody-gateway
qdrant:
commands:
- qdrant