Skip to content

Conversation

DaedalusG
Copy link
Contributor

@DaedalusG DaedalusG commented Mar 3, 2023

Description

This PR fixes a bug introduced into the helm charts as a result of changes in sourcegraph/sourcegraph, TL;DR CACHE_DIR was renamed to SYMBOLS_CACHE_DIR. This causes some symbols searches to fail to resolve --

Screenshot 2023-03-02 at 11 38 50 PM

Temporary Fix till this is merged

You can add the following to your override.yaml:

 env: - name: CACHE_DIR value: null - name: SYMBOLS_CACHE_DIR value: /mnt/cache/$(POD_NAME)

and apply the changes to your cluster with --

helm -n sourcegraph upgrade --install -f override.yaml --version 4.5.1 sourcegraph sourcegraph/sourcegraph 

Checklist

Test plan

@DaedalusG DaedalusG requested review from michaellzc and scjohns March 3, 2023 08:49
Copy link
Contributor

@scjohns scjohns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@DaedalusG DaedalusG marked this pull request as ready for review March 3, 2023 17:06
@DaedalusG DaedalusG merged commit f69e8ef into main Mar 3, 2023
@DaedalusG DaedalusG deleted the wg/change-CACHE_DIR-to-SYMBOLS_CACHE_DIR branch March 3, 2023 17:06
DaedalusG added a commit to sourcegraph/sourcegraph-public-snapshot that referenced this pull request Mar 3, 2023
Depends on sourcegraph/deploy-sourcegraph-helm#258 _^^ Don't merge till this is validated!_ ## Test plan `sg run docsite` <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants