-
- Downloads
Allow promotion task to alter Geo node configuration
This is a proof-of-concept that adds a separate configuration for the GitLab cluster with the more "high-level settings" for a Geo setup and allows the Geo promotion task to alter these settings.
Showing
- changelogs/unreleased/5384-poc-allow-promotion-task-to-alter-geo-node-configuration.yml 5 additions, 0 deletions...-allow-promotion-task-to-alter-geo-node-configuration.yml
- files/gitlab-cookbooks/package/libraries/helpers/gitlab_cluster_helper.rb 58 additions, 0 deletions...kbooks/package/libraries/helpers/gitlab_cluster_helper.rb
- files/gitlab-cookbooks/package/libraries/helpers/settings_helper.rb 8 additions, 0 deletions...ab-cookbooks/package/libraries/helpers/settings_helper.rb
- files/gitlab-ctl-commands-ee/lib/geo/promote_to_primary_node.rb 15 additions, 5 deletions...gitlab-ctl-commands-ee/lib/geo/promote_to_primary_node.rb
- files/gitlab-ctl-commands-ee/promote_to_primary_node.rb 1 addition, 0 deletionsfiles/gitlab-ctl-commands-ee/promote_to_primary_node.rb
- spec/gitlab-ctl-commands-ee/lib/geo/promote_to_primary_node_spec.rb 102 additions, 4 deletions...b-ctl-commands-ee/lib/geo/promote_to_primary_node_spec.rb
- spec/libraries/helpers/gitlab_cluster_helper_spec.rb 139 additions, 0 deletionsspec/libraries/helpers/gitlab_cluster_helper_spec.rb
- spec/support/shared_examples/ctl_shared_context.rb 8 additions, 0 deletionsspec/support/shared_examples/ctl_shared_context.rb
Please register or sign in to comment