Skip to content

Fixup wait-for-deps postgresql checks

Jason Plum requested to merge fixup-wait-for-deps-return into master

What does this MR do?

Fixup lib/checks/postgresql.rb to return 0 when the database is good, but not table exists yet. This aligns to how migration_context.current_version silently would return when there was no database state.

Related issues

gitlab-org/gitlab#361833 (closed)

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated

Merge request reports