From 4c751f7509e21d84b8301c634fda0a5fb0876f27 Mon Sep 17 00:00:00 2001 From: Michael Lin Date: Wed, 26 Nov 2025 09:59:00 -0800 Subject: [PATCH] chore: add tag pining instruction to TEST.md --- TEST.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/TEST.md b/TEST.md index 03de411f..7a4f1fa8 100644 --- a/TEST.md +++ b/TEST.md @@ -54,6 +54,24 @@ sourcegraph: Make sure you test both enabled and disabled toggles. For example, if you added a new values to conditional render some templates, turn it on and off in the `override.yaml` to make sure they both work. You can also include your `override.yaml` in the `Test plan` during PR review to help others understand your testing strategy. +### Update the image tag + +You have two options to target specificy Sourcegraph version. Add the below to your `override.yaml`: + +```yaml +sourcegraph: + image: + defaultTag: "6.10.0" + useGlobalTagAsDefault: true +``` + +Alternatively, you can use `sg` to update the image tags directly in the default `values.yaml`, **DO NOT COMMIT** the changes: + +```sh +cd charts/sourcegraph +sg ops update-images -kind helm -pin-tag 6.10.0 -cr-username=$DOCKER_HUB_USERNAME -cr-password=$DOCKER_HUB_PERSONAL_ACCESS_TOKEN . +``` + ### Inspect the entire rendered template It's a good idea to inspect the rendered manifest to catch things that look off.