diff options
author | João Cunha <j.a.cunha@gmail.com> | 2019-07-16 16:11:10 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-07-16 16:11:10 +0000 |
commit | bd31c4be0d7cfcb0c2cc887a66c313c592ce8e88 (patch) | |
tree | 562be9be26b3bfdcba69e0ea1400f772a149e96b /app/services/clusters | |
parent | cca71da16ac12d3df787de3f3a0cd60d30649a1d (diff) | |
download | gitlab-ce-bd31c4be0d7cfcb0c2cc887a66c313c592ce8e88.tar.gz |
Enable GitLabb runner to be uninstalled from cluster
- Set as uninstallable app
- Update docs
- Adjust specs
Diffstat (limited to 'app/services/clusters')
-rw-r--r-- | app/services/clusters/applications/check_uninstall_progress_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/clusters/applications/check_uninstall_progress_service.rb b/app/services/clusters/applications/check_uninstall_progress_service.rb index 8786d295d6a..e51d84ef052 100644 --- a/app/services/clusters/applications/check_uninstall_progress_service.rb +++ b/app/services/clusters/applications/check_uninstall_progress_service.rb @@ -23,6 +23,7 @@ module Clusters private def on_success + app.post_uninstall app.destroy! rescue StandardError => e app.make_errored!(_('Application uninstalled but failed to destroy: %{error_message}') % { error_message: e.message }) |