Skip to content

Add `gitlab-ctl promotion-preflight-checks` command

Aakriti Gupta requested to merge ag-create-preflight-command into master

What does this MR do?

This MR introduces a command to run preflight checks before promoting a secondary node to primary.

The same checks will be run by promote-to-primary-node command, unless --skip-preflight-checks is passed.

Documentation MR: gitlab!32570 (merged)

Related issues

gitlab#217461 (closed)

Checklist

See Definition of done.

  • Changelog entry created. Not applicable for Documentation changes and minor changes.
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA, if applicable
  • MR targeting master branch
  • MR has a green pipeline on GitLab.com
  • Equivalent MR/issue for CNG opened if applicable
  • trigger-package has a green pipeline running against latest commit

Reviewer Checklist

In addition to above, reviewer must:

  • Pipeline is green on dev.gitlab.org if the change is not touching documentation or internal cookbooks
Edited by GitLab Release Tools Bot

Merge request reports