Something went wrong while fetching comments. Please try again.
Created by: CristinaBirkel
Closes https://github.com/sourcegraph/sourcegraph/issues/32085
This PR does a few things, all in service of being able to test the Code Insights GraphQL API as a part of the backend integration tests.
codeinsights-db
to the sourcegraph/server
single docker deployment.ALLOW_SINGLE_DOCKER_CODE_INSIGHTS
, which enables code insights in a single docker deployment when set to TRUE
. This gets set when running backend integration tests in CI, but will be disabled by default.It's all a test! :)
I did pull down and run the image locally though, for example:
docker run -e ALLOW_SINGLE_DOCKER_CODE_INSIGHTS=true --publish 7080:7080 --rm us.gcr.io/sourcegraph-dev/server:d5e9e62bdec49fb74ecb6c8851902d0008e31833_140630_candidate
And verified that it worked as expected. I could create insights and run the tests.