Merge branch '2024-schema-checks' into 'master'
Update schema checks to be aware of all migrations Update the schema checks of the `wait-for-deps` pattern to be aware of all migrations, by directly comparing the entries in the appropriate directories in the application to the table within the database. This replaces the previous implementation that looked at the latest dated migration in the codebase versus the database. That check was naive, and fast, but problematic for several reasons. This should address multiple factors: - support concerns of migrations being milestone ordered - migrations dated in the past - failed intermediate migrations, from previous upgrades Changelog: fixed Closes #2024 See merge request https://gitlab.com/gitlab-org/build/CNG/-/merge_requests/1859 Merged-by:Jason Plum <jplum@gitlab.com> Approved-by:
Krasimir Angelov <kangelov@gitlab.com> Approved-by:
João Alexandre Cunha <j.a.cunha@gmail.com> Approved-by:
Jason Plum <jplum@gitlab.com> Reviewed-by:
Jason Plum <jplum@gitlab.com> Reviewed-by:
João Alexandre Cunha <j.a.cunha@gmail.com> Reviewed-by:
Krasimir Angelov <kangelov@gitlab.com> Co-authored-by:
Jon Jenkins <jjenkins@gitlab.com>
Please register or sign in to comment