sourcegraph/cmd/migrator
Joe Chen 909b063702
release: sourcegraph@5.0.6 (#53520)
This pull request is part of the Sourcegraph 5.0.6 release.


* [Release batch
change](https://k8s.sgdev.org/organizations/sourcegraph/batch-changes/release-sourcegraph-5.0.6)
* [Tracking
issue](https://github.com/sourcegraph/sourcegraph/issues/53491)

### Test plan

CI checks in this repository should pass, and a manual review should
confirm if the generated changes are correct.
2023-06-15 00:11:59 +00:00
..
shared migrator: extract non-cli specifics from cli package (#53247) 2023-06-09 18:51:56 +01:00
build-wolfi.sh Apply Wolfi Cloud Instance Fixes (#51263) 2023-05-18 10:48:43 +01:00
BUILD.bazel bzl: make all container_structure_test exclusive (#53502) 2023-06-14 17:17:20 +00:00
build.sh release: sourcegraph@5.0.6 (#53520) 2023-06-15 00:11:59 +00:00
Dockerfile ci: enable bazel builds for docker images (#51241) 2023-04-28 10:41:13 +02:00
Dockerfile.wolfi Build Wolfi images (#47182) 2023-04-24 17:32:36 +00:00
generate.sh ci: remove noise from schema description script (#53308) 2023-06-13 15:03:20 +02:00
image_test.yaml Switch to OCI/Wolfi based image (#52693) 2023-06-02 12:12:52 +02:00
main.go Running binaries with SANITY_CHECK=true immediately exits with a code zero (#52186) 2023-05-19 12:30:11 +00:00
README.md migrator: Run migrations (#28150) 2021-12-08 16:44:55 -06:00
schema_descriptions_test.sh shell: /bin/bash -> /usr/bin/env bash (#53000) 2023-06-06 13:51:55 +01:00

Migrator

The migrator service is deployed ahead of a Sourcegraph version upgrade to synchronously run database migrations required by the next version. Successful exit of the migrator denotes that the new version can be deployed. Database migrations are written to be backwards-compatible so that running the migrator for the next upgrade does not cause issues with a working instance.