Add env variable to embeddings cmd in sg.config.yaml (#49973)

This commit is contained in:
Petri-Johan Last 2023-03-24 19:11:38 +02:00 committed by GitHub
parent 0bb3af7f24
commit aa7372e181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -372,7 +372,9 @@ commands:
- enterprise/internal/rockskip
embeddings:
cmd: .bin/embeddings
cmd: |
export SOURCEGRAPH_LICENSE_GENERATION_KEY=$(cat ../dev-private/enterprise/dev/test-license-generation-key.pem)
.bin/embeddings
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='all=-N -l'