Prepare DB dump for the latest GitLab upgrade stop version
Summary
Prepare DB dump for the latest known GitLab upgrade stop version for multi-version upgrades testing.
Details
-
Explore strategy to prepare PG dumps for the latest known GitLab version - #1920 (comment 1721901861) -
Automate PG dump creation and seeding - gitlab-org/gitlab!137582 (merged) - Build environment, seed with data, export DB dump using
sudo -u gitlab-psql /opt/gitlab/embedded/bin/pg_dump -h /var/opt/gitlab/postgresql -f gitlabhq_production.sql gitlabhq_production
(#1806 (comment 1423917328))
- Build environment, seed with data, export DB dump using
Context
This work part of the Migration testing for multi-version upgrades wi... (&19 - closed), with the goal of adding CI job which would emulate multi-version upgrades in GitLab to catch migration errors at lower level without building an environment.
Edited by Nailia Iskhakova