Repository navigation
docs: Update upgrade docs for supported 7.x and 8.x releases #2106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
enriquegh
wants to merge
5
commits into
main
Choose a base branch
from
enrique/update-upgrade-types
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
3b25958
docs: Rewrite the release schedule and upgrade types
enriquegh 27b6eb4
docs: Remove machine image and k3s install script docs
enriquegh 151fd21
docs: Remove the early versions and automatic upgrade pages
enriquegh c86c140
docs: Drop pre-7.0 guidance from the upgrade and migrator docs
enriquegh 0cf05fa
Add releaseregistry and upgradestore to the cspell allow list
enriquegh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1004,21 +1004,6 @@ When all pods have restarted and show as Running, you can browse to your Sourceg | |
|
|
||
| **Step 2:** | ||
|
|
||
| <Callout type="warning"> | ||
|
|
||
| The Kubernetes Helm deployment type does not support MVU from Sourcegraph | ||
| `v5.9.45` versions and earlier to ANY version `v6.0.x` or later. Admins | ||
| seeking to upgrade to any Sourcegraph version `v6.0.x` or later (including | ||
| `v6.1.x`, `v6.2.x`, etc.) must first upgrade to `v5.10.3940` or | ||
| `v5.11.6271` and then use the standard upgrade procedure to get to their | ||
| target version. This is because migrator in all versions from `v6.0.0` | ||
| onwards will no longer connect to Postgres 12 databases. Additionally, | ||
| starting in [Sourcegraph 7.0.0](https://sourcegraph.com/changelog/releases/7.0), the automatic PostgreSQL 12 to 16 upgrade | ||
| entrypoint script has been removed entirely. For more info see | ||
| our [PostgreSQL upgrade docs](/self-hosted/postgres#requirements). | ||
|
|
||
| </Callout> | ||
|
|
||
| Scale down `deployments` and `statefulSets` that access the database, _this step prevents services from accessing the database while schema migrations are in process._ | ||
| The following services must have their replicas scaled to 0: | ||
|
|
||
|
|
@@ -1068,16 +1053,15 @@ $ helm upgrade --install -n <your namespace> --set "migrator.args={upgrade,--fro | |
| **Example:** | ||
|
|
||
| ```sh | ||
| $ helm upgrade --install -n sourcegraph --set "migrator.args={upgrade,--from=3.41.0,--to=4.5.1}" sourcegraph-migrator sourcegraph/sourcegraph-migrator --version {CURRENT_VERSION_NO_V} | ||
| $ helm upgrade --install -n sourcegraph --set "migrator.args={upgrade,--from=7.5.0,--to=8.1.0}" sourcegraph-migrator sourcegraph/sourcegraph-migrator --version {CURRENT_VERSION_NO_V} | ||
| Release "sourcegraph-migrator" has been upgraded. Happy Helming! | ||
| NAME: sourcegraph-migrator | ||
| LAST DEPLOYED: Tue Mar 7 18:23:56 2023 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: worth changing the year :p |
||
| NAMESPACE: sourcegraph | ||
| STATUS: deployed | ||
| REVISION: 2 | ||
| TEST SUITE: None | ||
| ✅ Out of band migrations complete | ||
| 👉 Migrating to v4.5 (step 3 of 3) | ||
| 👉 Migrating to v8.1 (step 1 of 1) | ||
| 👉 Running schema migrations | ||
| ✅ Schema migrations complete | ||
| ``` | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@enriquegh this information is needed somewhere, not all customers are on v6+ yet, hopefully this isn't the last place we're deleting this info from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This notice should still be in pre 8.0 versions of the docs. Those (example) would still show this. The alternative would be to leave it or put in some consolidated place and hope we remember once all customers are in 7.0+