You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Pin Docker image to specific version instead of `latest` ([changelog](https://docs.bytebase.com/changelog))
36
+
37
+
While version tags like `3.7.0` are better than `latest`, Bytebase may still add patches to existing versions. For a truly fixed version, use the SHA256 digest from [Docker Hub](https://hub.docker.com/r/bytebase/bytebase/tags).
38
+
39
+
```bash
40
+
# Pin to exact image using digest (prevents any updates)
Restart Bytebase and verify the metadata is restored properly. Afterwards, you can drop the old database:
104
94
@@ -147,91 +137,3 @@ Take Docker as an example (**follow the below steps exactly**):
147
137
148
138
<TerminalDockerRunVolume />
149
139
150
-
## Version Management
151
-
152
-
Bytebase adopts [Semantic Versioning](https://semver.org/) using the MAJOR.MINOR.PATCH format.
153
-
154
-
Bytebase ties the version number with the underlying database schema progression, because:
155
-
156
-
1. Schema change is a good approximate to the functional change. Large schema changes often indicate large functional changes.
157
-
1. Schema change determines the customer involvement when upgrading to the new version.
158
-
159
-
-`MAJOR` version change usually happens once a year. It _might_ require manual effort from the customer. Bytebase will
160
-
try to avoid that if possible.
161
-
-`MINOR` version is changed when the underlying database schema changes. While the upgrade does not require customer involvement. `MINOR` version change usually happens about once every month.
162
-
-`PATCH` version is changed when the new version does not include underlying database schema changes. `PATCH` version change usually happens bi-weekly following our release schedule.
163
-
164
-
## Docker Image Version
165
-
166
-
Certain changes maybe cherry-picked into the existing version. So when Bytebase starts next time, it will self-upgrade.
167
-
If you don't want this behavior, you could use the image digest to pin the exact commit. For example,
-`org.opencontainers.image.revision` is the git commit hash, in the example, it corresponds to the [particular git commit](https://github.com/bytebase/bytebase/commit/fb430b0626c33d3431e750dc0cc446f3c8a434a8)
192
-
-`org.opencontainers.image.version` is the release version, in the example, it corresponds to the [3.7.0 release branch](https://github.com/bytebase/bytebase/commits/release/3.7.0).
193
-
194
-
If you want to check the commit history for the image, the best way is to visit the release branch page and locate the commit:
0 commit comments