-
- Downloads
Add `gitlab-ctl promotion-preflight-checks` command
It will run preflight checks for promoting to a primary node. `promote-to-primary-node` command can include or optionally skip these checks.
Showing
- changelogs/unreleased/ag-create-preflight-command.yml 5 additions, 0 deletionschangelogs/unreleased/ag-create-preflight-command.yml
- files/gitlab-ctl-commands-ee/lib/geo/promote_to_primary_node.rb 1 addition, 20 deletions...gitlab-ctl-commands-ee/lib/geo/promote_to_primary_node.rb
- files/gitlab-ctl-commands-ee/lib/geo/promotion_preflight_checks.rb 38 additions, 0 deletions...lab-ctl-commands-ee/lib/geo/promotion_preflight_checks.rb
- files/gitlab-ctl-commands-ee/promotion_preflight_checks.rb 5 additions, 0 deletionsfiles/gitlab-ctl-commands-ee/promotion_preflight_checks.rb
- spec/gitlab-ctl-commands-ee/lib/geo/promote_to_primary_node_spec.rb 15 additions, 36 deletions...b-ctl-commands-ee/lib/geo/promote_to_primary_node_spec.rb
- spec/gitlab-ctl-commands-ee/lib/geo/promotion_preflight_checks_spec.rb 41 additions, 0 deletions...tl-commands-ee/lib/geo/promotion_preflight_checks_spec.rb
- spec/gitlab-ctl-commands-ee/promote_to_primary_node_spec.rb 5 additions, 30 deletionsspec/gitlab-ctl-commands-ee/promote_to_primary_node_spec.rb
- spec/gitlab-ctl-commands-ee/promotion_preflight_checks_spec.rb 9 additions, 0 deletions...gitlab-ctl-commands-ee/promotion_preflight_checks_spec.rb
- spec/spec_helper.rb 4 additions, 1 deletionspec/spec_helper.rb
- spec/support/shared_examples/gitlab_geo_commands_shared_examples.rb 34 additions, 0 deletions...rt/shared_examples/gitlab_geo_commands_shared_examples.rb
Please register or sign in to comment