Allow invocation of pg_isready
- Start the process of improving our PostgreSQL readiness check by adding a service_state method that returns the exit code of pg_isready Related https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/4160 Signed-off-by:Robert Marshall <rmarshall@gitlab.com>
Showing
- changelogs/unreleased/4160-better-wait-for-postgres-routine.yml 5 additions, 0 deletions...logs/unreleased/4160-better-wait-for-postgres-routine.yml
- files/gitlab-cookbooks/gitlab-ee/recipes/pgbouncer_user.rb 2 additions, 2 deletionsfiles/gitlab-cookbooks/gitlab-ee/recipes/pgbouncer_user.rb
- files/gitlab-cookbooks/gitlab-ee/resources/postgresql_fdw.rb 1 addition, 1 deletionfiles/gitlab-cookbooks/gitlab-ee/resources/postgresql_fdw.rb
- files/gitlab-cookbooks/gitlab/libraries/helpers/base_pg_helper.rb 18 additions, 0 deletions...tlab-cookbooks/gitlab/libraries/helpers/base_pg_helper.rb
- files/gitlab-cookbooks/gitlab/libraries/helpers/geo_pg_helper.rb 11 additions, 0 deletions...itlab-cookbooks/gitlab/libraries/helpers/geo_pg_helper.rb
- files/gitlab-cookbooks/gitlab/libraries/helpers/pg_helper.rb 11 additions, 0 deletionsfiles/gitlab-cookbooks/gitlab/libraries/helpers/pg_helper.rb
- files/gitlab-cookbooks/gitlab/libraries/helpers/pg_status_helper.rb 70 additions, 0 deletions...ab-cookbooks/gitlab/libraries/helpers/pg_status_helper.rb
- files/gitlab-cookbooks/postgresql/attributes/default.rb 4 additions, 0 deletionsfiles/gitlab-cookbooks/postgresql/attributes/default.rb
- files/gitlab-cookbooks/postgresql/resources/query.rb 2 additions, 2 deletionsfiles/gitlab-cookbooks/postgresql/resources/query.rb
- files/gitlab-cookbooks/postgresql/resources/user.rb 4 additions, 7 deletionsfiles/gitlab-cookbooks/postgresql/resources/user.rb
- spec/chef/postgresql/resources/query_spec.rb 5 additions, 0 deletionsspec/chef/postgresql/resources/query_spec.rb
- spec/chef/postgresql/resources/user_spec.rb 2 additions, 0 deletionsspec/chef/postgresql/resources/user_spec.rb
- spec/chef_helper.rb 1 addition, 1 deletionspec/chef_helper.rb
- spec/libraries/helpers/base_pg_helper_spec.rb 14 additions, 0 deletionsspec/libraries/helpers/base_pg_helper_spec.rb
- spec/libraries/helpers/pg_status_helper_spec.rb 132 additions, 0 deletionsspec/libraries/helpers/pg_status_helper_spec.rb
Loading
Please register or sign in to comment