Skip to content
Snippets Groups Projects
Commit 1a0d9e21 authored by Valery Sizov's avatar Valery Sizov
Browse files

Success message for `gitlab-ctl promote-to-primary-node` command

parent 1c08e73d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -27,6 +27,7 @@ omnibus-gitlab repository.
- Commands `gitlab-psql` and `gitlab-geo-psql` will use respective GitLab databases by default. #3485
- Make pg-upgrade start the bundled postgresql server if it isn't already running
- Enforce upgrade paths for package upgrades 56a250b1a
- Geo: Success message for `gitlab-ctl promote-to-primary-node` command
 
10.7.3
 
Loading
Loading
@@ -66,7 +67,7 @@ omnibus-gitlab repository.
- Adds go-crond to the package #3251
- Auto-renew LetsEncrypt with go-crond #3251
 
10.6.5
10.6.5
 
- Update Mattermost to 4.7.4
 
Loading
Loading
@@ -143,7 +144,7 @@ omnibus-gitlab repository.
 
10.5.5
 
- Resolve "consul service postgresql_service failing on db host - no access to /opt/gitlab/embedded/node
- Resolve "consul service postgresql_service failing on db host - no access to /opt/gitlab/embedded/node
 
10.5.4
 
Loading
Loading
Loading
Loading
@@ -16,6 +16,8 @@ module Geo
reconfigure
 
promote_to_primary
success_message
end
 
private
Loading
Loading
@@ -60,6 +62,11 @@ module Geo
run_command('gitlab-rake geo:set_secondary_as_primary', live: true)
end
 
def success_message
puts
puts 'You successfully promoted this node!'.color(:green)
end
def run_command(cmd, live: false)
GitlabCtl::Util.run_command(cmd, live: live)
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment