Skip to content

Conversation

@sourcegraph-release-bot
Copy link
Contributor

Description

The migrator job was missing from the release process, causing the image tag to no be updated during releases.

This adds the steps to update the image during the release process.

Checklist

Test plan

Tested actions locally:

sg release create --workdir=. --version=v6.8.2313 --inputs=server=v6.8.2313 --pretend
...
👉 [      step] Pretending to run step "sg ops (migrator)"
   [sg ops (migrator)] set -eu
   [sg ops (migrator)] sg ops update-images \
   [sg ops (migrator)]   --kind k8s \
   [sg ops (migrator)]   --registry us-docker.pkg.dev/sourcegraph-images/internal \
   [sg ops (migrator)]   --docker-username=$DOCKER_USERNAME \
   [sg ops (migrator)]   --docker-password=$DOCKER_PASSWORD \
   [sg ops (migrator)]   --pin-tag 6.8.2313 \
   [sg ops (migrator)]   components/utils/migrator/
   [sg ops (migrator)] 
...


Backport 9e64aa1 from #351

## Description

The migrator job was missing from the release process, causing the image tag to no be updated during releases.

This adds the steps to update the image during the release process.

## Checklist

- [ ] Update [CHANGELOG.md](https://github.com/sourcegraph/deploy-sourcegraph-k8s/blob/main/CHANGELOG.md)
- [ ] Update [K8s Upgrade notes](https://github.com/sourcegraph/sourcegraph/blob/main/doc/admin/updates/kubernetes.md)
- [x] Kustomiz-specific changes
- [ ] Update sister repository: [deploy-sourcegraph-helm](https://github.com/sourcegraph/deploy-sourcegraph-helm)
- [ ] Update sister repository: [deploy-sourcegraph-docker](https://github.com/sourcegraph/deploy-sourcegraph-docker)
- [ ] Verify all images have a valid tag and SHA256 sum

## Test plan

Tested actions locally:

```shell
sg release create --workdir=. --version=v6.8.2313 --inputs=server=v6.8.2313 --pretend
...
👉 [      step] Pretending to run step "sg ops (migrator)"
   [sg ops (migrator)] set -eu
   [sg ops (migrator)] sg ops update-images \
   [sg ops (migrator)]   --kind k8s \
   [sg ops (migrator)]   --registry us-docker.pkg.dev/sourcegraph-images/internal \
   [sg ops (migrator)]   --docker-username=$DOCKER_USERNAME \
   [sg ops (migrator)]   --docker-password=$DOCKER_PASSWORD \
   [sg ops (migrator)]   --pin-tag 6.8.2313 \
   [sg ops (migrator)]   components/utils/migrator/
   [sg ops (migrator)]
...
```

(cherry picked from commit 9e64aa1)
Copy link
Contributor

jdpleiness commented Oct 3, 2025

Merge activity

  • Oct 3, 2:32 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 3, 2:32 PM UTC: @jdpleiness merged this pull request with Graphite.

@jdpleiness jdpleiness merged commit c5896fd into 6.8.x Oct 3, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants